aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/icodestylepreferencesfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/texteditor/icodestylepreferencesfactory.h')
-rw-r--r--src/plugins/texteditor/icodestylepreferencesfactory.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/plugins/texteditor/icodestylepreferencesfactory.h b/src/plugins/texteditor/icodestylepreferencesfactory.h
index 6a06e9b1601..da570e4aee6 100644
--- a/src/plugins/texteditor/icodestylepreferencesfactory.h
+++ b/src/plugins/texteditor/icodestylepreferencesfactory.h
@@ -39,9 +39,10 @@
namespace TextEditor {
-class IFallbackPreferences;
-class TabPreferences;
+class ICodeStylePreferences;
+class CodeStylePool;
class Indenter;
+class ISnippetProvider;
class TEXTEDITOR_EXPORT ICodeStylePreferencesFactory : public QObject
{
@@ -51,9 +52,11 @@ public:
virtual QString languageId() = 0;
virtual QString displayName() = 0;
- virtual IFallbackPreferences *createPreferences(const QList<IFallbackPreferences *> &fallbacks) const = 0;
- virtual QWidget *createEditor(IFallbackPreferences *preferences, TabPreferences *tabSettings, QWidget *parent) const = 0;
+ virtual ICodeStylePreferences *createCodeStyle() const = 0;
+ virtual QWidget *createEditor(ICodeStylePreferences *preferences, QWidget *parent) const = 0;
virtual TextEditor::Indenter *createIndenter() const = 0;
+ virtual ISnippetProvider *snippetProvider() const = 0;
+ virtual QString previewText() const = 0;
};
} // namespace TextEditor