diff options
author | Saturneric <[email protected]> | 2021-05-24 18:34:02 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-05-24 18:34:02 +0000 |
commit | d989b48429ff9e37316d3c5c523e3cf53bbf5907 (patch) | |
tree | 892f187bdc8e493a7278892757da778d81c2432c /include/ui/keypair_details/KeyPairUIDTab.h | |
parent | Declare and Define getSigners; (diff) | |
download | GpgFrontend-d989b48429ff9e37316d3c5c523e3cf53bbf5907.tar.gz GpgFrontend-d989b48429ff9e37316d3c5c523e3cf53bbf5907.zip |
Streamline, expand and improve the interface of GpgContext.
Fix the wrong use of the query interface for fingerprints or identifiers at VerifyKeyDetailBox.cpp and VerifyNotification.cpp.
Write the processing logic and page logic for adding a signature to the key.
Signed-off-by: Saturneric <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | include/ui/keypair_details/KeyPairUIDTab.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/include/ui/keypair_details/KeyPairUIDTab.h b/include/ui/keypair_details/KeyPairUIDTab.h index ae476a1f..6aca3dd8 100644 --- a/include/ui/keypair_details/KeyPairUIDTab.h +++ b/include/ui/keypair_details/KeyPairUIDTab.h @@ -28,12 +28,14 @@ #include "GpgFrontend.h" #include "gpg/GpgContext.h" +#include "KeySignDialog.h" + class KeyPairUIDTab : public QWidget { Q_OBJECT public: - KeyPairUIDTab(GpgME::GpgContext *ctx, const GpgKey& key, QWidget *parent); + KeyPairUIDTab(GpgME::GpgContext *ctx, const GpgKey &key, QWidget *parent); private: @@ -41,15 +43,15 @@ private: void createSignList(); - GpgME::GpgContext *mCtx; - - const GpgKey &key; + void getUIDChecked(QVector<UID> &uids); - QTableWidget *uidList; + GpgME::GpgContext *mCtx; - QTableWidget *sigList; + const GpgKey &mKey; + QTableWidget *uidList{}; + QTableWidget *sigList{}; private slots: @@ -57,6 +59,7 @@ private slots: void slotRefreshSigList(); + void slotAddSign(); }; |