aboutsummaryrefslogtreecommitdiffstats
path: root/include/ui/widgets/VerifyKeyDetailBox.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-10-02 14:08:50 +0000
committerSaturneric <[email protected]>2021-10-02 14:16:27 +0000
commit3c65d087eeee687ac01af2e80f3dd538f9a2c230 (patch)
tree1e860dc6343c1897e2224a002f2ca44c574381b3 /include/ui/widgets/VerifyKeyDetailBox.h
parentThe basic functions of the core pass the test. (diff)
downloadGpgFrontend-3c65d087eeee687ac01af2e80f3dd538f9a2c230.tar.gz
GpgFrontend-3c65d087eeee687ac01af2e80f3dd538f9a2c230.zip
UI Framework Modified.
Diffstat (limited to '')
-rw-r--r--src/ui/widgets/VerifyKeyDetailBox.h (renamed from include/ui/widgets/VerifyKeyDetailBox.h)31
1 files changed, 17 insertions, 14 deletions
diff --git a/include/ui/widgets/VerifyKeyDetailBox.h b/src/ui/widgets/VerifyKeyDetailBox.h
index 3c9a6cfe..7a6ded4e 100644
--- a/include/ui/widgets/VerifyKeyDetailBox.h
+++ b/src/ui/widgets/VerifyKeyDetailBox.h
@@ -25,29 +25,32 @@
#ifndef __VERIFYKEYDETAILBOX_H__
#define __VERIFYKEYDETAILBOX_H__
-#include "ui/widgets/KeyList.h"
#include "ui/KeyServerImportDialog.h"
+#include "ui/widgets/KeyList.h"
+
+namespace GpgFrontend::UI {
class VerifyKeyDetailBox : public QGroupBox {
-Q_OBJECT
-public:
- explicit VerifyKeyDetailBox(QWidget *parent, GpgFrontend::GpgContext *ctx, KeyList *mKeyList,
- gpgme_signature_t signature);
+ Q_OBJECT
+ public:
+ explicit VerifyKeyDetailBox(QWidget* parent,
+ KeyList* mKeyList,
+ gpgme_signature_t signature);
-private slots:
+ private slots:
- void slotImportFormKeyserver();
+ void slotImportFormKeyserver();
-private:
- GpgFrontend::GpgContext *mCtx;
- KeyList *mKeyList;
+ private:
+ KeyList* mKeyList;
- static QString beautifyFingerprint(QString fingerprint);
+ static QString beautifyFingerprint(QString fingerprint);
- QGridLayout *createKeyInfoGrid(gpgme_signature_t &signature);
+ static QGridLayout* createKeyInfoGrid(gpgme_signature_t& signature);
- QString fpr;
+ QString fpr;
};
-#endif // __VERIFYKEYDETAILBOX_H__
+} // namespace GpgFrontend::UI
+#endif // __VERIFYKEYDETAILBOX_H__