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 <jani@apache.org>
This commit is contained in:
jan Iversen 2018-06-16 16:03:31 +02:00 committed by Dirk Hohndel
parent 6c9c2168e1
commit d02a03983d
5 changed files with 121 additions and 0 deletions

View file

@ -98,6 +98,9 @@ set(SUBSURFACE_CORE_LIB_SRCS
windowtitleupdate.cpp
worldmap-save.c
# classes to manage struct preferences for QWidget and QML
settings/qPref.cpp
#Subsurface Qt have the Subsurface structs QObjectified for easy access via QML.
subsurface-qt/DiveObjectHelper.cpp
subsurface-qt/CylinderObjectHelper.cpp