aboutsummaryrefslogtreecommitdiffstats
path: root/core/settings/qPref.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/settings/qPref.h')
-rw-r--r--core/settings/qPref.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/core/settings/qPref.h b/core/settings/qPref.h
new file mode 100644
index 000000000..4170e5e64
--- /dev/null
+++ b/core/settings/qPref.h
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: GPL-2.0
+#ifndef QPREF_H
+#define QPREF_H
+
+#include <QObject>
+#include "core/pref.h"
+
+class qPref : public QObject {
+ Q_OBJECT
+
+public:
+ qPref(QObject *parent = NULL) : QObject(parent) {};
+ ~qPref() {};
+ static qPref *instance();
+
+ // Load/Sync local settings (disk) and struct preference
+ void loadSync(bool doSync);
+
+public:
+
+private:
+ static qPref *m_instance;
+};
+
+#endif