From 6d8bc516acf7a5995736423e838c987d08e69c09 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 17 May 2011 14:56:28 +0000 Subject: 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. --- src/gatscon/clientwidget.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gatscon/clientwidget.h') 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 @@ #define CLIENT_WIDGET_H #include "ui_clientwidget.h" +#include "iobase.h" namespace Gats { class Object; }; -class ClientWidget : public QWidget, protected Ui::ClientWidget +class ClientWidget : public QWidget, protected Ui::ClientWidget, public IoBase { Q_OBJECT; public: ClientWidget( QWidget *pParent, const QByteArray &baHost, int iPort ); virtual ~ClientWidget(); + virtual void saveTo( const QString &sFile ); + public slots: void send(); void recv( Gats::Object *pObj ); -- cgit v1.2.3