diff options
author | Saturneric <[email protected]> | 2021-10-02 14:08:50 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-10-02 14:16:27 +0000 |
commit | 3c65d087eeee687ac01af2e80f3dd538f9a2c230 (patch) | |
tree | 1e860dc6343c1897e2224a002f2ca44c574381b3 /src/ui/VerifyDetailsDialog.h | |
parent | The basic functions of the core pass the test. (diff) | |
download | GpgFrontend-3c65d087eeee687ac01af2e80f3dd538f9a2c230.tar.gz GpgFrontend-3c65d087eeee687ac01af2e80f3dd538f9a2c230.zip |
UI Framework Modified.
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__ |