summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/cppvirtualfunctionassistprovider.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/cppvirtualfunctionassistprovider.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/cppvirtualfunctionassistprovider.cpp')
-rw-r--r--src/plugins/cppeditor/cppvirtualfunctionassistprovider.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/cppvirtualfunctionassistprovider.cpp b/src/plugins/cppeditor/cppvirtualfunctionassistprovider.cpp
index ec76a966b4..65e9be1d04 100644
--- a/src/plugins/cppeditor/cppvirtualfunctionassistprovider.cpp
+++ b/src/plugins/cppeditor/cppvirtualfunctionassistprovider.cpp
@@ -132,7 +132,7 @@ public:
{
QTC_ASSERT(m_params.function, return 0);
- BasicProposalItem *hintItem = new VirtualFunctionProposalItem(CPPEditorWidget::Link());
+ BasicProposalItem *hintItem = new VirtualFunctionProposalItem(CppEditorWidget::Link());
hintItem->setText(QCoreApplication::translate("VirtualFunctionsAssistProcessor",
"...searching overrides"));
hintItem->setOrder(-1000);
@@ -181,7 +181,7 @@ private:
BasicProposalItem *itemFromFunction(Function *func) const
{
- const CPPEditorWidget::Link link = CPPEditorWidget::linkToSymbol(maybeDefinitionFor(func));
+ const CppEditorWidget::Link link = CppEditorWidget::linkToSymbol(maybeDefinitionFor(func));
QString text = m_overview.prettyName(LookupContext::fullyQualifiedName(func));
if (func->isPureVirtual())
text += QLatin1String(" = 0");