#include <QtNetwork/qtcpserver.h> #ifndef QTCPSERVER_H class QTcpServer: public QObject{ /* Some contents are skipped to improve readability */ public: virtual int qt_metacall(enum QMetaObject::Call, int, void* *); /* ... */ }; #endif // QTCPSERVER_H