aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/VerifyDetailsDialog.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/VerifyDetailsDialog.h (renamed from include/ui/VerifyDetailsDialog.h)46
1 files changed, 26 insertions, 20 deletions
diff --git a/include/ui/VerifyDetailsDialog.h b/src/ui/VerifyDetailsDialog.h
index a66667c0..3d201194 100644
--- a/include/ui/VerifyDetailsDialog.h
+++ b/src/ui/VerifyDetailsDialog.h
@@ -25,29 +25,35 @@
#ifndef __VERIFYDETAILSDIALOG_H__
#define __VERIFYDETAILSDIALOG_H__
+#include "ui/GpgFrontendUI.h"
#include "ui/widgets/EditorPage.h"
#include "ui/widgets/VerifyKeyDetailBox.h"
+namespace GpgFrontend::UI {
+
class VerifyDetailsDialog : public QDialog {
-Q_OBJECT
-public:
- explicit VerifyDetailsDialog(QWidget *parent, GpgFrontend::GpgContext *ctx, KeyList *keyList, gpg_error_t error,
- gpgme_verify_result_t result);
-
-private slots:
-
- void slotRefresh();
-
-private:
- GpgFrontend::GpgContext *mCtx;
- KeyList *mKeyList;
- QHBoxLayout *mainLayout;
- QWidget *mVbox{};
- QByteArray *mInputData{}; /** Data to be verified */
- QByteArray *mInputSignature{}; /** Data to be verified */
- QDialogButtonBox *buttonBox{};
- gpgme_signature_t sign;
- gpgme_error_t error;
+ Q_OBJECT
+ public:
+ explicit VerifyDetailsDialog(QWidget* parent,
+ KeyList* keyList,
+ GpgError error,
+ GpgVerifyResult result);
+
+ private slots:
+
+ void slotRefresh();
+
+ private:
+ KeyList* mKeyList;
+ QHBoxLayout* mainLayout;
+ QWidget* mVbox{};
+ QByteArray* mInputData{}; /** Data to be verified */
+ QByteArray* mInputSignature{}; /** Data to be verified */
+ QDialogButtonBox* buttonBox{};
+ GpgVerifyResult mResult;
+ gpgme_error_t error;
};
-#endif // __VERIFYDETAILSDIALOG_H__
+} // namespace GpgFrontend::UI
+
+#endif // __VERIFYDETAILSDIALOG_H__