forked from qt-creator/qt-creator
Qbs, Qmake, Python, Generic: Introduce BuildSystem derived classes
... and move context menu action handling there. This is a temporary measure to be able to move that functionality alongside the actual BuildSystem to the BuildConfiguration. There is a lot to be cleaned up left, to keep the patch small. Change-Id: If4b0820a13b376fc97b70785052924972ce22705 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -44,7 +44,6 @@ public:
|
||||
CMakeListsNode(const Utils::FilePath &cmakeListPath);
|
||||
|
||||
bool showInSimpleTree() const final;
|
||||
bool supportsAction(ProjectExplorer::ProjectAction action, const Node *node) const override;
|
||||
Utils::optional<Utils::FilePath> visibleAfterAddFileAction() const override;
|
||||
};
|
||||
|
||||
@@ -54,8 +53,6 @@ public:
|
||||
CMakeProjectNode(const Utils::FilePath &directory);
|
||||
|
||||
QString tooltip() const final;
|
||||
|
||||
bool addFiles(const QStringList &filePaths, QStringList *notAdded) override;
|
||||
};
|
||||
|
||||
class CMakeTargetNode : public ProjectExplorer::ProjectNode
|
||||
@@ -70,8 +67,6 @@ public:
|
||||
Utils::FilePath buildDirectory() const;
|
||||
void setBuildDirectory(const Utils::FilePath &directory);
|
||||
|
||||
bool supportsAction(ProjectExplorer::ProjectAction action, const Node *node) const override;
|
||||
bool addFiles(const QStringList &filePaths, QStringList *notAdded) override;
|
||||
Utils::optional<Utils::FilePath> visibleAfterAddFileAction() const override;
|
||||
|
||||
void build() override;
|
||||
|
||||
Reference in New Issue
Block a user