diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2019-03-31 15:02:03 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-12 12:59:17 +0300 |
commit | 2b9ca488fd18dc9d65d42dc5900e120a07e5b3f6 (patch) | |
tree | b1aa85f5353b58f0d8ff903fa3e4cd86a054c948 /tests/testqPrefPartialPressureGas.cpp | |
parent | 4c26bd55229de8378fb4a63b885ba6e9b9fe4f91 (diff) | |
download | subsurface-2b9ca488fd18dc9d65d42dc5900e120a07e5b3f6.tar.gz |
tests: use new style syntax to connect QSignalSpy
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
Diffstat (limited to 'tests/testqPrefPartialPressureGas.cpp')
-rw-r--r-- | tests/testqPrefPartialPressureGas.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/testqPrefPartialPressureGas.cpp b/tests/testqPrefPartialPressureGas.cpp index 31b1850c7..fa68270e9 100644 --- a/tests/testqPrefPartialPressureGas.cpp +++ b/tests/testqPrefPartialPressureGas.cpp @@ -187,13 +187,13 @@ void TestQPrefPartialPressureGas::test_oldPreferences() void TestQPrefPartialPressureGas::test_signals() { - QSignalSpy spy1(qPrefPartialPressureGas::instance(), SIGNAL(pheChanged(bool))); - QSignalSpy spy2(qPrefPartialPressureGas::instance(), SIGNAL(phe_thresholdChanged(double))); - QSignalSpy spy3(qPrefPartialPressureGas::instance(), SIGNAL(pn2Changed(bool))); - QSignalSpy spy4(qPrefPartialPressureGas::instance(), SIGNAL(pn2_thresholdChanged(double))); - QSignalSpy spy5(qPrefPartialPressureGas::instance(), SIGNAL(po2Changed(bool))); - QSignalSpy spy6(qPrefPartialPressureGas::instance(), SIGNAL(po2_threshold_maxChanged(double))); - QSignalSpy spy7(qPrefPartialPressureGas::instance(), SIGNAL(po2_threshold_minChanged(double))); + QSignalSpy spy1(qPrefPartialPressureGas::instance(), &qPrefPartialPressureGas::pheChanged); + QSignalSpy spy2(qPrefPartialPressureGas::instance(), &qPrefPartialPressureGas::phe_thresholdChanged); + QSignalSpy spy3(qPrefPartialPressureGas::instance(), &qPrefPartialPressureGas::pn2Changed); + QSignalSpy spy4(qPrefPartialPressureGas::instance(), &qPrefPartialPressureGas::pn2_thresholdChanged); + QSignalSpy spy5(qPrefPartialPressureGas::instance(), &qPrefPartialPressureGas::po2Changed); + QSignalSpy spy6(qPrefPartialPressureGas::instance(), &qPrefPartialPressureGas::po2_threshold_maxChanged); + QSignalSpy spy7(qPrefPartialPressureGas::instance(), &qPrefPartialPressureGas::po2_threshold_minChanged); prefs.pp_graphs.phe = true; qPrefPartialPressureGas::set_phe(false); |