subsurface/core/settings
jan Iversen 3eae683b57 core: make qPrefAnimations/CloudStorage getters static and inline
Add static and inline to getter in all qPref header files
Remove call to GET_PREFERENCE_* in qPrefDisplay.cpp
Remove GET_PREFERENCE_* from qPrefPrivate.h

static inline is slightly faster than a function call, but it saves
a lot of coding lines (no lines in qPref*.cpp). Getters are a direct
reference to struct preferences, so they will normally only be used
from QML.

Signed-off-by: Jan Iversen <jani@apache.org>
2018-07-25 08:35:04 -07:00
..
qPref.cpp core: activate qPrefCloudStorage 2018-07-21 07:49:25 -07:00
qPref.h core: create qPrefCloudStorage from SettingsObjectWrapper 2018-07-21 07:49:25 -07:00
qPrefAnimations.cpp core: remove QSettings in qPref* and use a shared variable 2018-07-18 10:40:08 -07:00
qPrefAnimations.h core: make qPrefAnimations/CloudStorage getters static and inline 2018-07-25 08:35:04 -07:00
qPrefCloudStorage.cpp core: make qPrefAnimations/CloudStorage getters static and inline 2018-07-25 08:35:04 -07:00
qPrefCloudStorage.h core: make qPrefAnimations/CloudStorage getters static and inline 2018-07-25 08:35:04 -07:00
qPrefDisplay.cpp core: make qPrefDisplay getters static and inline 2018-07-25 08:35:04 -07:00
qPrefDisplay.h core: make qPrefDisplay getters static and inline 2018-07-25 08:35:04 -07:00
qPrefPrivate.cpp core: qPref replace COPY_TXT with copy_txt in qPrefPrivate 2018-07-25 08:35:04 -07:00
qPrefPrivate.h core: make qPrefAnimations/CloudStorage getters static and inline 2018-07-25 08:35:04 -07:00