aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/highlightersettings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/texteditor/highlightersettings.h')
-rw-r--r--src/plugins/texteditor/highlightersettings.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/plugins/texteditor/highlightersettings.h b/src/plugins/texteditor/highlightersettings.h
index adbe828bfb..4082901c99 100644
--- a/src/plugins/texteditor/highlightersettings.h
+++ b/src/plugins/texteditor/highlightersettings.h
@@ -10,9 +10,10 @@
#include <QList>
#include <QRegularExpression>
-QT_BEGIN_NAMESPACE
-class QSettings;
-QT_END_NAMESPACE
+namespace Utils {
+class Key;
+class QtcSettings;
+} // Utils
namespace TextEditor {
@@ -21,8 +22,8 @@ class HighlighterSettings
public:
HighlighterSettings() = default;
- void toSettings(const QString &category, QSettings *s) const;
- void fromSettings(const QString &category, QSettings *s);
+ void toSettings(const Utils::Key &category, Utils::QtcSettings *s) const;
+ void fromSettings(const Utils::Key &category, Utils::QtcSettings *s);
void setDefinitionFilesPath(const Utils::FilePath &path) { m_definitionFilesPath = path; }
const Utils::FilePath &definitionFilesPath() const { return m_definitionFilesPath; }