aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2021-01-04 12:35:24 +0000
committerAndre Heinecke <[email protected]>2021-01-04 12:35:24 +0000
commit543e2106386f00ebecf7653e7896fa12a6e828ff (patch)
treebb445e6351a5ef4071f849605db211310580828a
parentpython: Fix key_export*. (diff)
downloadgpgme-543e2106386f00ebecf7653e7896fa12a6e828ff.tar.gz
gpgme-543e2106386f00ebecf7653e7896fa12a6e828ff.zip
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.
Diffstat (limited to '')
-rw-r--r--lang/qt/src/encryptjob.h2
-rw-r--r--lang/qt/src/signjob.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lang/qt/src/encryptjob.h b/lang/qt/src/encryptjob.h
index 161a7694..937ee8d6 100644
--- a/lang/qt/src/encryptjob.h
+++ b/lang/qt/src/encryptjob.h
@@ -90,7 +90,7 @@ public:
not be performed, but full validity assumed for all keys
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;
/*!
diff --git a/lang/qt/src/signjob.h b/lang/qt/src/signjob.h
index b5b5af6f..57d2d17b 100644
--- a/lang/qt/src/signjob.h
+++ b/lang/qt/src/signjob.h
@@ -85,7 +85,7 @@ public:
Starts the signing operation. \a signers is the list of keys to
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,
GpgME::SignatureMode mode) = 0;