diff options
author | Saturneric <[email protected]> | 2021-06-09 19:02:41 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-06-09 19:02:41 +0000 |
commit | 7d000da3e8c8a65b43174b5be2edcd4c1bd6c27e (patch) | |
tree | 698f2ace3c49453768bf3c85e97069d65700e950 /include/MainWindow.h | |
parent | Adjust the output of analysis results. (diff) | |
download | GpgFrontend-7d000da3e8c8a65b43174b5be2edcd4c1bd6c27e.tar.gz GpgFrontend-7d000da3e8c8a65b43174b5be2edcd4c1bd6c27e.zip |
Do not clear the text when the decryption operation fails.
Add decrypt and verify operation.
Change the icon further.
Fix the function of importing from the key server.
Signed-off-by: Saturneric <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | include/MainWindow.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/include/MainWindow.h b/include/MainWindow.h index 66a11169..e083e93a 100644 --- a/include/MainWindow.h +++ b/include/MainWindow.h @@ -98,6 +98,12 @@ private slots: void slotVerify(); /** + * @details decrypt and verify the text of currently active textedit-page + * with the currently checked keys + */ + void slotDecryptVerify(); + + /** * @details Show the details of the first of the first of selected keys */ void slotShowKeyDetails(); @@ -213,8 +219,6 @@ private slots: */ void slotAddPgpHeader(); -// void dropEvent(QDropEvent *event); - /** * @details Disable tab related actions, if number of tabs is 0. * @param number number of the opened tabs and -1, if no tab is opened @@ -274,16 +278,9 @@ private: void saveSettings(); /** - * @brief - * - * @param message - */ - void parseMime(QByteArray *message); - - /** * @brief return true, if restart is needed */ - bool getRestartNeeded() const; + [[nodiscard]] bool getRestartNeeded() const; TextEdit *edit; /** Tabwidget holding the edit-windows */ QMenu *fileMenu; /** Submenu for file-operations*/ @@ -317,7 +314,8 @@ private: QAction *closeTabAct; /** Action to print */ QAction *quitAct; /** Action to quit application */ QAction *encryptAct; /** Action to encrypt text */ - QAction *encryptSignAct; /** Action to encrypt text */ + QAction *encryptSignAct; /** Action to encrypt and sign text */ + QAction *decryptVerifyAct; /** Action to encrypt and sign text */ QAction *decryptAct; /** Action to decrypt text */ QAction *signAct; /** Action to sign text */ QAction *verifyAct; /** Action to verify text */ |