aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/icodestylepreferencesfactory.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2018-02-06 15:59:05 +0100
committerhjk <hjk@qt.io>2018-02-07 07:59:05 +0000
commit91c19c2734246dbf528a6076a57b72d924bf0484 (patch)
tree26881f338de3e7f1ffe8229d08915f694b6fe13f /src/plugins/texteditor/icodestylepreferencesfactory.h
parent0c3aed25497267b655794dfb4b3f8b72dfb01d13 (diff)
TextEditor: Simplify SnippetProvider handling
The group identifier is as good as the actual object, so use that on the generator and the consumer side. Change-Id: I6ccd54a2362631af0b50583f12563b8e41a5dd78 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/texteditor/icodestylepreferencesfactory.h')
-rw-r--r--src/plugins/texteditor/icodestylepreferencesfactory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/icodestylepreferencesfactory.h b/src/plugins/texteditor/icodestylepreferencesfactory.h
index f9d534376f..46fa219a67 100644
--- a/src/plugins/texteditor/icodestylepreferencesfactory.h
+++ b/src/plugins/texteditor/icodestylepreferencesfactory.h
@@ -47,7 +47,7 @@ public:
virtual ICodeStylePreferences *createCodeStyle() const = 0;
virtual QWidget *createEditor(ICodeStylePreferences *preferences, QWidget *parent) const = 0;
virtual TextEditor::Indenter *createIndenter() const = 0;
- virtual SnippetProvider *snippetProvider() const = 0;
+ virtual QString snippetProviderGroupId() const = 0;
virtual QString previewText() const = 0;
};