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.
This commit is contained in:
Andre Heinecke 2017-05-10 10:22:23 +02:00
parent b56f398eff
commit cc2ef3d07c
No known key found for this signature in database
GPG Key ID: 1FDF723CF462B6B1
5 changed files with 5 additions and 5 deletions

View File

@ -76,7 +76,7 @@ public:
Starts the decryption operation. \a cipherText is the data to Starts the decryption operation. \a cipherText is the data to
decrypt. decrypt.
*/ */
virtual QGPGME_DEPRECATED_EXPORT GpgME::Error start(const QByteArray &cipherText) = 0; virtual GpgME::Error start(const QByteArray &cipherText) = 0;
/*! /*!
\overload \overload

View File

@ -77,7 +77,7 @@ public:
Starts the combined decryption and verification operation. Starts the combined decryption and verification operation.
\a cipherText is the data to decrypt and later verify. \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 \overload

View File

@ -95,7 +95,7 @@ public:
\em recipient keys will not be performed, but full validity \em recipient keys will not be performed, but full validity
assumed for all \em recipient keys without further checks. 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 std::vector<GpgME::Key> &recipients,
const QByteArray &plainText, const QByteArray &plainText,
bool alwaysTrust = false) = 0; bool alwaysTrust = false) = 0;

View File

@ -78,7 +78,7 @@ public:
signature data, while \a signedData contains the data over signature data, while \a signedData contains the data over
which the signature was made. 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; const QByteArray &signedData) = 0;
/*! /*!

View File

@ -77,7 +77,7 @@ public:
signature data, while \a signedData contains the data over signature data, while \a signedData contains the data over
which the signature was made. 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 \overload