forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -67,7 +67,7 @@ public:
|
||||
void setup(const QString &fileName, const QString &filePath)
|
||||
{
|
||||
setText(fileName);
|
||||
m_link = CPPEditorWidget::Link(filePath);
|
||||
m_link = CppEditorWidget::Link(filePath);
|
||||
}
|
||||
|
||||
private:
|
||||
@@ -82,7 +82,7 @@ private:
|
||||
Constants::CPPEDITOR_ID);
|
||||
}
|
||||
|
||||
CPPEditorWidget::Link m_link;
|
||||
CppEditorWidget::Link m_link;
|
||||
};
|
||||
|
||||
// CppIncludeHierarchyWidget
|
||||
@@ -138,7 +138,7 @@ void CppIncludeHierarchyWidget::perform()
|
||||
if (!m_editor)
|
||||
return;
|
||||
|
||||
CPPEditorWidget *widget = qobject_cast<CPPEditorWidget *>(m_editor->widget());
|
||||
CppEditorWidget *widget = qobject_cast<CppEditorWidget *>(m_editor->widget());
|
||||
if (!widget)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user