summaryrefslogtreecommitdiff
path: root/utils/themeeditor/models/parsetreemodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/models/parsetreemodel.h')
-rw-r--r--utils/themeeditor/models/parsetreemodel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/themeeditor/models/parsetreemodel.h b/utils/themeeditor/models/parsetreemodel.h
index f176b760d3..bef8cc8f48 100644
--- a/utils/themeeditor/models/parsetreemodel.h
+++ b/utils/themeeditor/models/parsetreemodel.h
@@ -29,10 +29,10 @@
29 29
30#include <QAbstractItemModel> 30#include <QAbstractItemModel>
31#include <QList> 31#include <QList>
32#include <QGraphicsScene>
33 32
34#include "parsetreenode.h" 33#include "parsetreenode.h"
35#include "devicestate.h" 34#include "devicestate.h"
35#include "rbscene.h"
36 36
37class ParseTreeModel : public QAbstractItemModel 37class ParseTreeModel : public QAbstractItemModel
38{ 38{
@@ -64,8 +64,8 @@ public:
64 Qt::ItemFlags flags(const QModelIndex &index) const; 64 Qt::ItemFlags flags(const QModelIndex &index) const;
65 bool setData(const QModelIndex &index, const QVariant &value, int role); 65 bool setData(const QModelIndex &index, const QVariant &value, int role);
66 66
67 QGraphicsScene* render(ProjectModel* project, DeviceState* device, 67 RBScene* render(ProjectModel* project, DeviceState* device,
68 SkinDocument* doc, const QString* file = 0); 68 SkinDocument* doc, const QString* file = 0);
69 69
70 static QString safeSetting(ProjectModel* project, QString key, 70 static QString safeSetting(ProjectModel* project, QString key,
71 QString fallback) 71 QString fallback)
@@ -85,7 +85,7 @@ private:
85 ParseTreeNode* root; 85 ParseTreeNode* root;
86 ParseTreeModel* sbsModel; 86 ParseTreeModel* sbsModel;
87 struct skin_element* tree; 87 struct skin_element* tree;
88 QGraphicsScene* scene; 88 RBScene* scene;
89}; 89};
90 90
91 91