diff options
author | Saturneric <[email protected]> | 2022-01-23 09:10:53 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-23 09:10:53 +0000 |
commit | 0dd16d72d75e2068b8365a49ef2696a4744575dd (patch) | |
tree | a463727ba5a5ee4d5afcfb0eaa4d8e6e48b7c930 /src/ui/KeyUploadDialog.h | |
parent | <refactor>(ui): tidy up codes and comments. (diff) | |
download | GpgFrontend-0dd16d72d75e2068b8365a49ef2696a4744575dd.tar.gz GpgFrontend-0dd16d72d75e2068b8365a49ef2696a4744575dd.zip |
<refactor>(ui): tidy up codes and comments.
1. tidy up ui.
Diffstat (limited to 'src/ui/KeyUploadDialog.h')
-rw-r--r-- | src/ui/KeyUploadDialog.h | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/src/ui/KeyUploadDialog.h b/src/ui/KeyUploadDialog.h index 3b8ea2e6..b3e0e726 100644 --- a/src/ui/KeyUploadDialog.h +++ b/src/ui/KeyUploadDialog.h @@ -34,24 +34,47 @@ namespace GpgFrontend::UI { +/** + * @brief + * + */ class KeyUploadDialog : public QDialog { Q_OBJECT public: + /** + * @brief Construct a new Key Upload Dialog object + * + * @param keys_ids + * @param parent + */ explicit KeyUploadDialog(const KeyIdArgsListPtr& keys_ids, QWidget* parent); public slots: - void slotUpload(); + /** + * @brief + * + */ + void SlotUpload(); private slots: - void uploadKeyToServer(const GpgFrontend::ByteArray& keys_data); + /** + * @brief + * + * @param keys_data + */ + void slot_upload_key_to_server(const GpgFrontend::ByteArray& keys_data); - void slotUploadFinished(); + /** + * @brief + * + */ + void slot_upload_finished(); private: - KeyListPtr mKeys; - QByteArray mKeyData; + KeyListPtr m_keys_; ///< + QByteArray m_key_data_; ///< }; } // namespace GpgFrontend::UI |