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:
parent
b56f398eff
commit
cc2ef3d07c
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
/*!
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user