123456789101112131415161718192021222324 |
- #ifndef MYSERVER_H
- #define MYSERVER_H
- #include <QTcpServer>
- #include <QDebug>
- #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
|