aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/KeyUploadDialog.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-23 09:10:53 +0000
committerSaturneric <[email protected]>2022-01-23 09:10:53 +0000
commit0dd16d72d75e2068b8365a49ef2696a4744575dd (patch)
treea463727ba5a5ee4d5afcfb0eaa4d8e6e48b7c930 /src/ui/KeyUploadDialog.h
parent<refactor>(ui): tidy up codes and comments. (diff)
downloadGpgFrontend-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.h33
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