From 5a5a748e2359bea1636184f1397a5e62010b7b1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Thu, 17 Feb 2022 19:17:13 +0100 Subject: [PATCH] qt,doc: Remove comments about throwing exceptions -- The jobs do not throw GpgME::Exception anymore since a long time. --- lang/qt/src/decryptjob.h | 2 -- lang/qt/src/decryptverifyjob.h | 2 -- lang/qt/src/encryptjob.h | 2 -- lang/qt/src/signencryptjob.h | 2 -- lang/qt/src/signjob.h | 2 -- lang/qt/src/verifydetachedjob.h | 5 ----- lang/qt/src/verifyopaquejob.h | 2 -- 7 files changed, 17 deletions(-) diff --git a/lang/qt/src/decryptjob.h b/lang/qt/src/decryptjob.h index 7753e18b..51954074 100644 --- a/lang/qt/src/decryptjob.h +++ b/lang/qt/src/decryptjob.h @@ -84,8 +84,6 @@ public: If \a plainText is non-null, the plaintext is written there. Otherwise, it will be delivered in the second argument of result(). - - \throws GpgME::Exception if starting fails */ virtual void start(const std::shared_ptr &cipherText, const std::shared_ptr &plainText = std::shared_ptr()) = 0; diff --git a/lang/qt/src/decryptverifyjob.h b/lang/qt/src/decryptverifyjob.h index e5c43464..8444e4d0 100644 --- a/lang/qt/src/decryptverifyjob.h +++ b/lang/qt/src/decryptverifyjob.h @@ -85,8 +85,6 @@ public: If \a plainText is non-null, the plaintext is written there. Otherwise, it will be delivered in the third argument of result(). - - \throws GpgME::Exception if starting fails */ virtual void start(const std::shared_ptr &cipherText, const std::shared_ptr &plainText = std::shared_ptr()) = 0; diff --git a/lang/qt/src/encryptjob.h b/lang/qt/src/encryptjob.h index 937ee8d6..cb572938 100644 --- a/lang/qt/src/encryptjob.h +++ b/lang/qt/src/encryptjob.h @@ -99,8 +99,6 @@ public: If \a cipherText is non-null, the ciphertext is written there. Otherwise, it will be delivered in the second argument of result(). - - \throws GpgME::Exception if starting fails */ virtual void start(const std::vector &recipients, const std::shared_ptr &plainText, diff --git a/lang/qt/src/signencryptjob.h b/lang/qt/src/signencryptjob.h index 61ab5c69..5a056e3c 100644 --- a/lang/qt/src/signencryptjob.h +++ b/lang/qt/src/signencryptjob.h @@ -106,8 +106,6 @@ public: If \a cipherText is non-null, the ciphertext is written there. Otherwise, it will be delivered in the third argument of result(). - - \throws GpgME::Exception if starting fails */ virtual void start(const std::vector &signers, const std::vector &recipients, diff --git a/lang/qt/src/signjob.h b/lang/qt/src/signjob.h index 57d2d17b..c05231cc 100644 --- a/lang/qt/src/signjob.h +++ b/lang/qt/src/signjob.h @@ -95,8 +95,6 @@ public: If \a signature is non-null the signature is written there. Otherwise, it will be delivered in the second argument of result(). - - \throws GpgME::Exception if starting fails */ virtual void start(const std::vector &signers, const std::shared_ptr &plainText, diff --git a/lang/qt/src/verifydetachedjob.h b/lang/qt/src/verifydetachedjob.h index 2293f3ad..12fdfbb0 100644 --- a/lang/qt/src/verifydetachedjob.h +++ b/lang/qt/src/verifydetachedjob.h @@ -81,11 +81,6 @@ public: virtual GpgME::Error start(const QByteArray &signature, const QByteArray &signedData) = 0; - /*! - \overload - - \throws GpgME::Exception if starting fails. - */ virtual void start(const std::shared_ptr &signature, const std::shared_ptr &signedData) = 0; virtual GpgME::VerificationResult exec(const QByteArray &signature, diff --git a/lang/qt/src/verifyopaquejob.h b/lang/qt/src/verifyopaquejob.h index bfa34e92..c9b2247b 100644 --- a/lang/qt/src/verifyopaquejob.h +++ b/lang/qt/src/verifyopaquejob.h @@ -85,8 +85,6 @@ public: If \a plainText is non-null, the plaintext is written there. Otherwise, it will be delivered in the second argument of result(). - - \throws GpgME::Exception if starting fails */ virtual void start(const std::shared_ptr &signedData, const std::shared_ptr &plainText = std::shared_ptr()) = 0;