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 <tdepimmacros.h> 50 class KDE_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 ) { 66 QGpgMEJob::doSlotOperationDoneEvent( context, e ); 70 void doOperationDoneEvent( const GpgME::Error & e ); 71 void setup( const TQByteArray & ); 76 #endif // __KLEO_TQGPGMEDECRYPTVERIFYJOB_H__
|