diff options
author | jan Iversen <jani@apache.org> | 2018-09-08 19:46:11 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-11 17:25:00 -0700 |
commit | 2385f48c6a74e6eb39b3c8c69766719c05768113 (patch) | |
tree | 28295bc458729797fe575269b0d6c67f1ad16c05 /core | |
parent | 1ee726597239db4e1fd66b5ad70983a127280414 (diff) | |
download | subsurface-2385f48c6a74e6eb39b3c8c69766719c05768113.tar.gz |
core/settings ... : remove qPref* includes in qPref.h
reduce number of includes by removing qPref* includes in qPref.h
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/cloudstorage.cpp | 2 | ||||
-rw-r--r-- | core/settings/qPref.cpp | 14 | ||||
-rw-r--r-- | core/settings/qPref.h | 15 |
3 files changed, 15 insertions, 16 deletions
diff --git a/core/cloudstorage.cpp b/core/cloudstorage.cpp index 001e0acdf..39d9a4d66 100644 --- a/core/cloudstorage.cpp +++ b/core/cloudstorage.cpp @@ -2,7 +2,7 @@ #include "cloudstorage.h" #include "pref.h" #include "qthelper.h" -#include "settings/qPref.h" +#include "settings/qPrefCloudStorage.h" #include <QApplication> CloudStorageAuthenticate::CloudStorageAuthenticate(QObject *parent) : diff --git a/core/settings/qPref.cpp b/core/settings/qPref.cpp index 2a455b4fd..2d3c53a40 100644 --- a/core/settings/qPref.cpp +++ b/core/settings/qPref.cpp @@ -1,6 +1,20 @@ // SPDX-License-Identifier: GPL-2.0 #include "qPref.h" #include "qPrefPrivate.h" +#include "qPrefCloudStorage.h" +#include "qPrefDisplay.h" +#include "qPrefDiveComputer.h" +#include "qPrefDivePlanner.h" +#include "qPrefFacebook.h" +#include "qPrefGeneral.h" +#include "qPrefGeocoding.h" +#include "qPrefLanguage.h" +#include "qPrefLocationService.h" +#include "qPrefPartialPressureGas.h" +#include "qPrefProxy.h" +#include "qPrefTechnicalDetails.h" +#include "qPrefUnit.h" +#include "qPrefUpdateManager.h" #include <QtQml> #include <QQmlContext> diff --git a/core/settings/qPref.h b/core/settings/qPref.h index f13a29274..e59a778e5 100644 --- a/core/settings/qPref.h +++ b/core/settings/qPref.h @@ -7,21 +7,6 @@ #include <QObject> #include <QQmlEngine> -#include "qPrefCloudStorage.h" -#include "qPrefDisplay.h" -#include "qPrefDiveComputer.h" -#include "qPrefDivePlanner.h" -#include "qPrefFacebook.h" -#include "qPrefGeneral.h" -#include "qPrefGeocoding.h" -#include "qPrefLanguage.h" -#include "qPrefLocationService.h" -#include "qPrefPartialPressureGas.h" -#include "qPrefProxy.h" -#include "qPrefTechnicalDetails.h" -#include "qPrefUnit.h" -#include "qPrefUpdateManager.h" - class qPref : public QObject { Q_OBJECT Q_PROPERTY(QString canonical_version READ canonical_version); |