forked from qt-creator/qt-creator
CppTools: Use namespace CppTools consistently
There were quite a few classes using CPlusPlus namespace in the CppTools plugin. Rename them and do some other small namespace related coding style fixups. Change-Id: I093fc1f3fc394fd9923e3f18d5f66522e288f21d Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
@@ -254,8 +254,8 @@ ModelManager::~ModelManager()
|
||||
|
||||
void ModelManager::delayedInitialization()
|
||||
{
|
||||
CPlusPlus::CppModelManagerInterface *cppModelManager =
|
||||
CPlusPlus::CppModelManagerInterface::instance();
|
||||
CppTools::CppModelManagerInterface *cppModelManager =
|
||||
CppTools::CppModelManagerInterface::instance();
|
||||
if (cppModelManager) {
|
||||
// It's important to have a direct connection here so we can prevent
|
||||
// the source and AST of the cpp document being cleaned away.
|
||||
@@ -899,8 +899,8 @@ void ModelManager::startCppQmlTypeUpdate()
|
||||
return;
|
||||
}
|
||||
|
||||
CPlusPlus::CppModelManagerInterface *cppModelManager =
|
||||
CPlusPlus::CppModelManagerInterface::instance();
|
||||
CppTools::CppModelManagerInterface *cppModelManager =
|
||||
CppTools::CppModelManagerInterface::instance();
|
||||
if (!cppModelManager)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user