diff options
Diffstat (limited to '')
-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 | ||