Skip to content

Commit

Permalink
Make methods private
Browse files Browse the repository at this point in the history
  • Loading branch information
codeschrat committed Dec 5, 2022
1 parent 05718e5 commit 975633c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/conf/Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 975633c

Please sign in to comment.