diff options
Diffstat (limited to 'utils/themeeditor/models/parsetreemodel.h')
-rw-r--r-- | utils/themeeditor/models/parsetreemodel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/themeeditor/models/parsetreemodel.h b/utils/themeeditor/models/parsetreemodel.h index ec0a420a84..3c20a8ed3a 100644 --- a/utils/themeeditor/models/parsetreemodel.h +++ b/utils/themeeditor/models/parsetreemodel.h | |||
@@ -53,6 +53,8 @@ public: | |||
53 | QString genCode(); | 53 | QString genCode(); |
54 | /* Changes the parse tree to a new document */ | 54 | /* Changes the parse tree to a new document */ |
55 | QString changeTree(const char* document); | 55 | QString changeTree(const char* document); |
56 | |||
57 | /* Model implementation stuff */ | ||
56 | QModelIndex index(int row, int column, const QModelIndex& parent) const; | 58 | QModelIndex index(int row, int column, const QModelIndex& parent) const; |
57 | QModelIndex parent(const QModelIndex &child) const; | 59 | QModelIndex parent(const QModelIndex &child) const; |
58 | int rowCount(const QModelIndex &parent) const; | 60 | int rowCount(const QModelIndex &parent) const; |
@@ -74,6 +76,8 @@ public: | |||
74 | return fallback; | 76 | return fallback; |
75 | } | 77 | } |
76 | 78 | ||
79 | void paramChanged(ParseTreeNode* param); | ||
80 | QModelIndex indexFromPointer(ParseTreeNode* p); | ||
77 | 81 | ||
78 | private: | 82 | private: |
79 | ParseTreeNode* root; | 83 | ParseTreeNode* root; |