blob: ea0bb760263306bdbc0e2a04e83f9683ac2620e1 (
plain) (
tree)
|
|
/*
* choosersettings.h
*
* Created on: Mar 24, 2014
* Author: nils
*/
#ifndef CHOOSERSETTINGS_H_
#define CHOOSERSETTINGS_H_
#include <QDebug>
#include <QSettings>
#include <QDir>
// TODO: Proper name. This is the user specific settings, not global
class ChooserSettings {
public:
static QString getSetting(QString key);
static bool setSetting(QString key, QString value);
private:
static ChooserSettings* chooserSettings;
static bool settingsLoaded;
QSettings* settings;
ChooserSettings();
virtual ~ChooserSettings();
};
#endif /* CHOOSERSETTINGS_H_ */
|