[Pkg-gnupg-commit] [gpgme] 33/103: qt: Undeprecate API that I find useful
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Dec 14 18:53:01 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gpgme.
commit cc2ef3d07c0d261bb9e8e8c0f2706e1a08e4ec53
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Wed May 10 10:22:23 2017 +0200
qt: Undeprecate API that I find useful
* lang/qt/src/decryptjob.h,
lang/qt/src/decryptverifyjob.h,
lang/qt/src/signencryptjob.h,
lang/qt/src/verifydetachedjob.h,
lang/qt/src/verifyopaquejob.h: Undeprecate ByteArray based API.
--
While an IODevice may be more performant the ByteArray API is
a very easy way to get started with QGpgME as it allows you
basically to encrypt / decrypt any QString.
This also fixes a ton of deprecation warnings in KDE where this
API is used all over the place.
---
lang/qt/src/decryptjob.h | 2 +-
lang/qt/src/decryptverifyjob.h | 2 +-
lang/qt/src/signencryptjob.h | 2 +-
lang/qt/src/verifydetachedjob.h | 2 +-
lang/qt/src/verifyopaquejob.h | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/lang/qt/src/decryptjob.h b/lang/qt/src/decryptjob.h
index 11584db..7753e18 100644
--- a/lang/qt/src/decryptjob.h
+++ b/lang/qt/src/decryptjob.h
@@ -76,7 +76,7 @@ public:
Starts the decryption operation. \a cipherText is the data to
decrypt.
*/
- virtual QGPGME_DEPRECATED_EXPORT GpgME::Error start(const QByteArray &cipherText) = 0;
+ virtual GpgME::Error start(const QByteArray &cipherText) = 0;
/*!
\overload
diff --git a/lang/qt/src/decryptverifyjob.h b/lang/qt/src/decryptverifyjob.h
index c3fcf02..e5c4346 100644
--- a/lang/qt/src/decryptverifyjob.h
+++ b/lang/qt/src/decryptverifyjob.h
@@ -77,7 +77,7 @@ public:
Starts the combined decryption and verification operation.
\a cipherText is the data to decrypt and later verify.
*/
- virtual QGPGME_DEPRECATED_EXPORT GpgME::Error start(const QByteArray &cipherText) = 0;
+ virtual GpgME::Error start(const QByteArray &cipherText) = 0;
/*!
\overload
diff --git a/lang/qt/src/signencryptjob.h b/lang/qt/src/signencryptjob.h
index 86e0a9d..61ab5c6 100644
--- a/lang/qt/src/signencryptjob.h
+++ b/lang/qt/src/signencryptjob.h
@@ -95,7 +95,7 @@ public:
\em recipient keys will not be performed, but full validity
assumed for all \em recipient keys without further checks.
*/
- virtual QGPGME_DEPRECATED_EXPORT GpgME::Error start(const std::vector<GpgME::Key> &signers,
+ virtual GpgME::Error start(const std::vector<GpgME::Key> &signers,
const std::vector<GpgME::Key> &recipients,
const QByteArray &plainText,
bool alwaysTrust = false) = 0;
diff --git a/lang/qt/src/verifydetachedjob.h b/lang/qt/src/verifydetachedjob.h
index a9b7cf4..2293f3a 100644
--- a/lang/qt/src/verifydetachedjob.h
+++ b/lang/qt/src/verifydetachedjob.h
@@ -78,7 +78,7 @@ public:
signature data, while \a signedData contains the data over
which the signature was made.
*/
- virtual QGPGME_DEPRECATED_EXPORT GpgME::Error start(const QByteArray &signature,
+ virtual GpgME::Error start(const QByteArray &signature,
const QByteArray &signedData) = 0;
/*!
diff --git a/lang/qt/src/verifyopaquejob.h b/lang/qt/src/verifyopaquejob.h
index 0ff8582..bfa34e9 100644
--- a/lang/qt/src/verifyopaquejob.h
+++ b/lang/qt/src/verifyopaquejob.h
@@ -77,7 +77,7 @@ public:
signature data, while \a signedData contains the data over
which the signature was made.
*/
- virtual QGPGME_DEPRECATED_EXPORT GpgME::Error start(const QByteArray &signedData) = 0;
+ virtual GpgME::Error start(const QByteArray &signedData) = 0;
/*!
\overload
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list