summaryrefslogtreecommitdiff
path: root/utils/themeeditor/skindocument.h
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-05 19:47:49 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-05 19:47:49 +0000
commit47181b8b9b0e3e914243a463ad02a2eceab61c6e (patch)
tree11a75ac5d5d1a4e72a60284c7a4a1b74893568db /utils/themeeditor/skindocument.h
parent45ab395c2fb42445382a377314bd63ae216f40c4 (diff)
downloadrockbox-47181b8b9b0e3e914243a463ad02a2eceab61c6e.tar.gz
rockbox-47181b8b9b0e3e914243a463ad02a2eceab61c6e.zip
Theme Editor: Got save/save-as functionality working and added Tango icons to the toolbar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26593 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/skindocument.h')
-rw-r--r--utils/themeeditor/skindocument.h12
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{
34Q_OBJECT 34Q_OBJECT
35public: 35public:
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
44signals: 50signals:
45 void titleChanged(QString); 51 void titleChanged(QString);
46 52
47public slots:
48 void save();
49 void saveAs();
50
51private slots: 53private 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;