diff options
Diffstat (limited to '')
| -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 a4a33acb..fcb2b30a 100644 --- a/lang/qt/src/protocol_p.h +++ b/lang/qt/src/protocol_p.h @@ -41,6 +41,7 @@  #include "qgpgmekeylistjob.h"  #include "qgpgmelistallkeysjob.h"  #include "qgpgmedecryptjob.h" +#include "qgpgmedecryptverifyarchivejob.h"  #include "qgpgmedecryptverifyjob.h"  #include "qgpgmerefreshsmimekeysjob.h"  #include "qgpgmedeletejob.h" @@ -545,6 +546,17 @@ public:          }          return nullptr;      } + +    QGpgME::DecryptVerifyArchiveJob *decryptVerifyArchiveJob() const override +    { +        if (mProtocol != GpgME::OpenPGP) { +            return nullptr; +        } +        if (auto context = GpgME::Context::createForProtocol(mProtocol)) { +            return new QGpgME::QGpgMEDecryptVerifyArchiveJob{context}; +        } +        return nullptr; +    }  };  }  | 
