From 2385f48c6a74e6eb39b3c8c69766719c05768113 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sat, 8 Sep 2018 19:46:11 +0200 Subject: core/settings ... : remove qPref* includes in qPref.h reduce number of includes by removing qPref* includes in qPref.h Signed-off-by: Jan Iversen --- desktop-widgets/mainwindow.cpp | 5 ++++- desktop-widgets/preferences/preferences_defaults.cpp | 4 +++- desktop-widgets/preferences/preferences_network.cpp | 3 ++- desktop-widgets/subsurfacewebservices.cpp | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) (limited to 'desktop-widgets') diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index d83a2aa16..1028a0f7c 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -47,7 +47,10 @@ #include "core/windowtitleupdate.h" #include "desktop-widgets/locationinformation.h" #include "preferences/preferencesdialog.h" -#include "core/settings/qPref.h" +#include "core/settings/qPrefPartialPressureGas.h" +#include "core/settings/qPrefTechnicalDetails.h" +#include "core/settings/qPrefCloudStorage.h" +#include "core/settings/qPrefDisplay.h" #ifndef NO_USERMANUAL #include "usermanual.h" diff --git a/desktop-widgets/preferences/preferences_defaults.cpp b/desktop-widgets/preferences/preferences_defaults.cpp index 1f96a79cf..9cdaeb43f 100644 --- a/desktop-widgets/preferences/preferences_defaults.cpp +++ b/desktop-widgets/preferences/preferences_defaults.cpp @@ -2,7 +2,9 @@ #include "preferences_defaults.h" #include "ui_preferences_defaults.h" #include "core/dive.h" -#include "core/settings/qPref.h" +#include "core/settings/qPrefGeneral.h" +#include "core/settings/qPrefDisplay.h" +#include "core/settings/qPrefCloudStorage.h" #include diff --git a/desktop-widgets/preferences/preferences_network.cpp b/desktop-widgets/preferences/preferences_network.cpp index 112bc936f..c81588eea 100644 --- a/desktop-widgets/preferences/preferences_network.cpp +++ b/desktop-widgets/preferences/preferences_network.cpp @@ -4,7 +4,8 @@ #include "subsurfacewebservices.h" #include "core/cloudstorage.h" #include "core/dive.h" -#include "core/settings/qPref.h" +#include "core/settings/qPrefCloudStorage.h" +#include "core/settings/qPrefProxy.h" #include PreferencesNetwork::PreferencesNetwork() : AbstractPreferencesWidget(tr("Network"),QIcon(":preferences-system-network-icon"), 9), ui(new Ui::PreferencesNetwork()) diff --git a/desktop-widgets/subsurfacewebservices.cpp b/desktop-widgets/subsurfacewebservices.cpp index 1f35be6c0..b3084da14 100644 --- a/desktop-widgets/subsurfacewebservices.cpp +++ b/desktop-widgets/subsurfacewebservices.cpp @@ -2,7 +2,7 @@ #include "desktop-widgets/subsurfacewebservices.h" #include "core/qthelper.h" #include "core/webservice.h" -#include "core/settings/qPref.h" +#include "core/settings/qPrefCloudStorage.h" #include "desktop-widgets/mainwindow.h" #include "desktop-widgets/usersurvey.h" #include "core/divelist.h" -- cgit v1.2.3-70-g09d2