aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/indenter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/texteditor/indenter.h')
-rw-r--r--src/plugins/texteditor/indenter.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/texteditor/indenter.h b/src/plugins/texteditor/indenter.h
index 8e29c3d865..2a23dbbf92 100644
--- a/src/plugins/texteditor/indenter.h
+++ b/src/plugins/texteditor/indenter.h
@@ -47,7 +47,7 @@ QT_END_NAMESPACE
namespace TextEditor {
-class BaseTextEditor;
+class BaseTextEditorWidget;
class TEXTEDITOR_EXPORT Indenter
{
@@ -62,17 +62,17 @@ public:
virtual void indentBlock(QTextDocument *doc,
const QTextBlock &block,
const QChar &typedChar,
- BaseTextEditor *editor);
+ BaseTextEditorWidget *editor);
// Indent at cursor. Calls indentBlock for selection or current line.
virtual void indent(QTextDocument *doc,
const QTextCursor &cursor,
const QChar &typedChar,
- BaseTextEditor *editor);
+ BaseTextEditorWidget *editor);
// Reindent at cursor. Selection will be adjusted according to the indentation
// change of the first block.
- virtual void reindent(QTextDocument *doc, const QTextCursor &cursor, BaseTextEditor *editor);
+ virtual void reindent(QTextDocument *doc, const QTextCursor &cursor, BaseTextEditorWidget *editor);
};
} // namespace TextEditor