From d02a03983d91da1d10aac5b0a5d84d15e94e9291 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sat, 16 Jun 2018 16:03:31 +0200 Subject: core: add qPref.h_and qPrefprivate.h add 2 header files and 1 cpp file (qPrefPrivate does not have an implementation) The rewrite/consoliadation of SettingsObjectWrapper, qmlmanager, qmlpref and planner needs a place to put common private parts (qPrefPrivate) and 1 common class (qPref). Signed-off-by: Jan Iversen --- core/settings/qPref.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 core/settings/qPref.cpp (limited to 'core/settings/qPref.cpp') diff --git a/core/settings/qPref.cpp b/core/settings/qPref.cpp new file mode 100644 index 000000000..b703c1fcb --- /dev/null +++ b/core/settings/qPref.cpp @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0 +#include "qPref_private.h" +#include "qPref.h" + + +qPref *qPref::m_instance = NULL; +qPref *qPref::instance() +{ + if (!m_instance) + m_instance = new qPref; + return m_instance; +} + + + +void qPref::loadSync(bool doSync) +{ +} -- cgit v1.2.3-70-g09d2