Support basic behavior for AddFile in CMake project

Change-Id: Ib9c764908abc7daa9a3c614b93da98bc4e674862
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Pawel Rutka
2018-02-13 18:14:03 +01:00
committed by pawelrutka
parent d0273f83f9
commit b9bdacb27a
2 changed files with 69 additions and 1 deletions

View File

@@ -55,6 +55,9 @@ public:
bool showInSimpleTree() const final;
QString tooltip() const final;
bool supportsAction(ProjectExplorer::ProjectAction action, const Node *node) const override;
bool addFiles(const QStringList &filePaths, QStringList *notAdded) override;
};
class CMakeTargetNode : public ProjectExplorer::ProjectNode
@@ -69,6 +72,9 @@ public:
bool showInSimpleTree() const final;
QString tooltip() const final;
bool supportsAction(ProjectExplorer::ProjectAction action, const Node *node) const override;
bool addFiles(const QStringList &filePaths, QStringList *notAdded) override;
private:
QString m_tooltip;
};