diff options
author | Saturneric <[email protected]> | 2022-01-22 15:42:43 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-22 15:42:43 +0000 |
commit | 92da87923ca3ceee7a63143cddd6b88d1fc6b2fb (patch) | |
tree | 96f29ee61701ade3d89728861b0cc646a0396633 /src/ui/keypair_details/KeyUIDSignDialog.h | |
parent | <doc, refactor>(ui): Tidy up part of the code of ui and related parts (diff) | |
download | GpgFrontend-92da87923ca3ceee7a63143cddd6b88d1fc6b2fb.tar.gz GpgFrontend-92da87923ca3ceee7a63143cddd6b88d1fc6b2fb.zip |
<refactor>(ui): tidy up codes and add comments.
1. tidy up keypair_details.
Diffstat (limited to '')
-rw-r--r-- | src/ui/keypair_details/KeyUIDSignDialog.h | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/src/ui/keypair_details/KeyUIDSignDialog.h b/src/ui/keypair_details/KeyUIDSignDialog.h index 8a83977a..aedc023f 100644 --- a/src/ui/keypair_details/KeyUIDSignDialog.h +++ b/src/ui/keypair_details/KeyUIDSignDialog.h @@ -35,28 +35,39 @@ class KeyUIDSignDialog : public QDialog { Q_OBJECT public: + /** + * @brief Construct a new Key U I D Sign Dialog object + * + * @param key + * @param uid + * @param parent + */ explicit KeyUIDSignDialog(const GpgKey& key, UIDArgsListPtr uid, QWidget* parent = nullptr); signals: - void signalKeyUIDSignUpdate(); + /** + * @brief + * + */ + void SignalKeyUIDSignUpdate(); private: - KeyList* mKeyList; + KeyList* m_key_list_; ///< + QPushButton* sign_key_button_; ///< + QDateTimeEdit* expires_edit_; ///< + QCheckBox* non_expire_check_; ///< + UIDArgsListPtr m_uids_; ///< - QPushButton* signKeyButton; - - QDateTimeEdit* expiresEdit; - - QCheckBox* nonExpireCheck; - - UIDArgsListPtr mUids; - - const GpgKey& mKey; + const GpgKey& m_key_; ///< private slots: - - void slotSignKey(bool clicked); + /** + * @brief + * + * @param clicked + */ + void slot_sign_key(bool clicked); }; } // namespace GpgFrontend::UI |