GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
Public Member Functions | |
KeyPairOperaTab (const std::string &key_id, QWidget *parent) | |
Construct a new Key Pair Opera Tab object. More... | |
void | CreateOperaMenu () |
Create a Opera Menu object. More... | |
Private Slots | |
void | slot_export_private_key () |
void | slot_export_short_private_key () |
void | slot_export_public_key () |
void | slot_modify_edit_datetime () |
void | slot_modify_password () |
void | slot_upload_key_to_server () |
void | slot_update_key_from_server () |
void | slot_gen_revoke_cert () |
void | slot_modify_tofu_policy () |
Private Attributes | |
GpgKey | m_key_ |
QMenu * | key_server_opera_menu_ {} |
QMenu * | secret_key_export_opera_menu_ {} |
GpgFrontend::UI::KeyPairOperaTab::KeyPairOperaTab | ( | const std::string & | key_id, |
QWidget * | parent | ||
) |
Construct a new Key Pair Opera Tab object.
key_id | |
parent |
References CreateOperaMenu(), GpgFrontend::GpgKey::IsHasMasterKey(), and GpgFrontend::GpgKey::IsPrivateKey().
void GpgFrontend::UI::KeyPairOperaTab::CreateOperaMenu | ( | ) |
Create a Opera Menu object.
References GpgFrontend::GpgKey::IsHasMasterKey(), GpgFrontend::GpgKey::IsPrivateKey(), and slot_export_private_key().
Referenced by KeyPairOperaTab().
|
privateslot |
Export the key to a file, which is chosen in a file dialog
References GpgFrontend::GpgKey::GetEmail(), GpgFrontend::GpgKey::GetId(), GpgFrontend::SingletonFunctionObject< GpgKeyImportExporter >::GetInstance(), GpgFrontend::GpgKey::GetName(), and GpgFrontend::write_buffer_to_file().
Referenced by CreateOperaMenu().