ProjectNodes: Sprinkle override over the Node classes

Change-Id: I87db3a1b212aa0a3f140b8d299679f6c1f691004
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-10-29 16:59:27 +01:00
parent 66982fc12d
commit e60f62c131
9 changed files with 82 additions and 84 deletions

View File

@@ -48,18 +48,18 @@ class QmlProjectNode : public ProjectExplorer::ProjectNode
{
public:
QmlProjectNode(QmlProject *project, Core::IDocument *projectFile);
virtual ~QmlProjectNode();
~QmlProjectNode() override;
Core::IDocument *projectFile() const;
QString projectFilePath() const;
virtual bool showInSimpleTree() const;
virtual bool showInSimpleTree() const override;
virtual QList<ProjectExplorer::ProjectAction> supportedActions(Node *node) const;
virtual QList<ProjectExplorer::ProjectAction> supportedActions(Node *node) const override;
virtual bool addFiles(const QStringList &filePaths, QStringList *notAdded = 0);
virtual bool deleteFiles(const QStringList &filePaths);
virtual bool renameFile(const QString &filePath, const QString &newFilePath);
virtual bool addFiles(const QStringList &filePaths, QStringList *notAdded = 0) override;
virtual bool deleteFiles(const QStringList &filePaths) override;
virtual bool renameFile(const QString &filePath, const QString &newFilePath) override;
void refresh();