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