#include <QtNetwork/qtcpsocket.h> #ifndef QTCPSOCKET_H class QTcpSocket: public QAbstractSocket{ /* Some contents are skipped to improve readability */ public: static inline class QString trUtf8(char const * s, char const * c = 0); /* ... */ }; #endif // QTCPSOCKET_H