diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2013-04-02 11:28:11 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2013-04-08 13:21:31 +0200 |
commit | ea23948efbf044c2e6d501bb2f294d40a5c6032d (patch) | |
tree | ab7748ef3df21a681dda09c53244a6354d992589 /src/plugins/cppeditor/cppdoxygen_test.cpp | |
parent | ff3bf32435f33058262c107d2239013a59c11ffe (diff) | |
download | qt-creator-ea23948efbf044c2e6d501bb2f294d40a5c6032d.tar.gz |
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/cppeditor/cppdoxygen_test.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppdoxygen_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/cppeditor/cppdoxygen_test.cpp b/src/plugins/cppeditor/cppdoxygen_test.cpp index a491b177c9..d90477637f 100644 --- a/src/plugins/cppeditor/cppdoxygen_test.cpp +++ b/src/plugins/cppeditor/cppdoxygen_test.cpp @@ -84,11 +84,11 @@ TestCase::TestCase(const QByteArray &input) Utils::FileSaver srcSaver(fileName); srcSaver.write(originalText); srcSaver.finalize(); - CPlusPlus::CppModelManagerInterface::instance()->updateSourceFiles(QStringList()<<fileName); + CppTools::CppModelManagerInterface::instance()->updateSourceFiles(QStringList()<<fileName); // Wait for the parser in the future to give us the document while (true) { - Snapshot s = CPlusPlus::CppModelManagerInterface::instance()->snapshot(); + Snapshot s = CppTools::CppModelManagerInterface::instance()->snapshot(); if (s.contains(fileName)) break; QCoreApplication::processEvents(); @@ -120,7 +120,7 @@ TestCase::~TestCase() QCoreApplication::processEvents(); // process any pending events // Remove the test file from the code-model - CppModelManagerInterface *mmi = CPlusPlus::CppModelManagerInterface::instance(); + CppTools::CppModelManagerInterface *mmi = CppTools::CppModelManagerInterface::instance(); mmi->GC(); QCOMPARE(mmi->snapshot().size(), 0); } |