From cc2ef3d07c0d261bb9e8e8c0f2706e1a08e4ec53 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Wed, 10 May 2017 10:22:23 +0200 Subject: 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/verifydetachedjob.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/qt/src/verifydetachedjob.h') diff --git a/lang/qt/src/verifydetachedjob.h b/lang/qt/src/verifydetachedjob.h index a9b7cf44..2293f3ad 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; /*! -- cgit v1.2.3