diff options
Diffstat (limited to 'utils/themeeditor/skindocument.h')
-rw-r--r-- | utils/themeeditor/skindocument.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/themeeditor/skindocument.h b/utils/themeeditor/skindocument.h index 84d12df6a9..14a71e02a1 100644 --- a/utils/themeeditor/skindocument.h +++ b/utils/themeeditor/skindocument.h | |||
@@ -28,6 +28,7 @@ | |||
28 | 28 | ||
29 | #include "skinhighlighter.h" | 29 | #include "skinhighlighter.h" |
30 | #include "parsetreemodel.h" | 30 | #include "parsetreemodel.h" |
31 | #include "preferencesdialog.h" | ||
31 | 32 | ||
32 | class SkinDocument : public QWidget | 33 | class SkinDocument : public QWidget |
33 | { | 34 | { |
@@ -47,6 +48,8 @@ public: | |||
47 | SkinDocument(QString file, QWidget* parent = 0); | 48 | SkinDocument(QString file, QWidget* parent = 0); |
48 | virtual ~SkinDocument(); | 49 | virtual ~SkinDocument(); |
49 | 50 | ||
51 | void connectPrefs(PreferencesDialog* prefs); | ||
52 | |||
50 | ParseTreeModel* getModel(){ return model; } | 53 | ParseTreeModel* getModel(){ return model; } |
51 | QString getTitle(){ return title; } | 54 | QString getTitle(){ return title; } |
52 | void genCode(){ editor->document()->setPlainText(model->genCode()); } | 55 | void genCode(){ editor->document()->setPlainText(model->genCode()); } |
@@ -59,6 +62,9 @@ public: | |||
59 | signals: | 62 | signals: |
60 | void titleChanged(QString); | 63 | void titleChanged(QString); |
61 | 64 | ||
65 | public slots: | ||
66 | void colorsChanged(); | ||
67 | |||
62 | private slots: | 68 | private slots: |
63 | void codeChanged(); | 69 | void codeChanged(); |
64 | 70 | ||