aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/qt/tests/t-keylist.cpp2
-rw-r--r--lang/qt/tests/t-keylocate.cpp4
-rw-r--r--lang/qt/tests/t-ownertrust.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/lang/qt/tests/t-keylist.cpp b/lang/qt/tests/t-keylist.cpp
index 40cb13c0..5d63fcab 100644
--- a/lang/qt/tests/t-keylist.cpp
+++ b/lang/qt/tests/t-keylist.cpp
@@ -69,7 +69,7 @@ private Q_SLOTS:
Q_EMIT asyncDone();
});
job->start(QStringList() << "[email protected]");
- QSignalSpy spy (this, &KeyListTest::asyncDone);
+ QSignalSpy spy (this, SIGNAL(asyncDone()));
Q_ASSERT(spy.wait());
}
diff --git a/lang/qt/tests/t-keylocate.cpp b/lang/qt/tests/t-keylocate.cpp
index 12ab551a..682f722c 100644
--- a/lang/qt/tests/t-keylocate.cpp
+++ b/lang/qt/tests/t-keylocate.cpp
@@ -80,7 +80,7 @@ private Q_SLOTS:
Q_EMIT asyncDone();
});
job->start(QStringList() << mTestpattern);
- QSignalSpy spy (this, &KeyLocateTest::asyncDone);
+ QSignalSpy spy (this, SIGNAL(asyncDone()));
Q_ASSERT(spy.wait());
qputenv("GNUPGHOME", oldHome.toUtf8());
}
@@ -111,7 +111,7 @@ private Q_SLOTS:
Q_EMIT asyncDone();
});
job->start(QStringList() << mTestpattern);
- QSignalSpy spy (this, &KeyLocateTest::asyncDone);
+ QSignalSpy spy (this, SIGNAL(asyncDone()));
Q_ASSERT(spy.wait());
}
diff --git a/lang/qt/tests/t-ownertrust.cpp b/lang/qt/tests/t-ownertrust.cpp
index eb6c3db3..9a0c1cd0 100644
--- a/lang/qt/tests/t-ownertrust.cpp
+++ b/lang/qt/tests/t-ownertrust.cpp
@@ -70,7 +70,7 @@ private Q_SLOTS:
Q_EMIT asyncDone();
});
job2->start(key, Key::Ultimate);
- QSignalSpy spy (this, &ChangeOwnerTrustTest::asyncDone);
+ QSignalSpy spy (this, SIGNAL(asyncDone()));
Q_ASSERT(spy.wait());
job = openpgp()->keyListJob(false, true, true);