#include <QtNetwork/qtcpserver.h> #ifndef QTCPSERVER_H class QTcpServer: public QObject{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_NETWORKPROXY public: struct QNetworkProxy proxy() const #endif /* ... */ }; #endif // QTCPSERVER_H