summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/runsettingspropertiespage.h
diff options
context:
space:
mode:
authorTobias Hunger <qt-info@nokia.com>2009-11-25 15:57:09 +0100
committerTobias Hunger <qt-info@nokia.com>2009-11-25 16:02:47 +0100
commit426890b790789c8a51841480c2cd37418a0244f7 (patch)
treec32e8a3f814029bb874cf52707d14c0f1df56912 /src/plugins/projectexplorer/runsettingspropertiespage.h
parent53a3071580d968478a343e41555639a9a9559257 (diff)
downloadqt-creator-426890b790789c8a51841480c2cd37418a0244f7.tar.gz
Change PropertiesPanel interface.
* Rename it to IPropertiesPanel in accordance with new naming standards. * Do not derive from Context. That is not needed. * Add an icon() method. * Fix all usages of this interface. Reviewed-By: dt
Diffstat (limited to 'src/plugins/projectexplorer/runsettingspropertiespage.h')
-rw-r--r--src/plugins/projectexplorer/runsettingspropertiespage.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/plugins/projectexplorer/runsettingspropertiespage.h b/src/plugins/projectexplorer/runsettingspropertiespage.h
index ed497f776d..b53fbd6101 100644
--- a/src/plugins/projectexplorer/runsettingspropertiespage.h
+++ b/src/plugins/projectexplorer/runsettingspropertiespage.h
@@ -53,20 +53,22 @@ class RunSettingsPanelFactory : public IPanelFactory
{
public:
virtual bool supports(Project *project);
- PropertiesPanel *createPanel(Project *project);
+ IPropertiesPanel *createPanel(Project *project);
};
-class RunSettingsPanel : public PropertiesPanel
+class RunSettingsPanel : public IPropertiesPanel
{
- Q_OBJECT
public:
RunSettingsPanel(Project *project);
~RunSettingsPanel();
QString name() const;
- QWidget *widget();
+ QWidget *widget() const;
+ QIcon icon() const;
+
private:
RunSettingsWidget *m_widget;
+ QIcon m_icon;
};
class RunSettingsWidget : public QWidget