17 lines
360 B
C++
17 lines
360 B
C++
#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
|