aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/tests/t-support.h
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2022-01-13 10:36:35 +0000
committerIngo Klöcker <[email protected]>2022-01-13 10:36:35 +0000
commita54402fc2d1c1364843d3c88b5b07dbb7fc007d1 (patch)
tree3f0bc1f57400b8e0a122a1160e04b6bd5cb353d7 /lang/qt/tests/t-support.h
parentcpp: Add interactor to add existing subkeys to other keys (diff)
downloadgpgme-a54402fc2d1c1364843d3c88b5b07dbb7fc007d1.tar.gz
gpgme-a54402fc2d1c1364843d3c88b5b07dbb7fc007d1.zip
qt,tests: Add asyncDone signal to base class of all tests
* lang/qt/tests/t-support.h (class QGpgMETest): Add signal asyncDone. * lang/qt/tests/t-changeexpiryjob.cpp, lang/qt/tests/t-encrypt.cpp, lang/qt/tests/t-import.cpp, lang/qt/tests/t-keylist.cpp, lang/qt/tests/t-keylocate.cpp, lang/qt/tests/t-ownertrust.cpp, lang/qt/tests/t-remarks.cpp, lang/qt/tests/t-tofuinfo.cpp, lang/qt/tests/t-trustsignatures.cpp, lang/qt/tests/t-various.cpp, lang/qt/tests/t-wkdlookup.cpp, lang/qt/tests/t-wkspublish.cpp: Remove signal asyncDone from the test classes. -- This reduces duplication and makes it possible to use the signal in the base class. GnuPG-bug-id: 5770
Diffstat (limited to 'lang/qt/tests/t-support.h')
-rw-r--r--lang/qt/tests/t-support.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/qt/tests/t-support.h b/lang/qt/tests/t-support.h
index 8435de5b..0cff0c17 100644
--- a/lang/qt/tests/t-support.h
+++ b/lang/qt/tests/t-support.h
@@ -69,6 +69,10 @@ bool loopbackSupported();
class QGpgMETest : public QObject
{
Q_OBJECT
+
+Q_SIGNALS:
+ void asyncDone();
+
protected:
static bool doOnlineTests();