summaryrefslogtreecommitdiff
path: root/src/plugins/clangcodemodel
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-07-28 14:35:53 +0200
committerhjk <hjk121@nokiamail.com>2014-07-28 15:27:08 +0200
commit15fcdabc1d18f55a68a91251e8c581791c1aff8f (patch)
treeef84c774395f094c79da2197bdc2be5ec83623c9 /src/plugins/clangcodemodel
parent1a1ddf1d82399995a58056072d79918399596fe3 (diff)
downloadqt-creator-15fcdabc1d18f55a68a91251e8c581791c1aff8f.tar.gz
ProjectExplorer: Further clean up of IProjectPanelFactory
Rename to ProjectPanelFactory, hide list of factories from .h, rename include guards. Change-Id: I2e0befcaf847e5c3a0b493b58e7bcf3e9263f4f9 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/clangcodemodel')
-rw-r--r--src/plugins/clangcodemodel/clangcodemodelplugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/clangcodemodel/clangcodemodelplugin.cpp b/src/plugins/clangcodemodel/clangcodemodelplugin.cpp
index a1c7f526c8..f6297b84a5 100644
--- a/src/plugins/clangcodemodel/clangcodemodelplugin.cpp
+++ b/src/plugins/clangcodemodel/clangcodemodelplugin.cpp
@@ -41,7 +41,7 @@
#include <cpptools/cppmodelmanager.h>
-#include <projectexplorer/iprojectpanelfactory.h>
+#include <projectexplorer/projectpanelfactory.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/session.h>
@@ -55,12 +55,12 @@ bool ClangCodeModelPlugin::initialize(const QStringList &arguments, QString *err
Q_UNUSED(arguments)
Q_UNUSED(errorMessage)
- auto panelFactory = new ProjectExplorer::IProjectPanelFactory();
+ auto panelFactory = new ProjectExplorer::ProjectPanelFactory();
panelFactory->setPriority(60);
panelFactory->setDisplayName(ClangProjectSettingsWidget::tr("Clang Settings"));
panelFactory->setSimpleCreateWidgetFunction<ClangProjectSettingsWidget>(QIcon());
- ProjectExplorer::IProjectPanelFactory::registerFactory(panelFactory);
+ ProjectExplorer::ProjectPanelFactory::registerFactory(panelFactory);
ClangCodeModel::Internal::initializeClang();