core/settings: make qPref* constructors private

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-09-14 12:25:18 +02:00 committed by Dirk Hohndel
parent 6e846eb4c0
commit 653a2baf11
26 changed files with 26 additions and 65 deletions

View file

@ -16,7 +16,6 @@ class qPrefPartialPressureGas : public QObject {
Q_PROPERTY(double po2_threshold_min READ po2_threshold_min WRITE set_po2_threshold_min NOTIFY po2_threshold_minChanged);
public:
qPrefPartialPressureGas(QObject *parent = NULL);
static qPrefPartialPressureGas *instance();
// Load/Sync local settings (disk) and struct preference
@ -52,6 +51,8 @@ signals:
void po2_threshold_minChanged(double value);
private:
qPrefPartialPressureGas() {}
static void disk_phe(bool doSync);
static void disk_phe_threshold(bool doSync);
static void disk_pn2(bool doSync);