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

@ -13,7 +13,6 @@ class qPrefGeocoding : public QObject {
Q_PROPERTY(taxonomy_category third_taxonomy_category READ third_taxonomy_category WRITE set_third_taxonomy_category NOTIFY third_taxonomy_categoryChanged);
public:
qPrefGeocoding(QObject *parent = NULL);
static qPrefGeocoding *instance();
// Load/Sync local settings (disk) and struct preference
@ -37,6 +36,8 @@ signals:
void third_taxonomy_categoryChanged(taxonomy_category value);
private:
qPrefGeocoding() {}
static void disk_first_taxonomy_category(bool doSync);
static void disk_second_taxonomy_category(bool doSync);
static void disk_third_taxonomy_category(bool doSync);