diff options
Diffstat (limited to 'utils/themeeditor/skindocument.h')
-rw-r--r-- | utils/themeeditor/skindocument.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/utils/themeeditor/skindocument.h b/utils/themeeditor/skindocument.h index 37f1443ece..d00c81f36b 100644 --- a/utils/themeeditor/skindocument.h +++ b/utils/themeeditor/skindocument.h | |||
@@ -33,21 +33,23 @@ class SkinDocument : public QWidget | |||
33 | { | 33 | { |
34 | Q_OBJECT | 34 | Q_OBJECT |
35 | public: | 35 | public: |
36 | const QString fileFilter; | ||
37 | |||
38 | |||
36 | SkinDocument(QWidget *parent = 0); | 39 | SkinDocument(QWidget *parent = 0); |
37 | virtual ~SkinDocument(); | 40 | virtual ~SkinDocument(); |
38 | 41 | ||
39 | ParseTreeModel* getModel(){ return model; } | 42 | ParseTreeModel* getModel(){ return model; } |
40 | QString getTitle(){ return title; } | 43 | QString getTitle(){ return title; } |
41 | 44 | ||
45 | void save(); | ||
46 | void saveAs(); | ||
47 | |||
42 | bool requestClose(); | 48 | bool requestClose(); |
43 | 49 | ||
44 | signals: | 50 | signals: |
45 | void titleChanged(QString); | 51 | void titleChanged(QString); |
46 | 52 | ||
47 | public slots: | ||
48 | void save(); | ||
49 | void saveAs(); | ||
50 | |||
51 | private slots: | 53 | private slots: |
52 | void codeChanged(); | 54 | void codeChanged(); |
53 | 55 | ||
@@ -56,7 +58,7 @@ private: | |||
56 | 58 | ||
57 | QString title; | 59 | QString title; |
58 | QString fileName; | 60 | QString fileName; |
59 | bool saved; | 61 | QString saved; |
60 | 62 | ||
61 | QLayout* layout; | 63 | QLayout* layout; |
62 | QPlainTextEdit* editor; | 64 | QPlainTextEdit* editor; |