aboutsummaryrefslogtreecommitdiff
path: root/c++-libbu++/src/gatscon/clientwidget.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-11-09 17:20:11 +0000
committerMike Buland <eichlan@xagasoft.com>2012-11-09 17:20:11 +0000
commitd534a56d95bca7bdd812be024d9eacba4734e2b7 (patch)
treef9b98ee2b80e645a7b54e7934882be6c9f73c165 /c++-libbu++/src/gatscon/clientwidget.h
parent61ccc86fdf06f12cb72a8b7e65286f812cf62154 (diff)
downloadlibgats-d534a56d95bca7bdd812be024d9eacba4734e2b7.tar.gz
libgats-d534a56d95bca7bdd812be024d9eacba4734e2b7.tar.bz2
libgats-d534a56d95bca7bdd812be024d9eacba4734e2b7.tar.xz
libgats-d534a56d95bca7bdd812be024d9eacba4734e2b7.zip
Many changes: tabconv'd the C++ code, added a license, BSD, and docs.
Diffstat (limited to '')
-rw-r--r--c++-libbu++/src/gatscon/clientwidget.h23
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
8namespace Gats 15namespace Gats
9{ 16{
10 class Object; 17 class Object;
11}; 18};
12 19
13class ClientWidget : public QWidget, protected Ui::ClientWidget, public IoBase 20class ClientWidget : public QWidget, protected Ui::ClientWidget, public IoBase
14{ 21{
15 Q_OBJECT; 22 Q_OBJECT;
16public: 23public:
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
22public slots: 29public slots:
23 void send(); 30 void send();
24 void recv( Gats::Object *pObj ); 31 void recv( Gats::Object *pObj );
25 32
26private: 33private:
27 class ClientThread *pCli; 34 class ClientThread *pCli;
28}; 35};
29 36
30#endif 37#endif