diff options
author | saturneric <[email protected]> | 2024-11-26 19:57:56 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-11-26 20:07:41 +0000 |
commit | 673a3a13fac0b41124760bf44244ba0bb039e09f (patch) | |
tree | e3ecaf4ad7882c32dc38292b7abdb5bbd58afbb6 /src/ui/main_window/MainWindow.h | |
parent | fix: add ui status control for email operations (diff) | |
download | GpgFrontend-673a3a13fac0b41124760bf44244ba0bb039e09f.tar.gz GpgFrontend-673a3a13fac0b41124760bf44244ba0bb039e09f.zip |
feat: support eml data decryption
Diffstat (limited to 'src/ui/main_window/MainWindow.h')
-rw-r--r-- | src/ui/main_window/MainWindow.h | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/src/ui/main_window/MainWindow.h b/src/ui/main_window/MainWindow.h index e10efb9b..11c97884 100644 --- a/src/ui/main_window/MainWindow.h +++ b/src/ui/main_window/MainWindow.h @@ -172,6 +172,12 @@ class MainWindow : public GeneralMainWindow { void SlotVerifyEML(); /** + * @brief + * + */ + void SlotDecryptEML(); + + /** * @details decrypt and verify the text of currently active textedit-page * with the currently checked keys */ @@ -297,6 +303,12 @@ class MainWindow : public GeneralMainWindow { * @brief * */ + void SlotGeneralDecryptEMail(bool); + + /** + * @brief + * + */ void SlotGeneralVerifyEMail(bool); private slots: @@ -506,6 +518,20 @@ class MainWindow : public GeneralMainWindow { */ void slot_restart_gpg_components(bool); + /** + * @brief + * + * @param buffer + */ + void slot_decrypt_email_by_eml_data(const QByteArray& buffer); + + /** + * @brief + * + */ + void slot_decrypt_email_by_eml_data_result_helper( + const QMap<QString, QString>& p); + private: /** * @details Create actions for the main-menu and the context-menu of the @@ -654,7 +680,9 @@ class MainWindow : public GeneralMainWindow { QAction* import_key_from_file_act_{}; ///< QAction* import_key_from_clipboard_act_{}; ///< QAction* import_key_from_key_server_act_{}; ///< - QAction* verify_email_by_eml_data_act_{}; ///< + + QAction* verify_email_by_eml_data_act_{}; ///< + QAction* decrypt_email_by_eml_data_act_{}; QLabel* status_bar_icon_{}; ///< |