Qt: Undeprecate QByteArray based start functs
* lang/qt/src/encryptjob.h, lang/qt/src/signjob.h (start): Undeprecate QByteArray based functions. -- While the QIODevice access might avoid a copy it is more difficult to manage the data and lifetime of the QIODevices in calling code. The QByteArray calls are convienient for small data objects like mails where an in memory copy is not really expensive anymore.
This commit is contained in:
parent
7a4fe82a01
commit
543e210638
@ -90,7 +90,7 @@ public:
|
|||||||
not be performed, but full validity assumed for all keys
|
not be performed, but full validity assumed for all keys
|
||||||
without further checks.
|
without further checks.
|
||||||
*/
|
*/
|
||||||
virtual QGPGME_DEPRECATED_EXPORT GpgME::Error start(const std::vector<GpgME::Key> &recipients,
|
virtual GpgME::Error start(const std::vector<GpgME::Key> &recipients,
|
||||||
const QByteArray &plainText, bool alwaysTrust = false) = 0;
|
const QByteArray &plainText, bool alwaysTrust = false) = 0;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -85,7 +85,7 @@ public:
|
|||||||
Starts the signing operation. \a signers is the list of keys to
|
Starts the signing operation. \a signers is the list of keys to
|
||||||
sign \a plainText with. Empty (null) keys are ignored.
|
sign \a plainText with. Empty (null) keys are ignored.
|
||||||
*/
|
*/
|
||||||
virtual QGPGME_DEPRECATED_EXPORT GpgME::Error start(const std::vector<GpgME::Key> &signers,
|
virtual GpgME::Error start(const std::vector<GpgME::Key> &signers,
|
||||||
const QByteArray &plainText,
|
const QByteArray &plainText,
|
||||||
GpgME::SignatureMode mode) = 0;
|
GpgME::SignatureMode mode) = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user