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