33 #ifndef __KLEO_TQGPGMEDECRYPTVERIFYJOB_H__
34 #define __KLEO_TQGPGMEDECRYPTVERIFYJOB_H__
36 #include <kleo/decryptverifyjob.h>
38 #include "qgpgmejob.h"
40 #include <tqcstring.h>
41 #include <tdemacros.h>
50 class TDE_EXPORT QGpgMEDecryptVerifyJob : public DecryptVerifyJob, private QGpgMEJob {
54 QGpgMEDecryptVerifyJob( GpgME::Context * context );
55 ~QGpgMEDecryptVerifyJob();
58 GpgME::Error start( const TQByteArray & cipherText );
61 std::pair<GpgME::DecryptionResult,GpgME::VerificationResult>
62 exec( const TQByteArray & cipherText, TQByteArray & plainText );
65 void slotOperationDoneEvent( GpgME::Context * context, const GpgME::Error & e ) {
70 void doOperationDoneEvent( const GpgME::Error & e );
71 void setup( const TQByteArray & );
void doSlotOperationDoneEvent(GpgME::Context *context, const GpgME::Error &e)
|