diff options
Diffstat (limited to 'lang/qt/src/protocol_p.h')
-rw-r--r-- | lang/qt/src/protocol_p.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/qt/src/protocol_p.h b/lang/qt/src/protocol_p.h index fcb2b30a..b34b7a37 100644 --- a/lang/qt/src/protocol_p.h +++ b/lang/qt/src/protocol_p.h @@ -71,6 +71,7 @@ #include "qgpgmereceivekeysjob.h" #include "qgpgmerevokekeyjob.h" #include "qgpgmesetprimaryuseridjob.h" +#include "qgpgmewkdrefreshjob.h" namespace { @@ -557,6 +558,17 @@ public: } return nullptr; } + + QGpgME::WKDRefreshJob *wkdRefreshJob() const override + { + if (mProtocol != GpgME::OpenPGP) { + return nullptr; + } + if (auto context = GpgME::Context::createForProtocol(mProtocol)) { + return new QGpgME::QGpgMEWKDRefreshJob{context}; + } + return nullptr; + } }; } |