summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/codestyleeditor.h
diff options
context:
space:
mode:
authorArtem Sokolovskii <artem.sokolovskii@qt.io>2022-07-28 16:13:35 +0200
committerArtem Sokolovskii <artem.sokolovskii@qt.io>2022-08-05 09:41:14 +0000
commite572bdd90c6abcf763e6713dc9a38bd49b66db6c (patch)
tree216a85f1579136d3b9bbae87b2929319e0f90196 /src/plugins/texteditor/codestyleeditor.h
parente24591dbe5bb2b7bea8beefe9d2a7b576471c4b3 (diff)
downloadqt-creator-e572bdd90c6abcf763e6713dc9a38bd49b66db6c.tar.gz
ClangFormat: Move global settings in main page
The settings: indenting instead formatting, format while typing, format edited on file save are moved to Code Style page. Change-Id: I28787b44602ce288961c778fe704ad2a1a05913f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/texteditor/codestyleeditor.h')
-rw-r--r--src/plugins/texteditor/codestyleeditor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/texteditor/codestyleeditor.h b/src/plugins/texteditor/codestyleeditor.h
index 688672b489..45564ff50e 100644
--- a/src/plugins/texteditor/codestyleeditor.h
+++ b/src/plugins/texteditor/codestyleeditor.h
@@ -49,6 +49,7 @@ public:
ProjectExplorer::Project *project = nullptr,
QWidget *parent = nullptr);
+ void apply() override;
private:
void updatePreview();
@@ -56,6 +57,7 @@ private:
ICodeStylePreferencesFactory *m_factory;
ICodeStylePreferences *m_codeStyle;
SnippetEditorWidget *m_preview;
+ CodeStyleEditorWidget *m_additionalGlobalSettingsWidget;
};
} // namespace TextEditor