aboutsummaryrefslogtreecommitdiff
path: root/src/gatscon/clientwidget.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-05-17 14:56:28 +0000
committerMike Buland <eichlan@xagasoft.com>2011-05-17 14:56:28 +0000
commit6d8bc516acf7a5995736423e838c987d08e69c09 (patch)
tree9db78ee528b26e0d5718b2ac4c987388e1b9c313 /src/gatscon/clientwidget.h
parentd269a39f27e2dcd57d0e3362ef3a7fd9ad3f3639 (diff)
downloadlibgats-6d8bc516acf7a5995736423e838c987d08e69c09.tar.gz
libgats-6d8bc516acf7a5995736423e838c987d08e69c09.tar.bz2
libgats-6d8bc516acf7a5995736423e838c987d08e69c09.tar.xz
libgats-6d8bc516acf7a5995736423e838c987d08e69c09.zip
Ok, you can now open files, save files, save files from proxies and clients,
and add new root items to files. Later I'll add some actual editing capabilities, should be really easy.
Diffstat (limited to 'src/gatscon/clientwidget.h')
-rw-r--r--src/gatscon/clientwidget.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gatscon/clientwidget.h b/src/gatscon/clientwidget.h
index 9ce2798..5ff18fb 100644
--- a/src/gatscon/clientwidget.h
+++ b/src/gatscon/clientwidget.h
@@ -2,19 +2,22 @@
2#define CLIENT_WIDGET_H 2#define CLIENT_WIDGET_H
3 3
4#include "ui_clientwidget.h" 4#include "ui_clientwidget.h"
5#include "iobase.h"
5 6
6namespace Gats 7namespace Gats
7{ 8{
8 class Object; 9 class Object;
9}; 10};
10 11
11class ClientWidget : public QWidget, protected Ui::ClientWidget 12class ClientWidget : public QWidget, protected Ui::ClientWidget, public IoBase
12{ 13{
13 Q_OBJECT; 14 Q_OBJECT;
14public: 15public:
15 ClientWidget( QWidget *pParent, const QByteArray &baHost, int iPort ); 16 ClientWidget( QWidget *pParent, const QByteArray &baHost, int iPort );
16 virtual ~ClientWidget(); 17 virtual ~ClientWidget();
17 18
19 virtual void saveTo( const QString &sFile );
20
18public slots: 21public slots:
19 void send(); 22 void send();
20 void recv( Gats::Object *pObj ); 23 void recv( Gats::Object *pObj );