aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/icodestylepreferences.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/texteditor/icodestylepreferences.cpp')
-rw-r--r--src/plugins/texteditor/icodestylepreferences.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/texteditor/icodestylepreferences.cpp b/src/plugins/texteditor/icodestylepreferences.cpp
index 1f98062712..3fffa8401a 100644
--- a/src/plugins/texteditor/icodestylepreferences.cpp
+++ b/src/plugins/texteditor/icodestylepreferences.cpp
@@ -27,7 +27,7 @@ public:
bool m_readOnly = false;
bool m_temporarilyReadOnly = false;
bool m_isAdditionalTabDisabled = false;
- QString m_settingsSuffix;
+ Key m_settingsSuffix;
};
}
@@ -207,17 +207,17 @@ void ICodeStylePreferences::setCurrentDelegate(const QByteArray &id)
setCurrentDelegate(d->m_pool->codeStyle(id));
}
-void ICodeStylePreferences::setSettingsSuffix(const QString &suffix)
+void ICodeStylePreferences::setSettingsSuffix(const Key &suffix)
{
d->m_settingsSuffix = suffix;
}
-void ICodeStylePreferences::toSettings(const QString &category) const
+void ICodeStylePreferences::toSettings(const Key &category) const
{
Utils::toSettings(d->m_settingsSuffix, category, Core::ICore::settings(), this);
}
-void ICodeStylePreferences::fromSettings(const QString &category)
+void ICodeStylePreferences::fromSettings(const Key &category)
{
Utils::fromSettings(d->m_settingsSuffix, category, Core::ICore::settings(), this);
}