certmanager/lib
- certmanager
- lib
- backends
- qgpgme
33#ifndef __KLEO_TQGPGMEENCRYPTJOB_H__
34#define __KLEO_TQGPGMEENCRYPTJOB_H__
36#include <kleo/encryptjob.h>
40#include <gpgmepp/encryptionresult.h>
56 QGpgMEEncryptJob( GpgME::Context * context );
60 GpgME::Error start( const std::vector<GpgME::Key> & recipients,
61 const TQByteArray & plainText, bool alwaysTrust );
64 GpgME::EncryptionResult exec( const std::vector<GpgME::Key> & recipients,
65 const TQByteArray & plainText, bool alwaysTrust,
66 TQByteArray & cipherText );
69 void showErrorDialog( TQWidget * parent, const TQString & caption ) const;
72 void slotOperationDoneEvent( GpgME::Context * context, const GpgME::Error & e ) {
78 void doOperationDoneEvent( const GpgME::Error & e );
79 void setup( const TQByteArray & );
82 GpgME::EncryptionResult mResult;
An abstract base class for asynchronous encrypters.
This is a hackish helper class to avoid code duplication in this backend's Kleo::Job subclasses.
void doSlotOperationDoneEvent(GpgME::Context *context, const GpgME::Error &e)
|