| 12345678910111213141516 |
- #ifndef SETTINGSSERVICE_H
- #define SETTINGSSERVICE_H
- #include <QSettings>
- class SettingsService
- {
- public:
- QVariant value(const QString &key, const QVariant &defaultValue = QVariant()) const;
- void setValue(const QString &key, const QVariant &value);
- private:
- QSettings m_settings = QSettings("DedSoft", "BeerLog");
- };
- #endif // SETTINGSSERVICE_H
|