34 #ifndef __QGPGME_QGPGMEENCRYPTJOB_H__ 35 #define __QGPGME_QGPGMEENCRYPTJOB_H__ 37 #include "encryptjob.h" 39 #include "threadedjobmixin.h" 41 #ifdef BUILDING_QGPGME 42 # include "encryptionresult.h" 44 #include <gpgme++/encryptionresult.h> 46 #ifdef BUILDING_QGPGME 49 #include <gpgme++/key.h> 72 GpgME::Error
start(
const std::vector<GpgME::Key> &recipients,
73 const QByteArray &plainText,
bool alwaysTrust) Q_DECL_OVERRIDE;
76 void start(
const std::vector<GpgME::Key> &recipients,
77 const std::shared_ptr<QIODevice> &plainText,
78 const std::shared_ptr<QIODevice> &cipherText,
79 bool alwaysTrust) Q_DECL_OVERRIDE;
82 GpgME::EncryptionResult exec(
const std::vector<GpgME::Key> &recipients,
83 const QByteArray &plainText,
bool alwaysTrust,
84 QByteArray &cipherText) Q_DECL_OVERRIDE;
86 void start(
const std::vector<GpgME::Key> &recipients,
87 const std::shared_ptr<QIODevice> &plainText,
88 const std::shared_ptr<QIODevice> &cipherText,
89 const GpgME::Context::EncryptionFlags flags) Q_DECL_OVERRIDE;
92 GpgME::EncryptionResult exec(
const std::vector<GpgME::Key> &recipients,
93 const QByteArray &plainText,
const GpgME::Context::EncryptionFlags flags,
94 QByteArray &cipherText) Q_DECL_OVERRIDE;
100 void resultHook(
const result_type &r) Q_DECL_OVERRIDE;
103 bool mOutputIsBase64Encoded;
104 GpgME::EncryptionResult mResult;
109 #endif // __QGPGME_QGPGMEENCRYPTJOB_H__ void setOutputIsBase64Encoded(bool on) Q_DECL_OVERRIDE
Definition: qgpgmeencryptjob.cpp:63
An abstract base class for asynchronous encrypters.
Definition: encryptjob.h:74
Definition: qgpgmeencryptjob.h:55
Definition: threadedjobmixin.h:123
GpgME::Error start(const std::vector< GpgME::Key > &recipients, const QByteArray &plainText, bool alwaysTrust) Q_DECL_OVERRIDE
Definition: abstractimportjob.h:47