GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
KeyUploadDialog.h
1 
29 #pragma once
30 
31 #include "core/model/GFBuffer.h"
32 #include "core/typedef/GpgTypedef.h"
33 #include "ui/GpgFrontendUI.h"
34 #include "ui/dialog/GeneralDialog.h"
35 
36 namespace GpgFrontend::UI {
37 
43  Q_OBJECT
44  public:
51  explicit KeyUploadDialog(const KeyIdArgsListPtr& keys_ids, QWidget* parent);
52 
53  public slots:
54 
59  void SlotUpload();
60 
61  private slots:
62 
69 
74  void slot_upload_finished();
75 
76  private:
77  KeyListPtr m_keys_;
78  QByteArray m_key_data_;
79 };
80 
81 } // namespace GpgFrontend::UI
Definition: GFBuffer.h:36
Definition: GeneralDialog.h:35
Definition: KeyUploadDialog.h:42
KeyUploadDialog(const KeyIdArgsListPtr &keys_ids, QWidget *parent)
Construct a new Key Upload Dialog object.
Definition: KeyUploadDialog.cpp:43
void slot_upload_key_to_server(const GFBuffer &)
Definition: KeyUploadDialog.cpp:94
Definition: FileReadTask.cpp:31