blob: 4170e5e64ed5b2392150c5bff130b5079265e397 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|