aboutsummaryrefslogtreecommitdiffstats
path: root/include/gpg/result_analyse/VerifyResultAnalyse.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpg/result_analyse/VerifyResultAnalyse.h')
-rw-r--r--include/gpg/result_analyse/VerifyResultAnalyse.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/include/gpg/result_analyse/VerifyResultAnalyse.h b/include/gpg/result_analyse/VerifyResultAnalyse.h
index 7c4faf3c..2041940b 100644
--- a/include/gpg/result_analyse/VerifyResultAnalyse.h
+++ b/include/gpg/result_analyse/VerifyResultAnalyse.h
@@ -8,27 +8,19 @@
#include "gpg/GpgContext.h"
#include "gpg/GpgKeySignature.h"
-class VerifyResultAnalyse {
-public:
-
- explicit VerifyResultAnalyse(GpgME::GpgContext *ctx, gpgme_signature_t signature);
+#include "ResultAnalyse.h"
- [[nodiscard]] const QString &getResultReport() const;
+class VerifyResultAnalyse : public ResultAnalyse{
+public:
- [[nodiscard]] int getStatus() const;
+ explicit VerifyResultAnalyse(GpgME::GpgContext *ctx, gpgme_error_t error, gpgme_verify_result_t result);
private:
GpgME::GpgContext *mCtx;
- QString verifyLabelText;
- QTextStream textSteam{&verifyLabelText};
-
- int status = 1;
bool printSigner(QTextStream &stream, gpgme_signature_t sign);
- void setStatus(int mStatus);
-
};