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