summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/cppeditorplugin.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-09-15 00:12:27 +0200
committerNikolai Kosjar <nikolai.kosjar@digia.com>2014-09-19 13:17:55 +0200
commitb26a17f30dea7e4ac78a31983176681a7a5d07d3 (patch)
tree95ad0b459d9055f4fd6e6623ad1ab0b075730d57 /src/plugins/cppeditor/cppeditorplugin.cpp
parente5e8693148304d3262096e6622386bdff8e4e1ad (diff)
downloadqt-creator-b26a17f30dea7e4ac78a31983176681a7a5d07d3.tar.gz
CppTools: Change CppModelManager implementation pattern
Replace the CppModelManagerInterface/derived CppModelManager combo by a more common CppModelManager/CppModelManagerPrivate pimpl pattern. Change-Id: Ia4582845ed94d5ef60b8571bab9b2260c6290287 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Diffstat (limited to 'src/plugins/cppeditor/cppeditorplugin.cpp')
-rw-r--r--src/plugins/cppeditor/cppeditorplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cppeditorplugin.cpp b/src/plugins/cppeditor/cppeditorplugin.cpp
index cb00366018..6b4e5caf31 100644
--- a/src/plugins/cppeditor/cppeditorplugin.cpp
+++ b/src/plugins/cppeditor/cppeditorplugin.cpp
@@ -288,7 +288,7 @@ bool CppEditorPlugin::initialize(const QStringList & /*arguments*/, QString *err
cppToolsMenu->addSeparator(globalContext);
m_reparseExternallyChangedFiles = new QAction(tr("Reparse Externally Changed Files"), this);
cmd = ActionManager::registerAction(m_reparseExternallyChangedFiles, Constants::UPDATE_CODEMODEL, globalContext);
- CppTools::CppModelManagerInterface *cppModelManager = CppTools::CppModelManagerInterface::instance();
+ CppTools::CppModelManager *cppModelManager = CppTools::CppModelManager::instance();
connect(m_reparseExternallyChangedFiles, SIGNAL(triggered()), cppModelManager, SLOT(updateModifiedSourceFiles()));
cppToolsMenu->addAction(cmd);