GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
KeyUploadDialog.h
1
29#ifndef GPGFRONTEND_KEYUPLOADWIDGET_H
30#define GPGFRONTEND_KEYUPLOADWIDGET_H
31
32#include "core/GpgContext.h"
33#include "ui/GpgFrontendUI.h"
34
35namespace GpgFrontend::UI {
36
41class KeyUploadDialog : public QDialog {
42 Q_OBJECT
43 public:
50 explicit KeyUploadDialog(const KeyIdArgsListPtr& keys_ids, QWidget* parent);
51
52 public slots:
53
58 void SlotUpload();
59
60 private slots:
61
67 void slot_upload_key_to_server(const GpgFrontend::ByteArray& keys_data);
68
73 void slot_upload_finished();
74
75 private:
76 KeyListPtr m_keys_;
77 QByteArray m_key_data_;
78};
79
80} // namespace GpgFrontend::UI
81
82#endif // GPGFRONTEND_KEYUPLOADWIDGET_H
Definition: KeyUploadDialog.h:41
void slot_upload_key_to_server(const GpgFrontend::ByteArray &keys_data)
Definition: KeyUploadDialog.cpp:64
KeyUploadDialog(const KeyIdArgsListPtr &keys_ids, QWidget *parent)
Construct a new Key Upload Dialog object.
Definition: KeyUploadDialog.cpp:39
Definition: VerifyDetailsDialog.cpp:33