Implement support for project file open after AddFile action

Change-Id: I5f5372498a34760976cea5b7d6f5f49dd04558db
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Pawel Rutka
2018-02-13 20:26:04 +01:00
committed by pawelrutka
parent 5ea157f0b8
commit 4aced20a21
5 changed files with 48 additions and 7 deletions

View File

@@ -47,6 +47,7 @@ public:
bool showInSimpleTree() const final;
bool supportsAction(ProjectExplorer::ProjectAction action, const Node *node) const override;
virtual Utils::optional<Utils::FileName> visibleAfterAddFileAction() const override;
};
class CMakeProjectNode : public ProjectExplorer::ProjectNode
@@ -74,6 +75,7 @@ public:
bool supportsAction(ProjectExplorer::ProjectAction action, const Node *node) const override;
bool addFiles(const QStringList &filePaths, QStringList *notAdded) override;
virtual Utils::optional<Utils::FileName> visibleAfterAddFileAction() const override;
private:
QString m_tooltip;