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
This commit is contained in:
Tobias Hunger
2009-11-25 15:57:09 +01:00
parent 53a3071580
commit 426890b790
13 changed files with 103 additions and 77 deletions

View File

@@ -52,8 +52,8 @@ QT_END_NAMESPACE
namespace ProjectExplorer {
class IPropertiesPanel;
class Project;
class PropertiesPanel;
class ProjectExplorerPlugin;
class SessionManager;
@@ -195,7 +195,7 @@ private:
QWidget *m_projectChooser;
QLabel *m_noprojectLabel;
PanelsWidget *m_panelsWidget;
QList<PropertiesPanel *> m_panels;
QList<IPropertiesPanel *> m_panels;
};