summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-09-08 19:46:11 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-11 17:25:00 -0700
commit2385f48c6a74e6eb39b3c8c69766719c05768113 (patch)
tree28295bc458729797fe575269b0d6c67f1ad16c05 /tests
parent1ee726597239db4e1fd66b5ad70983a127280414 (diff)
downloadsubsurface-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 'tests')
-rw-r--r--tests/testparseperformance.cpp3
-rw-r--r--tests/testqPrefCloudStorage.cpp2
-rw-r--r--tests/testqPrefDisplay.cpp2
-rw-r--r--tests/testqPrefDiveComputer.cpp2
-rw-r--r--tests/testqPrefDivePlanner.cpp2
-rw-r--r--tests/testqPrefFacebook.cpp2
-rw-r--r--tests/testqPrefGeneral.cpp2
-rw-r--r--tests/testqPrefGeocoding.cpp2
-rw-r--r--tests/testqPrefLanguage.cpp2
-rw-r--r--tests/testqPrefLocationService.cpp2
-rw-r--r--tests/testqPrefPartialPressureGas.cpp2
-rw-r--r--tests/testqPrefProxy.cpp2
-rw-r--r--tests/testqPrefTechnicalDetails.cpp2
-rw-r--r--tests/testqPrefUnits.cpp2
-rw-r--r--tests/testqPrefUpdateManager.cpp2
15 files changed, 16 insertions, 15 deletions
diff --git a/tests/testparseperformance.cpp b/tests/testparseperformance.cpp
index c31304f42..b7b032f38 100644
--- a/tests/testparseperformance.cpp
+++ b/tests/testparseperformance.cpp
@@ -3,7 +3,8 @@
#include "core/dive.h"
#include "core/divelist.h"
#include "core/git-access.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefProxy.h"
+#include "core/settings/qPrefCloudStorage.h"
#include <QFile>
#include <QDebug>
#include <QNetworkProxy>
diff --git a/tests/testqPrefCloudStorage.cpp b/tests/testqPrefCloudStorage.cpp
index 7e67966b3..3a20babea 100644
--- a/tests/testqPrefCloudStorage.cpp
+++ b/tests/testqPrefCloudStorage.cpp
@@ -3,7 +3,7 @@
#include "core/pref.h"
#include "core/qthelper.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefCloudStorage.h"
#include <QTest>
diff --git a/tests/testqPrefDisplay.cpp b/tests/testqPrefDisplay.cpp
index cf111f6e3..d0a7d1321 100644
--- a/tests/testqPrefDisplay.cpp
+++ b/tests/testqPrefDisplay.cpp
@@ -3,7 +3,7 @@
#include "core/pref.h"
#include "core/qthelper.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefDisplay.h"
#include <QDate>
#include <QTest>
diff --git a/tests/testqPrefDiveComputer.cpp b/tests/testqPrefDiveComputer.cpp
index 5a26ffdac..b7b1c1dd7 100644
--- a/tests/testqPrefDiveComputer.cpp
+++ b/tests/testqPrefDiveComputer.cpp
@@ -3,7 +3,7 @@
#include "core/pref.h"
#include "core/qthelper.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefDiveComputer.h"
#include <QTest>
diff --git a/tests/testqPrefDivePlanner.cpp b/tests/testqPrefDivePlanner.cpp
index a33033766..d5339737d 100644
--- a/tests/testqPrefDivePlanner.cpp
+++ b/tests/testqPrefDivePlanner.cpp
@@ -3,7 +3,7 @@
#include "core/pref.h"
#include "core/qthelper.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefDivePlanner.h"
#include <QTest>
diff --git a/tests/testqPrefFacebook.cpp b/tests/testqPrefFacebook.cpp
index ef39d704c..ebb2e4f02 100644
--- a/tests/testqPrefFacebook.cpp
+++ b/tests/testqPrefFacebook.cpp
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
#include "testqPrefFacebook.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefFacebook.h"
#include "core/pref.h"
#include "core/qthelper.h"
diff --git a/tests/testqPrefGeneral.cpp b/tests/testqPrefGeneral.cpp
index c26616e90..fc364e78c 100644
--- a/tests/testqPrefGeneral.cpp
+++ b/tests/testqPrefGeneral.cpp
@@ -3,7 +3,7 @@
#include "core/pref.h"
#include "core/qthelper.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefGeneral.h"
#include <QTest>
diff --git a/tests/testqPrefGeocoding.cpp b/tests/testqPrefGeocoding.cpp
index d7c311474..882a2b919 100644
--- a/tests/testqPrefGeocoding.cpp
+++ b/tests/testqPrefGeocoding.cpp
@@ -3,7 +3,7 @@
#include "core/pref.h"
#include "core/qthelper.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefGeocoding.h"
#include <QTest>
diff --git a/tests/testqPrefLanguage.cpp b/tests/testqPrefLanguage.cpp
index 3f6db017e..1db5c53b1 100644
--- a/tests/testqPrefLanguage.cpp
+++ b/tests/testqPrefLanguage.cpp
@@ -3,7 +3,7 @@
#include "core/pref.h"
#include "core/qthelper.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefLanguage.h"
#include <QTest>
diff --git a/tests/testqPrefLocationService.cpp b/tests/testqPrefLocationService.cpp
index 3c0d33fc3..fbd374a4b 100644
--- a/tests/testqPrefLocationService.cpp
+++ b/tests/testqPrefLocationService.cpp
@@ -3,7 +3,7 @@
#include "core/pref.h"
#include "core/qthelper.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefLocationService.h"
#include <QTest>
diff --git a/tests/testqPrefPartialPressureGas.cpp b/tests/testqPrefPartialPressureGas.cpp
index 5e5c090ab..a98b1c2e0 100644
--- a/tests/testqPrefPartialPressureGas.cpp
+++ b/tests/testqPrefPartialPressureGas.cpp
@@ -3,7 +3,7 @@
#include "core/pref.h"
#include "core/qthelper.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefPartialPressureGas.h"
#include <QTest>
diff --git a/tests/testqPrefProxy.cpp b/tests/testqPrefProxy.cpp
index 921565d2f..089fb5a41 100644
--- a/tests/testqPrefProxy.cpp
+++ b/tests/testqPrefProxy.cpp
@@ -3,7 +3,7 @@
#include "core/pref.h"
#include "core/qthelper.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefProxy.h"
#include <QTest>
diff --git a/tests/testqPrefTechnicalDetails.cpp b/tests/testqPrefTechnicalDetails.cpp
index 328541102..0cbc73b0e 100644
--- a/tests/testqPrefTechnicalDetails.cpp
+++ b/tests/testqPrefTechnicalDetails.cpp
@@ -3,7 +3,7 @@
#include "core/pref.h"
#include "core/qthelper.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefTechnicalDetails.h"
#include <QTest>
diff --git a/tests/testqPrefUnits.cpp b/tests/testqPrefUnits.cpp
index 5291afa14..6e54808cb 100644
--- a/tests/testqPrefUnits.cpp
+++ b/tests/testqPrefUnits.cpp
@@ -3,7 +3,7 @@
#include "core/pref.h"
#include "core/qthelper.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefUnit.h"
#include <QTest>
diff --git a/tests/testqPrefUpdateManager.cpp b/tests/testqPrefUpdateManager.cpp
index 4dc3c2696..4d274d553 100644
--- a/tests/testqPrefUpdateManager.cpp
+++ b/tests/testqPrefUpdateManager.cpp
@@ -3,7 +3,7 @@
#include "core/pref.h"
#include "core/qthelper.h"
-#include "core/settings/qPref.h"
+#include "core/settings/qPrefUpdateManager.h"
#include <QTest>