⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 server.h

📁 Android实现远程控制PC源代码
💻 H
字号:
#ifndef SERVER_H
#define SERVER_H

#include <QTextDocument>
#include <QTcpServer>

class MainWindow;

class Server:public QTcpServer
{
    Q_OBJECT
private:
    int port;
    MainWindow *mainWindow;
    QHostAddress hostAddress;
    int clientNum;

public:
    Server(MainWindow *m,int p,QHostAddress a);
    void incomingConnection(int handle);
signals:
    void printText(const char *text);

};

#endif // SERVER_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -