summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefPrivate.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-08-31 11:57:28 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-11 17:22:58 -0700
commita71afd31ee66edf45c8970dcbd6514d7c4b5e9f0 (patch)
treef37c28d33c80aee2f0169f140d62ae751d46a9ed /core/settings/qPrefPrivate.h
parent7940e45c4c56594a0fe43dda28f6126cb2ceb555 (diff)
downloadsubsurface-a71afd31ee66edf45c8970dcbd6514d7c4b5e9f0.tar.gz
core: add auto registration to qPref*
Instead of having all register calls in subsurface-helper.cpp let qPref.cpp handle all qPref registration, since they also need to be different update subsurface-helper and testqml accordingly. Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPrefPrivate.h')
-rw-r--r--core/settings/qPrefPrivate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/settings/qPrefPrivate.h b/core/settings/qPrefPrivate.h
index 95466cece..4d8aea5ce 100644
--- a/core/settings/qPrefPrivate.h
+++ b/core/settings/qPrefPrivate.h
@@ -5,9 +5,12 @@
// Header used by all qPref<class> implementations to avoid duplicating code
#include "core/qthelper.h"
#include "qPref.h"
+
#include <QObject>
+#include <QDebug>
#include <QVariant>
+
// implementation class of the interface classes
class qPrefPrivate {