35 #ifndef __QGPGME_QGPGMEENCRYPTJOB_H__ 36 #define __QGPGME_QGPGMEENCRYPTJOB_H__ 38 #include "encryptjob.h" 40 #include "threadedjobmixin.h" 42 #ifdef BUILDING_QGPGME 43 # include "encryptionresult.h" 45 #include <gpgme++/encryptionresult.h> 47 #ifdef BUILDING_QGPGME 50 #include <gpgme++/key.h> 73 GpgME::Error
start(
const std::vector<GpgME::Key> &recipients,
74 const QByteArray &plainText,
bool alwaysTrust) Q_DECL_OVERRIDE;
77 void start(
const std::vector<GpgME::Key> &recipients,
78 const std::shared_ptr<QIODevice> &plainText,
79 const std::shared_ptr<QIODevice> &cipherText,
80 bool alwaysTrust) Q_DECL_OVERRIDE;
83 GpgME::EncryptionResult exec(
const std::vector<GpgME::Key> &recipients,
84 const QByteArray &plainText,
bool alwaysTrust,
85 QByteArray &cipherText) Q_DECL_OVERRIDE;
87 void start(
const std::vector<GpgME::Key> &recipients,
88 const std::shared_ptr<QIODevice> &plainText,
89 const std::shared_ptr<QIODevice> &cipherText,
90 const GpgME::Context::EncryptionFlags flags) Q_DECL_OVERRIDE;
93 GpgME::EncryptionResult exec(
const std::vector<GpgME::Key> &recipients,
94 const QByteArray &plainText,
const GpgME::Context::EncryptionFlags flags,
95 QByteArray &cipherText) Q_DECL_OVERRIDE;
101 void resultHook(
const result_type &r) Q_DECL_OVERRIDE;
104 bool mOutputIsBase64Encoded;
105 GpgME::EncryptionResult mResult;
110 #endif // __QGPGME_QGPGMEENCRYPTJOB_H__ void setOutputIsBase64Encoded(bool on) Q_DECL_OVERRIDE
Definition: qgpgmeencryptjob.cpp:64
An abstract base class for asynchronous encrypters.
Definition: encryptjob.h:75
Definition: qgpgmeencryptjob.h:56
Definition: threadedjobmixin.h:124
GpgME::Error start(const std::vector< GpgME::Key > &recipients, const QByteArray &plainText, bool alwaysTrust) Q_DECL_OVERRIDE
Definition: abstractimportjob.h:48