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.zip
rockbox-47181b8b9b0e3e914243a463ad02a2eceab61c6e.tar.gz
rockbox-47181b8b9b0e3e914243a463ad02a2eceab61c6e.tar.bz2
rockbox-47181b8b9b0e3e914243a463ad02a2eceab61c6e.tar.xz
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 37f1443..d00c81f 100644
--- a/utils/themeeditor/skindocument.h
+++ b/utils/themeeditor/skindocument.h
@@ -33,21 +33,23 @@ class SkinDocument : public QWidget
{
Q_OBJECT
public:
+ const QString fileFilter;
+
+
SkinDocument(QWidget *parent = 0);
virtual ~SkinDocument();
ParseTreeModel* getModel(){ return model; }
QString getTitle(){ return title; }
+ void save();
+ void saveAs();
+
bool requestClose();
signals:
void titleChanged(QString);
-public slots:
- void save();
- void saveAs();
-
private slots:
void codeChanged();
@@ -56,7 +58,7 @@ private:
QString title;
QString fileName;
- bool saved;
+ QString saved;
QLayout* layout;
QPlainTextEdit* editor;