Initial commit

This commit is contained in:
2023-03-28 08:37:35 +02:00
commit 7a929eb757
22 changed files with 1128 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#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