Showing the changes to libraries/script-engine/src/ScriptsModel.h (1 of 122 files). Show all
Unified · Split
| @@ -68,11 +68,11 @@ class ScriptsModel : public QAbstractItemModel { · 67 unmodified lines | |||
| 68 | public: | 68 | public: |
| 69 | ScriptsModel(QObject* parent = NULL); | 69 | ScriptsModel(QObject* parent = NULL); |
| 70 | ~ScriptsModel(); | 70 | ~ScriptsModel(); |
| 71 | QModelIndex index(int row, int column, const QModelIndex& parent) const; | 71 | QModelIndex index(int row, int column, const QModelIndex& parent) const override; |
| 72 | QModelIndex parent(const QModelIndex& child) const; | 72 | QModelIndex parent(const QModelIndex& child) const override; |
| 73 | QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; | 73 | QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; |
| 74 | int rowCount(const QModelIndex& parent = QModelIndex()) const; | 74 | int rowCount(const QModelIndex& parent = QModelIndex()) const override; |
| 75 | int columnCount(const QModelIndex& parent = QModelIndex()) const; | 75 | int columnCount(const QModelIndex& parent = QModelIndex()) const override; |
| 76 | TreeNodeBase* getTreeNodeFromIndex(const QModelIndex& index) const; | 76 | TreeNodeBase* getTreeNodeFromIndex(const QModelIndex& index) const; |
| 77 | QList<TreeNodeBase*> getFolderNodes(TreeNodeFolder* parent) const; | 77 | QList<TreeNodeBase*> getFolderNodes(TreeNodeFolder* parent) const; |
| 78 | 78 | ||