aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/VerifyKeyDetailBox.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-12-06 15:58:23 +0000
committerSaturneric <[email protected]>2021-12-06 15:58:43 +0000
commit97d13004e4f1cb33941a9be57c7e7662e223890b (patch)
tree6bf2466046379fd8ac2a0e9ca3605e15dce4672d /src/ui/widgets/VerifyKeyDetailBox.h
parentMerge branch 'develop' of github.com:saturneric/GpgFrontend into develop-ci (diff)
downloadGpgFrontend-97d13004e4f1cb33941a9be57c7e7662e223890b.tar.gz
GpgFrontend-97d13004e4f1cb33941a9be57c7e7662e223890b.zip
Improve UI & Functions
Diffstat (limited to 'src/ui/widgets/VerifyKeyDetailBox.h')
-rw-r--r--src/ui/widgets/VerifyKeyDetailBox.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/ui/widgets/VerifyKeyDetailBox.h b/src/ui/widgets/VerifyKeyDetailBox.h
index c1b26bb2..b01d628d 100644
--- a/src/ui/widgets/VerifyKeyDetailBox.h
+++ b/src/ui/widgets/VerifyKeyDetailBox.h
@@ -33,21 +33,16 @@ namespace GpgFrontend::UI {
class VerifyKeyDetailBox : public QGroupBox {
Q_OBJECT
public:
- explicit VerifyKeyDetailBox(QWidget* parent, KeyList* mKeyList,
- gpgme_signature_t signature);
+ explicit VerifyKeyDetailBox(const GpgSignature& signature, QWidget* parent);
private slots:
void slotImportFormKeyserver();
private:
- KeyList* mKeyList;
+ QGridLayout* createKeyInfoGrid(const GpgSignature& signature);
- static QString beautifyFingerprint(QString fingerprint);
-
- static QGridLayout* createKeyInfoGrid(gpgme_signature_t& signature);
-
- QString fpr;
+ std::string fpr;
};
} // namespace GpgFrontend::UI