History

add -Wsuggest-override to compile flags and deal with fallout

Seth Alves committed 10 years ago

Commit 87dbfa71 parent 89df576122 files · +768 −732Browse files

Showing the changes to libraries/script-engine/src/ScriptsModel.h (1 of 122 files). Show all

Unified · Split

libraries/script-engine/src/ScriptsModel.h+5−5
@@ -68,11 +68,11 @@ class ScriptsModel : public QAbstractItemModel { · 67 unmodified lines
68public:68public:
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