summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/cppeditortestcase.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-07-30 16:30:31 +0200
committerhjk <hjk121@nokiamail.com>2014-07-31 10:54:58 +0200
commit210321377e10b39c9aaf78e4cb4d39a57876a225 (patch)
tree19e13e680c96e64735f929b444fd48f16d9ecf2c /src/plugins/cppeditor/cppeditortestcase.cpp
parentf6b48950ed275d8c540e4950f3c2f145de03ae16 (diff)
downloadqt-creator-210321377e10b39c9aaf78e4cb4d39a57876a225.tar.gz
Editors: Some renamings to enhance consistency
The base pattern is FooEditor for BaseTextEditor derived classes and FooEditorWidget for BaseTextEditorWidget derived classes. So: CPPEditorWidget -> CppEditorWidget CPPEditorWidgetPrivate -> CppEditorWidgetPrivate ...::EditorWidget -> PythonEditorWidget GLSLTextEditorWidget -> GlslEditorWidget GLSLEditorEditable -> GlslEditor Change-Id: I76d34a3694c2fb35491982d86e83f7e4774c0be6 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/cppeditor/cppeditortestcase.cpp')
-rw-r--r--src/plugins/cppeditor/cppeditortestcase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/cppeditor/cppeditortestcase.cpp b/src/plugins/cppeditor/cppeditortestcase.cpp
index becf8fd8c6..4bb20eedcc 100644
--- a/src/plugins/cppeditor/cppeditortestcase.cpp
+++ b/src/plugins/cppeditor/cppeditortestcase.cpp
@@ -63,14 +63,14 @@ TestCase::~TestCase()
bool TestCase::openCppEditor(const QString &fileName,
Internal::CPPEditor **editor,
- Internal::CPPEditorWidget **editorWidget)
+ Internal::CppEditorWidget **editorWidget)
{
using namespace CppEditor::Internal;
if (CPPEditor *e = dynamic_cast<CPPEditor *>(Core::EditorManager::openEditor(fileName))) {
if (editor)
*editor = e;
if (editorWidget) {
- if (CPPEditorWidget *w = dynamic_cast<CPPEditorWidget *>(e->editorWidget())) {
+ if (CppEditorWidget *w = dynamic_cast<CppEditorWidget *>(e->editorWidget())) {
*editorWidget = w;
return true;
} else {
@@ -85,7 +85,7 @@ bool TestCase::openCppEditor(const QString &fileName,
}
CPlusPlus::Document::Ptr TestCase::waitForRehighlightedSemanticDocument(
- Internal::CPPEditorWidget *editorWidget)
+ Internal::CppEditorWidget *editorWidget)
{
editorWidget->semanticRehighlight(true);
while (editorWidget->semanticInfo().doc.isNull())