#ifndef MYSERVER_H #define MYSERVER_H #include #include #include "mythread.h" class MyServer : public QTcpServer { Q_OBJECT public: explicit MyServer(QObject *parent = 0); void StartServer(); signals: public slots: protected: void incomingConnection(qintptr socketDescriptor); }; #endif // MYSERVER_H