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

@ -17,7 +17,6 @@ class qPrefLanguage : public QObject {
Q_PROPERTY(bool use_system_language READ use_system_language WRITE set_use_system_language NOTIFY use_system_languageChanged);
public:
qPrefLanguage(QObject *parent = NULL);
static qPrefLanguage *instance();
// Load/Sync local settings (disk) and struct preference
@ -56,6 +55,8 @@ signals:
void use_system_languageChanged(bool value);
private:
qPrefLanguage() {}
static void disk_date_format(bool doSync);
static void disk_date_format_override(bool doSync);
static void disk_date_format_short(bool doSync);