aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/projectnodes.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2018-03-14 14:40:47 +0100
committerhjk <hjk@qt.io>2018-03-16 09:55:03 +0000
commite20d6200436da24bfed43f0738c94e4bc3ce751b (patch)
treed9c451c7c803025983a79b9fcfd10c0b9af5115c /src/plugins/projectexplorer/projectnodes.h
parente3918b563f87db838ca279ad63a460d992fc03b4 (diff)
ProjectExplorer: Let RunConfiguration declare what nodes it belongs to
This feature in question is the availability of the "Run" button in the context menu of certain project nodes in the project tree to run something presumably related to/build from that (sub)project. Previously, the decision was made for certain qmake based projects (those targeting Desktop, iOS and VxWorks) by some indirection through the corresponding RunConfigurationFactories. The patch lets the RunConfigurations decide themselves directly and removes the indirection, potentially opening the feature for other qmake based RCs, as well as other combinations (e.g. PythonRunConfiguration could be associated with its .py file, without the need to have a dummy project) Change-Id: Ic489bd1dfa25fcd9102ffa4fa30125565dd2e40e Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/projectnodes.h')
-rw-r--r--src/plugins/projectexplorer/projectnodes.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/projectnodes.h b/src/plugins/projectexplorer/projectnodes.h
index 09792a2a36..76eedf6a53 100644
--- a/src/plugins/projectexplorer/projectnodes.h
+++ b/src/plugins/projectexplorer/projectnodes.h
@@ -41,7 +41,6 @@ namespace Core { class IVersionControl; }
namespace ProjectExplorer {
class Project;
-class RunConfiguration;
enum class NodeType : quint16 {
File = 1,
@@ -333,8 +332,6 @@ public:
// by default returns false
virtual bool deploysFolder(const QString &folder) const;
- virtual QList<RunConfiguration *> runConfigurations() const;
-
ProjectNode *projectNode(const Utils::FileName &file) const;
ProjectNode *asProjectNode() final { return this; }