aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qt4projectmanager/qt4project.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2013-04-02 11:28:11 +0200
committerTobias Hunger <tobias.hunger@digia.com>2013-04-08 13:21:31 +0200
commitea23948efbf044c2e6d501bb2f294d40a5c6032d (patch)
treeab7748ef3df21a681dda09c53244a6354d992589 /src/plugins/qt4projectmanager/qt4project.cpp
parentff3bf32435f33058262c107d2239013a59c11ffe (diff)
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>
Diffstat (limited to 'src/plugins/qt4projectmanager/qt4project.cpp')
-rw-r--r--src/plugins/qt4projectmanager/qt4project.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/qt4projectmanager/qt4project.cpp b/src/plugins/qt4projectmanager/qt4project.cpp
index 95b3564e14..948ad8937a 100644
--- a/src/plugins/qt4projectmanager/qt4project.cpp
+++ b/src/plugins/qt4projectmanager/qt4project.cpp
@@ -446,9 +446,9 @@ bool Qt4Project::equalFileList(const QStringList &a, const QStringList &b)
QStringList::const_iterator bend = b.constEnd();
while (ait != aend && bit != bend) {
- if (*ait == CPlusPlus::CppModelManagerInterface::configurationFileName())
+ if (*ait == CppTools::CppModelManagerInterface::configurationFileName())
++ait;
- else if (*bit == CPlusPlus::CppModelManagerInterface::configurationFileName())
+ else if (*bit == CppTools::CppModelManagerInterface::configurationFileName())
++bit;
else if (*ait == *bit)
++ait, ++bit;
@@ -472,8 +472,8 @@ void Qt4Project::updateCodeModels()
void Qt4Project::updateCppCodeModel()
{
- typedef CPlusPlus::ProjectPart ProjectPart;
- typedef CPlusPlus::ProjectFile ProjectFile;
+ typedef CppTools::ProjectPart ProjectPart;
+ typedef CppTools::ProjectFile ProjectFile;
Kit *k = 0;
QtSupport::BaseQtVersion *qtVersion = 0;
@@ -485,8 +485,8 @@ void Qt4Project::updateCppCodeModel()
qtVersion = QtSupport::QtKitInformation::qtVersion(k);
tc = ToolChainKitInformation::toolChain(k);
- CPlusPlus::CppModelManagerInterface *modelmanager =
- CPlusPlus::CppModelManagerInterface::instance();
+ CppTools::CppModelManagerInterface *modelmanager =
+ CppTools::CppModelManagerInterface::instance();
if (!modelmanager)
return;
@@ -494,7 +494,7 @@ void Qt4Project::updateCppCodeModel()
FindQt4ProFiles findQt4ProFiles;
QList<Qt4ProFileNode *> proFiles = findQt4ProFiles(rootProjectNode());
- CPlusPlus::CppModelManagerInterface::ProjectInfo pinfo = modelmanager->projectInfo(this);
+ CppTools::CppModelManagerInterface::ProjectInfo pinfo = modelmanager->projectInfo(this);
pinfo.clearProjectParts();
ProjectPart::QtVersion qtVersionForPart = ProjectPart::NoQt;
if (qtVersion) {
@@ -567,7 +567,7 @@ void Qt4Project::updateCppCodeModel()
part->files << ProjectFile(file, ProjectFile::CXXHeader);
}
- part->files.prepend(ProjectFile(CPlusPlus::CppModelManagerInterface::configurationFileName(),
+ part->files.prepend(ProjectFile(CppTools::CppModelManagerInterface::configurationFileName(),
ProjectFile::CXXSource));
foreach (const QString &file, pro->variableValue(ObjCSourceVar)) {
allFiles << file;