更新代码
This commit is contained in:
@@ -16,6 +16,9 @@ public:
|
||||
explicit frmUdpServer(QWidget *parent = 0);
|
||||
~frmUdpServer();
|
||||
|
||||
protected:
|
||||
bool eventFilter(QObject *watched, QEvent *event);
|
||||
|
||||
private:
|
||||
Ui::frmUdpServer *ui;
|
||||
|
||||
@@ -30,15 +33,16 @@ private slots:
|
||||
void append(int type, const QString &data, bool clear = false);
|
||||
|
||||
private slots:
|
||||
void error();
|
||||
void readData();
|
||||
void sendData(const QString &ip, int port, const QString &data);
|
||||
void clientConnected(const QString &ip, int port);
|
||||
|
||||
private slots:
|
||||
void on_btnListen_clicked();
|
||||
void on_btnSave_clicked();
|
||||
void on_btnClear_clicked();
|
||||
void on_btnSend_clicked();
|
||||
void on_btnRemove_clicked();
|
||||
};
|
||||
|
||||
#endif // FRMUDPSERVER_H
|
||||
|
||||
Reference in New Issue
Block a user