diff options
Diffstat (limited to 'src/plugins/texteditor/marginsettings.h')
-rw-r--r-- | src/plugins/texteditor/marginsettings.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/plugins/texteditor/marginsettings.h b/src/plugins/texteditor/marginsettings.h index e98093042fb..903e1c6d00f 100644 --- a/src/plugins/texteditor/marginsettings.h +++ b/src/plugins/texteditor/marginsettings.h @@ -5,11 +5,7 @@ #include "texteditor_global.h" -#include <QVariantMap> - -QT_BEGIN_NAMESPACE -class QSettings; -QT_END_NAMESPACE +#include <utils/store.h> namespace TextEditor { @@ -18,11 +14,11 @@ class TEXTEDITOR_EXPORT MarginSettings public: MarginSettings(); - void toSettings(QSettings *s) const; - void fromSettings(QSettings *s); + void toSettings(Utils::QtcSettings *s) const; + void fromSettings(Utils::QtcSettings *s); - QVariantMap toMap() const; - void fromMap(const QVariantMap &map); + Utils::Store toMap() const; + void fromMap(const Utils::Store &map); bool equals(const MarginSettings &other) const; |