diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-05-17 14:56:28 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-05-17 14:56:28 +0000 |
commit | 6d8bc516acf7a5995736423e838c987d08e69c09 (patch) | |
tree | 9db78ee528b26e0d5718b2ac4c987388e1b9c313 /src/gatscon/filewidget.h | |
parent | d269a39f27e2dcd57d0e3362ef3a7fd9ad3f3639 (diff) | |
download | libgats-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/filewidget.h')
-rw-r--r-- | src/gatscon/filewidget.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gatscon/filewidget.h b/src/gatscon/filewidget.h index ac46685..9993bfe 100644 --- a/src/gatscon/filewidget.h +++ b/src/gatscon/filewidget.h | |||
@@ -2,13 +2,14 @@ | |||
2 | #define FILE_WIDGET_H | 2 | #define FILE_WIDGET_H |
3 | 3 | ||
4 | #include "ui_filewidget.h" | 4 | #include "ui_filewidget.h" |
5 | #include "iobase.h" | ||
5 | 6 | ||
6 | namespace Gats | 7 | namespace Gats |
7 | { | 8 | { |
8 | class Object; | 9 | class Object; |
9 | }; | 10 | }; |
10 | 11 | ||
11 | class FileWidget : public QWidget, protected Ui::FileWidget | 12 | class FileWidget : public QWidget, protected Ui::FileWidget, public IoBase |
12 | { | 13 | { |
13 | Q_OBJECT; | 14 | Q_OBJECT; |
14 | public: | 15 | public: |
@@ -16,6 +17,12 @@ public: | |||
16 | FileWidget( QWidget *pParent, QString sFile ); | 17 | FileWidget( QWidget *pParent, QString sFile ); |
17 | virtual ~FileWidget(); | 18 | virtual ~FileWidget(); |
18 | 19 | ||
20 | virtual void saveTo( const QString &sFile ); | ||
21 | |||
22 | public slots: | ||
23 | void addRootItem(); | ||
24 | void delRootItem(); | ||
25 | |||
19 | private: | 26 | private: |
20 | }; | 27 | }; |
21 | 28 | ||