2017-10-17 21:45:34 +08:00
|
|
|
#ifndef MAINWINDOW_H
|
|
|
|
#define MAINWINDOW_H
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
2018-04-23 10:00:09 +08:00
|
|
|
#include "qqtclientprotocol.h"
|
2017-10-17 21:45:34 +08:00
|
|
|
|
2017-11-23 19:12:48 +08:00
|
|
|
namespace Ui {
|
2017-10-17 21:45:34 +08:00
|
|
|
class MainWindow;
|
|
|
|
}
|
|
|
|
|
|
|
|
class MainWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2017-11-23 19:12:48 +08:00
|
|
|
explicit MainWindow ( QWidget* parent = 0 );
|
2017-10-17 21:45:34 +08:00
|
|
|
~MainWindow();
|
|
|
|
|
2018-04-23 10:00:09 +08:00
|
|
|
private slots:
|
|
|
|
void on_pushButton_clicked();
|
|
|
|
void on_recv_say_hello ( QString );
|
|
|
|
|
2017-10-17 21:45:34 +08:00
|
|
|
private:
|
2017-11-10 12:07:58 +08:00
|
|
|
Ui::MainWindow* ui;
|
2018-04-23 10:00:09 +08:00
|
|
|
QQtClientProtocol* p;
|
2017-10-17 21:45:34 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MAINWINDOW_H
|