diff options
author | Daniel Teske <daniel.teske@digia.com> | 2014-07-11 13:20:40 +0200 |
---|---|---|
committer | Daniel Teske <daniel.teske@digia.com> | 2014-07-22 16:40:52 +0200 |
commit | 96d9f05fad69ea6e64d9d265e183191622d473c9 (patch) | |
tree | c9d3c32c9dd06696a480105fc8f76740bdaadb09 /src/plugins/projectexplorer/dependenciespanel.cpp | |
parent | f42358a16e19bdbb39293960f6fbfb1b54d24f98 (diff) | |
download | qt-creator-96d9f05fad69ea6e64d9d265e183191622d473c9.tar.gz |
ProjectExplorer: Remove IPanelFactory
This was the common base class of IProjectPanelFactory and
ITargetPanelFactory. Nothing was using the IPanelFactory interface, and
there's actually no common interface between those classes.
Of the old interface IPanelFactory:
id() => only used in ITargetPanelFactory
displayName() => only used in IProjectPanelFactory
priority() => only used in IProjectPanelFactory
This removes lots of boiler plate code for the unused functions.
Change-Id: I8488a4e5134fd451907f02c45b7847673e4dc714
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/dependenciespanel.cpp')
-rw-r--r-- | src/plugins/projectexplorer/dependenciespanel.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/projectexplorer/dependenciespanel.cpp b/src/plugins/projectexplorer/dependenciespanel.cpp index d07807706f..1fbb99df51 100644 --- a/src/plugins/projectexplorer/dependenciespanel.cpp +++ b/src/plugins/projectexplorer/dependenciespanel.cpp @@ -235,11 +235,6 @@ DependenciesWidget::DependenciesWidget(Project *project, QWidget *parent) // DependenciesPanelFactory // -QString DependenciesPanelFactory::id() const -{ - return QLatin1String("ProjectExplorer.DependenciesPanel"); -} - QString DependenciesPanelFactory::displayName() const { return QCoreApplication::translate("DependenciesPanelFactory", "Dependencies"); |