diff options
author | jan Iversen <jani@apache.org> | 2018-08-14 12:25:15 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-15 16:11:39 -0700 |
commit | f2c302284b92354461a34f11475f69b6272caaa3 (patch) | |
tree | 6a43d35e46a0eb10f084af34054851a40aa07c3f /core/settings | |
parent | 9b8a6fa8552647c1c1e7b78000e93a1bbc508365 (diff) | |
download | subsurface-f2c302284b92354461a34f11475f69b6272caaa3.tar.gz |
core: qPref limit header includes
replace qPref.h with qPrefFoo.h to limit header includes
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings')
-rw-r--r-- | core/settings/qPrefCloudStorage.cpp | 2 | ||||
-rw-r--r-- | core/settings/qPrefDisplay.cpp | 2 | ||||
-rw-r--r-- | core/settings/qPrefDiveComputer.cpp | 2 | ||||
-rw-r--r-- | core/settings/qPrefDivePlanner.cpp | 2 | ||||
-rw-r--r-- | core/settings/qPrefFacebook.cpp | 2 | ||||
-rw-r--r-- | core/settings/qPrefGeneral.cpp | 2 | ||||
-rw-r--r-- | core/settings/qPrefGeocoding.cpp | 2 | ||||
-rw-r--r-- | core/settings/qPrefLanguage.cpp | 2 | ||||
-rw-r--r-- | core/settings/qPrefLocationService.cpp | 1 | ||||
-rw-r--r-- | core/settings/qPrefPartialPressureGas.cpp | 2 | ||||
-rw-r--r-- | core/settings/qPrefProxy.cpp | 2 | ||||
-rw-r--r-- | core/settings/qPrefTechnicalDetails.cpp | 2 | ||||
-rw-r--r-- | core/settings/qPrefUnit.cpp | 2 | ||||
-rw-r--r-- | core/settings/qPrefUpdateManager.cpp | 2 |
14 files changed, 13 insertions, 14 deletions
diff --git a/core/settings/qPrefCloudStorage.cpp b/core/settings/qPrefCloudStorage.cpp index 421893135..d35b3b61c 100644 --- a/core/settings/qPrefCloudStorage.cpp +++ b/core/settings/qPrefCloudStorage.cpp @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -#include "qPref.h" +#include "qPrefCloudStorage.h" #include "qPrefPrivate.h" static const QString group = QStringLiteral("CloudStorage"); diff --git a/core/settings/qPrefDisplay.cpp b/core/settings/qPrefDisplay.cpp index 5eb0b1eb6..152f2fbfc 100644 --- a/core/settings/qPrefDisplay.cpp +++ b/core/settings/qPrefDisplay.cpp @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include "core/subsurface-string.h" -#include "qPref.h" +#include "qPrefDisplay.h" #include "qPrefPrivate.h" #include <QApplication> diff --git a/core/settings/qPrefDiveComputer.cpp b/core/settings/qPrefDiveComputer.cpp index 04928dbfb..105ab96b7 100644 --- a/core/settings/qPrefDiveComputer.cpp +++ b/core/settings/qPrefDiveComputer.cpp @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -#include "qPref.h" +#include "qPrefDiveComputer.h" #include "qPrefPrivate.h" static const QString group = QStringLiteral("DiveComputer"); diff --git a/core/settings/qPrefDivePlanner.cpp b/core/settings/qPrefDivePlanner.cpp index abeb4f402..c3c98e3fc 100644 --- a/core/settings/qPrefDivePlanner.cpp +++ b/core/settings/qPrefDivePlanner.cpp @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include "core/subsurface-string.h" +#include "qPrefDivePlanner.h" #include "qPrefPrivate.h" -#include "qPref.h" #include <QSettings> diff --git a/core/settings/qPrefFacebook.cpp b/core/settings/qPrefFacebook.cpp index 29e62d38f..0c37b2c6d 100644 --- a/core/settings/qPrefFacebook.cpp +++ b/core/settings/qPrefFacebook.cpp @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -#include "qPref.h" +#include "qPrefFacebook.h" #include "qPrefPrivate.h" static const QString group = QStringLiteral("WebApps/Facebook"); diff --git a/core/settings/qPrefGeneral.cpp b/core/settings/qPrefGeneral.cpp index 85c828de8..81a3eb0fe 100644 --- a/core/settings/qPrefGeneral.cpp +++ b/core/settings/qPrefGeneral.cpp @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -#include "qPref.h" +#include "qPrefGeneral.h" #include "qPrefPrivate.h" diff --git a/core/settings/qPrefGeocoding.cpp b/core/settings/qPrefGeocoding.cpp index a726e721f..7f272b572 100644 --- a/core/settings/qPrefGeocoding.cpp +++ b/core/settings/qPrefGeocoding.cpp @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -#include "qPref.h" +#include "qPrefGeocoding.h" #include "qPrefPrivate.h" static const QString group = QStringLiteral("geocoding"); diff --git a/core/settings/qPrefLanguage.cpp b/core/settings/qPrefLanguage.cpp index 1ad31a73b..a21ee1667 100644 --- a/core/settings/qPrefLanguage.cpp +++ b/core/settings/qPrefLanguage.cpp @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -#include "qPref.h" +#include "qPrefLanguage.h" #include "qPrefPrivate.h" static const QString group = QStringLiteral("Language"); diff --git a/core/settings/qPrefLocationService.cpp b/core/settings/qPrefLocationService.cpp index 84ebcc321..01f4ffb9a 100644 --- a/core/settings/qPrefLocationService.cpp +++ b/core/settings/qPrefLocationService.cpp @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 #include "qPrefLocationService.h" -#include "qPref.h" #include "qPrefPrivate.h" static const QString group = QStringLiteral("LocationService"); diff --git a/core/settings/qPrefPartialPressureGas.cpp b/core/settings/qPrefPartialPressureGas.cpp index b90bd32c2..8d86899dc 100644 --- a/core/settings/qPrefPartialPressureGas.cpp +++ b/core/settings/qPrefPartialPressureGas.cpp @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -#include "qPref.h" +#include "qPrefPartialPressureGas.h" #include "qPrefPrivate.h" static const QString group = QStringLiteral("TecDetails"); diff --git a/core/settings/qPrefProxy.cpp b/core/settings/qPrefProxy.cpp index 540d64dde..a1b491c10 100644 --- a/core/settings/qPrefProxy.cpp +++ b/core/settings/qPrefProxy.cpp @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -#include "qPref.h" +#include "qPrefProxy.h" #include "qPrefPrivate.h" #include <QNetworkProxy> diff --git a/core/settings/qPrefTechnicalDetails.cpp b/core/settings/qPrefTechnicalDetails.cpp index 9482ba54d..038b5a9fc 100644 --- a/core/settings/qPrefTechnicalDetails.cpp +++ b/core/settings/qPrefTechnicalDetails.cpp @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -#include "qPref.h" +#include "qPrefTechnicalDetails.h" #include "qPrefPrivate.h" diff --git a/core/settings/qPrefUnit.cpp b/core/settings/qPrefUnit.cpp index a762940da..c48421fd4 100644 --- a/core/settings/qPrefUnit.cpp +++ b/core/settings/qPrefUnit.cpp @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -#include "qPref.h" +#include "qPrefUnit.h" #include "qPrefPrivate.h" diff --git a/core/settings/qPrefUpdateManager.cpp b/core/settings/qPrefUpdateManager.cpp index e6eac1e6a..2b2bb373d 100644 --- a/core/settings/qPrefUpdateManager.cpp +++ b/core/settings/qPrefUpdateManager.cpp @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -#include "qPref.h" +#include "qPrefUpdateManager.h" #include "qPrefPrivate.h" |