From 2bf886ed7310d9d789849a528f34db71bf4f8602 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 23 Aug 2023 17:51:05 +0200 Subject: 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: Reviewed-by: Marcus Tillmanns --- src/plugins/texteditor/tabsettings.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/texteditor/tabsettings.h') diff --git a/src/plugins/texteditor/tabsettings.h b/src/plugins/texteditor/tabsettings.h index 57adca91a05..a4a6f1c3f27 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); -- cgit v1.2.3