diff options
author | hjk <hjk@qt.io> | 2023-08-23 17:51:05 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2023-08-24 05:58:05 +0000 |
commit | 2bf886ed7310d9d789849a528f34db71bf4f8602 (patch) | |
tree | 9002141da4f6513f14f14f13d0f9de7c51de6f7e /src/plugins/texteditor/tabsettings.h | |
parent | 6e307be365d3a4fd79b44589bde58d75590b4064 (diff) |
Utils: Use a bit more Key and Store
Also, separate the Key into a separate header to minimiz impact
on #include load.
Change-Id: I4f719cad4d23a71a9c228d0b7f5c2409fd6e24d5
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Diffstat (limited to 'src/plugins/texteditor/tabsettings.h')
-rw-r--r-- | src/plugins/texteditor/tabsettings.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/texteditor/tabsettings.h b/src/plugins/texteditor/tabsettings.h index 57adca91a0..a4a6f1c3f2 100644 --- a/src/plugins/texteditor/tabsettings.h +++ b/src/plugins/texteditor/tabsettings.h @@ -38,8 +38,8 @@ public: TabSettings(TabPolicy tabPolicy, int tabSize, int indentSize, ContinuationAlignBehavior continuationAlignBehavior); - void toSettings(const QString &category, QSettings *s) const; - void fromSettings(const QString &category, QSettings *s); + void toSettings(const Utils::Key &category, QSettings *s) const; + void fromSettings(const Utils::Key &category, QSettings *s); Utils::Store toMap() const; void fromMap(const Utils::Store &map); |