diff options
Diffstat (limited to '')
-rw-r--r-- | c++-libbu++/src/gatscon/clientwidget.h | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/c++-libbu++/src/gatscon/clientwidget.h b/c++-libbu++/src/gatscon/clientwidget.h index 06c154d..b40adf4 100644 --- a/c++-libbu++/src/gatscon/clientwidget.h +++ b/c++-libbu++/src/gatscon/clientwidget.h | |||
@@ -1,3 +1,10 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2007-2012 Xagasoft, All rights reserved. | ||
3 | * | ||
4 | * This file is part of the libgats library and is released under the | ||
5 | * terms of the license contained in the file LICENSE. | ||
6 | */ | ||
7 | |||
1 | #ifndef CLIENT_WIDGET_H | 8 | #ifndef CLIENT_WIDGET_H |
2 | #define CLIENT_WIDGET_H | 9 | #define CLIENT_WIDGET_H |
3 | 10 | ||
@@ -7,24 +14,24 @@ | |||
7 | 14 | ||
8 | namespace Gats | 15 | namespace Gats |
9 | { | 16 | { |
10 | class Object; | 17 | class Object; |
11 | }; | 18 | }; |
12 | 19 | ||
13 | class ClientWidget : public QWidget, protected Ui::ClientWidget, public IoBase | 20 | class ClientWidget : public QWidget, protected Ui::ClientWidget, public IoBase |
14 | { | 21 | { |
15 | Q_OBJECT; | 22 | Q_OBJECT; |
16 | public: | 23 | public: |
17 | ClientWidget( QWidget *pParent, const QByteArray &baHost, int iPort ); | 24 | ClientWidget( QWidget *pParent, const QByteArray &baHost, int iPort ); |
18 | virtual ~ClientWidget(); | 25 | virtual ~ClientWidget(); |
19 | 26 | ||
20 | virtual void saveTo( const QString &sFile ); | 27 | virtual void saveTo( const QString &sFile ); |
21 | 28 | ||
22 | public slots: | 29 | public slots: |
23 | void send(); | 30 | void send(); |
24 | void recv( Gats::Object *pObj ); | 31 | void recv( Gats::Object *pObj ); |
25 | 32 | ||
26 | private: | 33 | private: |
27 | class ClientThread *pCli; | 34 | class ClientThread *pCli; |
28 | }; | 35 | }; |
29 | 36 | ||
30 | #endif | 37 | #endif |