GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
KeyPairOperaTab.h
1 
27 #ifndef GPGFRONTEND_KEYPAIROPERATAB_H
28 #define GPGFRONTEND_KEYPAIROPERATAB_H
29 
30 #include "core/function/gpg/GpgKeyGetter.h"
31 #include "ui/GpgFrontendUI.h"
32 
33 namespace GpgFrontend::UI {
34 class KeyPairOperaTab : public QWidget {
35  Q_OBJECT
36  public:
43  KeyPairOperaTab(const std::string& key_id, QWidget* parent);
44 
49  void CreateOperaMenu();
50 
51  private slots:
52 
57 
62  void slot_export_short_private_key();
63 
68  void slot_export_public_key();
69 
74  void slot_modify_edit_datetime();
75 
80  void slot_modify_password();
81 
86  void slot_upload_key_to_server();
87 
92  void slot_update_key_from_server();
93 
98  void slot_gen_revoke_cert();
99 
104  void slot_modify_tofu_policy();
105 
106  private:
107  GpgKey m_key_;
108  QMenu* key_server_opera_menu_{};
109  QMenu* secret_key_export_opera_menu_{};
110 };
111 } // namespace GpgFrontend::UI
112 
113 #endif // GPGFRONTEND_KEYPAIROPERATAB_H
Definition: GpgKey.h:43
Definition: KeyPairOperaTab.h:34
void slot_export_private_key()
Definition: KeyPairOperaTab.cpp:242
void CreateOperaMenu()
Create a Opera Menu object.
Definition: KeyPairOperaTab.cpp:117
KeyPairOperaTab(const std::string &key_id, QWidget *parent)
Construct a new Key Pair Opera Tab object.
Definition: KeyPairOperaTab.cpp:39
Definition: FileReadTask.cpp:29