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
35 namespace GpgFrontend::UI {
36
41 class 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
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
GpgFrontend::GpgKeyImportExporter::ExportKeys
bool ExportKeys(KeyIdArgsListPtr &uid_list, ByteArrayPtr &out_buffer, bool secret=false) const
Definition: GpgKeyImportExporter.cpp:71
GpgFrontend::SingletonFunctionObject< GpgKeyImportExporter >::GetInstance
static GpgKeyImportExporter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
GpgFrontend::UI::KeyUploadDialog::slot_upload_key_to_server
void slot_upload_key_to_server(const GpgFrontend::ByteArray &keys_data)
Definition: KeyUploadDialog.cpp:64
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:42
GpgFrontend::UI::KeyUploadDialog::KeyUploadDialog
KeyUploadDialog(const KeyIdArgsListPtr &keys_ids, QWidget *parent)
Construct a new Key Upload Dialog object.
Definition: KeyUploadDialog.cpp:39
GpgFrontend::UI::KeyUploadDialog
Definition: KeyUploadDialog.h:41