diff options
Diffstat (limited to 'c++-libbu++/src/gatscon/clientwidget.h')
-rw-r--r-- | c++-libbu++/src/gatscon/clientwidget.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/c++-libbu++/src/gatscon/clientwidget.h b/c++-libbu++/src/gatscon/clientwidget.h new file mode 100644 index 0000000..06c154d --- /dev/null +++ b/c++-libbu++/src/gatscon/clientwidget.h | |||
@@ -0,0 +1,30 @@ | |||
1 | #ifndef CLIENT_WIDGET_H | ||
2 | #define CLIENT_WIDGET_H | ||
3 | |||
4 | #include <QObject> | ||
5 | #include "ui_clientwidget.h" | ||
6 | #include "iobase.h" | ||
7 | |||
8 | namespace Gats | ||
9 | { | ||
10 | class Object; | ||
11 | }; | ||
12 | |||
13 | class ClientWidget : public QWidget, protected Ui::ClientWidget, public IoBase | ||
14 | { | ||
15 | Q_OBJECT; | ||
16 | public: | ||
17 | ClientWidget( QWidget *pParent, const QByteArray &baHost, int iPort ); | ||
18 | virtual ~ClientWidget(); | ||
19 | |||
20 | virtual void saveTo( const QString &sFile ); | ||
21 | |||
22 | public slots: | ||
23 | void send(); | ||
24 | void recv( Gats::Object *pObj ); | ||
25 | |||
26 | private: | ||
27 | class ClientThread *pCli; | ||
28 | }; | ||
29 | |||
30 | #endif | ||