diff options
author | hjk <hjk121@nokiamail.com> | 2014-08-27 10:01:27 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-08-27 14:18:05 +0200 |
commit | d2c243464ece44b27e8a03c73b45d9de424adcd8 (patch) | |
tree | 2bf544fba7c6f6303692ed8ca18ddd40d06b9a3c /src/plugins/cppeditor/cppeditortestcase.cpp | |
parent | 7b67701dea2aa6ff046bcffdbec70f7fd941599e (diff) | |
download | qt-creator-d2c243464ece44b27e8a03c73b45d9de424adcd8.tar.gz |
CppEditor: Rename CPPEditor{,Document} to CppEditor{,Document}
Better in line with the rest.
Change-Id: I692c8b6b9bebf22f059709fb60e53ea04fcb7d53
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/cppeditor/cppeditortestcase.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppeditortestcase.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/plugins/cppeditor/cppeditortestcase.cpp b/src/plugins/cppeditor/cppeditortestcase.cpp index 5fca9581e8..2d931df194 100644 --- a/src/plugins/cppeditor/cppeditortestcase.cpp +++ b/src/plugins/cppeditor/cppeditortestcase.cpp @@ -40,6 +40,8 @@ #include <QDir> +using namespace CppEditor::Internal; + namespace CppEditor { namespace Internal { namespace Tests { @@ -63,12 +65,9 @@ TestCase::~TestCase() { } -bool TestCase::openCppEditor(const QString &fileName, - Internal::CPPEditor **editor, - Internal::CppEditorWidget **editorWidget) +bool TestCase::openCppEditor(const QString &fileName, CppEditor **editor, CppEditorWidget **editorWidget) { - using namespace CppEditor::Internal; - if (CPPEditor *e = dynamic_cast<CPPEditor *>(Core::EditorManager::openEditor(fileName))) { + if (CppEditor *e = dynamic_cast<CppEditor *>(Core::EditorManager::openEditor(fileName))) { if (editor) *editor = e; if (editorWidget) { @@ -87,7 +86,7 @@ bool TestCase::openCppEditor(const QString &fileName, } CPlusPlus::Document::Ptr TestCase::waitForRehighlightedSemanticDocument( - Internal::CppEditorWidget *editorWidget) + CppEditorWidget *editorWidget) { const QString filePath = editorWidget->textDocument()->filePath(); auto processor = CppTools::BaseEditorDocumentProcessor::get(filePath); |