diff options
Diffstat (limited to 'utils/themeeditor/parsetreemodel.h')
-rw-r--r-- | utils/themeeditor/parsetreemodel.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/utils/themeeditor/parsetreemodel.h b/utils/themeeditor/parsetreemodel.h index 64365ed038..4abf623672 100644 --- a/utils/themeeditor/parsetreemodel.h +++ b/utils/themeeditor/parsetreemodel.h | |||
@@ -40,18 +40,16 @@ class ParseTreeModel : public QAbstractItemModel | |||
40 | 40 | ||
41 | public: | 41 | public: |
42 | /* Initializes a tree with a WPS document in a string */ | 42 | /* Initializes a tree with a WPS document in a string */ |
43 | ParseTreeModel(char* wps, QObject* parent = 0); | 43 | ParseTreeModel(char* document, QObject* parent = 0); |
44 | virtual ~ParseTreeModel(); | 44 | virtual ~ParseTreeModel(); |
45 | 45 | ||
46 | QString genCode(); | 46 | QString genCode(); |
47 | 47 | ||
48 | /* | ||
49 | QModelIndex index(int row, int column, const QModelIndex& parent) const; | 48 | QModelIndex index(int row, int column, const QModelIndex& parent) const; |
50 | QModelIndex parent(const QModelIndex &child) const; | 49 | QModelIndex parent(const QModelIndex &child) const; |
51 | int rowCount(const QModelIndex &parent) const; | 50 | int rowCount(const QModelIndex &parent) const; |
52 | int columnCount(const QModelIndex &parent) const; | 51 | int columnCount(const QModelIndex &parent) const; |
53 | QVariant data(const QModelIndex &index, int role) const; | 52 | QVariant data(const QModelIndex &index, int role) const; |
54 | */ | ||
55 | 53 | ||
56 | private: | 54 | private: |
57 | ParseTreeNode* root; | 55 | ParseTreeNode* root; |