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:
@@ -36,19 +36,19 @@
|
||||
namespace PythonEditor {
|
||||
namespace Internal {
|
||||
|
||||
class EditorWidget : public TextEditor::BaseTextEditorWidget
|
||||
class PythonEditorWidget : public TextEditor::BaseTextEditorWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
EditorWidget(QWidget *parent = 0);
|
||||
EditorWidget(EditorWidget *other);
|
||||
PythonEditorWidget(QWidget *parent = 0);
|
||||
PythonEditorWidget(PythonEditorWidget *other);
|
||||
|
||||
protected:
|
||||
TextEditor::BaseTextEditor *createEditor();
|
||||
|
||||
private:
|
||||
EditorWidget(TextEditor::BaseTextEditorWidget *); // avoid stupidity
|
||||
PythonEditorWidget(TextEditor::BaseTextEditorWidget *); // avoid stupidity
|
||||
void ctor();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user