aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/fontsettings.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2023-09-22 16:15:27 +0200
committerhjk <hjk@qt.io>2023-09-27 13:25:31 +0000
commit342e066886ff4d472d9e07eb1f5702a548ac3e6e (patch)
treeaf6b09b98c68140e50d752f9da37f74d9736e722 /src/plugins/texteditor/fontsettings.h
parent4629b0f69ec4320b1ac6d8006b2f1957d5024683 (diff)
Utils, all: Standardize on QtcSettings
Change-Id: Id222016f15b1c3bfe6710fe5d0297666d4565ef1 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Diffstat (limited to 'src/plugins/texteditor/fontsettings.h')
-rw-r--r--src/plugins/texteditor/fontsettings.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/texteditor/fontsettings.h b/src/plugins/texteditor/fontsettings.h
index 44cb074c49..c6924128b0 100644
--- a/src/plugins/texteditor/fontsettings.h
+++ b/src/plugins/texteditor/fontsettings.h
@@ -17,10 +17,11 @@
#include <QVector>
QT_BEGIN_NAMESPACE
-class QSettings;
class QFont;
QT_END_NAMESPACE
+namespace Utils { class QtcSettings; }
+
namespace TextEditor {
class FormatDescription;
@@ -37,10 +38,10 @@ public:
void clear();
inline bool isEmpty() const { return m_scheme.isEmpty(); }
- void toSettings(QSettings *s) const;
+ void toSettings(Utils::QtcSettings *s) const;
bool fromSettings(const FormatDescriptions &descriptions,
- const QSettings *s);
+ const Utils::QtcSettings *s);
QVector<QTextCharFormat> toTextCharFormats(const QVector<TextStyle> &categories) const;
QTextCharFormat toTextCharFormat(TextStyle category) const;