summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/runsettingspropertiespage.h
diff options
context:
space:
mode:
authordt <qtc-committer@nokia.com>2010-03-25 16:16:38 +0100
committerdt <qtc-committer@nokia.com>2010-03-25 18:02:14 +0100
commit70dc75990f7d827e27d49fb981ff648a7d08a0ca (patch)
tree038a7b4c64626fd14d17612012c5d6bd25f5298e /src/plugins/projectexplorer/runsettingspropertiespage.h
parent184fd353d294d9688919b8861b370ffa0733e046 (diff)
downloadqt-creator-70dc75990f7d827e27d49fb981ff648a7d08a0ca.tar.gz
Simplfy code dealing with the projects page
Distinguish between pages that are target specific and project specific. Do the magic hierarchy reduction if only one target is supported just in the projectwindow. Treat the targets page specially. Reviewed-By: hunger
Diffstat (limited to 'src/plugins/projectexplorer/runsettingspropertiespage.h')
-rw-r--r--src/plugins/projectexplorer/runsettingspropertiespage.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/runsettingspropertiespage.h b/src/plugins/projectexplorer/runsettingspropertiespage.h
index 033d61e8a9..9393437a5a 100644
--- a/src/plugins/projectexplorer/runsettingspropertiespage.h
+++ b/src/plugins/projectexplorer/runsettingspropertiespage.h
@@ -55,14 +55,12 @@ class RunSettingsPropertiesPage;
class RunConfigurationsModel;
class RunSettingsWidget;
-class RunSettingsPanelFactory : public IPanelFactory
+class RunSettingsPanelFactory : public ITargetPanelFactory
{
public:
QString id() const;
QString displayName() const;
- bool supports(Project *project);
bool supports(Target *target);
- IPropertiesPanel *createPanel(Project *project);
IPropertiesPanel *createPanel(Target *target);
};