aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/qgpgmekeylistjob.cpp
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-08-25 14:22:12 +0000
committerAndre Heinecke <[email protected]>2016-08-25 14:22:12 +0000
commit4e37d0bb1255558ce20e1a5ac83a2d06a37f8b0b (patch)
tree91da58445c232dbd2fb815ed7b7e9e3e379dc1d8 /lang/qt/src/qgpgmekeylistjob.cpp
parentqt: Ensure that current src dir is included first (diff)
downloadgpgme-4e37d0bb1255558ce20e1a5ac83a2d06a37f8b0b.tar.gz
gpgme-4e37d0bb1255558ce20e1a5ac83a2d06a37f8b0b.zip
qt: Add generic flag support for keylistjobs
* lang/qt/src/keylistjob.h (addMode): New. * lang/qt/src/qgpgmekeylistjob.h (addMode): New. * lang/qt/src/qgpgmekeylistjob.cpp (addMode: New. -- Instead of new API for each new thing lets be a bit more generic / open.
Diffstat (limited to 'lang/qt/src/qgpgmekeylistjob.cpp')
-rw-r--r--lang/qt/src/qgpgmekeylistjob.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/qt/src/qgpgmekeylistjob.cpp b/lang/qt/src/qgpgmekeylistjob.cpp
index 49a3c037..1169c46a 100644
--- a/lang/qt/src/qgpgmekeylistjob.cpp
+++ b/lang/qt/src/qgpgmekeylistjob.cpp
@@ -151,6 +151,11 @@ void QGpgMEKeyListJob::resultHook(const result_type &tuple)
Q_EMIT nextKey(key);
}
}
+
+void QGpgMEKeyListJob::addMode(KeyListMode mode)
+{
+ context()->addKeyListMode(mode);
+}
#if 0
void QGpgMEKeyListJob::showErrorDialog(QWidget *parent, const QString &caption) const
{