summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/targetsettingspanel.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/targetsettingspanel.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/targetsettingspanel.h')
-rw-r--r--src/plugins/projectexplorer/targetsettingspanel.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/plugins/projectexplorer/targetsettingspanel.h b/src/plugins/projectexplorer/targetsettingspanel.h
index 704854344e..4b26c768fb 100644
--- a/src/plugins/projectexplorer/targetsettingspanel.h
+++ b/src/plugins/projectexplorer/targetsettingspanel.h
@@ -41,38 +41,9 @@ class Target;
namespace Internal {
-const char * const TARGETSETTINGS_PANEL_ID("ProjectExplorer.TargetSettingsPanel");
-
class TargetSettingsWidget;
class PanelsWidget;
-class TargetSettingsPanelFactory : public IPanelFactory
-{
-public:
- QString id() const;
- QString displayName() const;
- bool supports(Project *project);
- bool supports(Target *target);
- IPropertiesPanel *createPanel(Project *project);
- IPropertiesPanel *createPanel(Target *target);
-};
-
-class TargetSettingsPanelWidget;
-
-class TargetSettingsPanel : public IPropertiesPanel
-{
-public:
- TargetSettingsPanel(Project *project);
- ~TargetSettingsPanel();
- QString displayName() const;
- QWidget *widget() const;
- QIcon icon() const;
- PanelFlags flags() const { return IPropertiesPanel::NoAutomaticStyle; }
-
-private:
- TargetSettingsPanelWidget *m_widget;
-};
-
class TargetSettingsPanelWidget : public QWidget
{
Q_OBJECT