From 975633c94f543f8e7676e1e4edef1c8a2613ce5a Mon Sep 17 00:00:00 2001 From: jens <98707820+codeschrat@users.noreply.github.com> Date: Sat, 3 Dec 2022 14:10:07 +0100 Subject: [PATCH] Make methods private --- src/conf/Settings.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/conf/Settings.h b/src/conf/Settings.h index 9b6e1024e..695c53a7b 100644 --- a/src/conf/Settings.h +++ b/src/conf/Settings.h @@ -20,14 +20,6 @@ class Settings : public QObject { Q_OBJECT public: - QString group() const; - - QVariant value(const QString &key) const; - QVariant value(const QString &key, const QVariant &defaultValue) const; - QVariant defaultValue(const QString &key) const; - void setValue(const QString &key, const QVariant &value, - bool refresh = false); - QVariant value(Setting::Id id) const; QVariant value(Setting::Id id, const QVariant &defaultValue) const; void setValue(Setting::Id id, const QVariant &value); @@ -74,6 +66,14 @@ class Settings : public QObject { private: Settings(QObject *parent = nullptr); + QString group() const; + + QVariant value(const QString &key) const; + QVariant value(const QString &key, const QVariant &defaultValue) const; + QVariant defaultValue(const QString &key) const; + void setValue(const QString &key, const QVariant &value, + bool refresh = false); + QStringList mGroup; QVariantMap mDefaults; QVariantMap mCurrentMap;