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/signencryptjob.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/qt/src/signencryptjob.h') diff --git a/lang/qt/src/signencryptjob.h b/lang/qt/src/signencryptjob.h index 86e0a9d9..61ab5c69 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 &signers, + virtual GpgME::Error start(const std::vector &signers, const std::vector &recipients, const QByteArray &plainText, bool alwaysTrust = false) = 0; -- cgit v1.2.3