diff options
author | Saturn&Eric <[email protected]> | 2021-07-12 09:23:37 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-12 09:23:37 +0000 |
commit | 1ccc36606b9e4238ea24f36756c5ab3ad43453fe (patch) | |
tree | 72043033991b643a2cce437f22497a961d73a745 /include/MainWindow.h | |
parent | Update Documents; (diff) | |
parent | Project structure adjustment; (diff) | |
download | GpgFrontend-1ccc36606b9e4238ea24f36756c5ab3ad43453fe.tar.gz GpgFrontend-1ccc36606b9e4238ea24f36756c5ab3ad43453fe.zip |
Merge pull request #10 from saturneric/developv1.1.3
Develop Version 1.1.3
Diffstat (limited to 'include/MainWindow.h')
-rw-r--r-- | include/MainWindow.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/include/MainWindow.h b/include/MainWindow.h index 418a56db..1137dfed 100644 --- a/include/MainWindow.h +++ b/include/MainWindow.h @@ -31,7 +31,7 @@ #include "ui/widgets/TextEdit.h" #include "ui/FileEncryptionDialog.h" #include "ui/SettingsDialog.h" -#include "ui/AboutDialog.h" +#include "ui/help/AboutDialog.h" #include "ui/widgets/InfoBoardWidget.h" #include "ui/FindWidget.h" #include "ui/Wizard.h" @@ -217,6 +217,11 @@ private slots: void slotAbout(); /** + * @details Open check-update-tab in about-dialog. + */ + void slotCheckUpdate(); + + /** * @details Open File Opera Tab */ void slotOpenFileTab(); @@ -258,6 +263,11 @@ private slots: */ void slotSetRestartNeeded(bool needed); + /** + * @details called when need to upgrade. + */ + void slotVersionUpgrade(const QString ¤tVersion, const QString &latestVersion); + private: /** * @details Create actions for the main-menu and the context-menu of the keylist. @@ -363,6 +373,7 @@ private: QAction *zoomInAct; /** Action to zoom in */ QAction *zoomOutAct; /** Action to zoom out */ QAction *aboutAct; /** Action to open about dialog */ + QAction *checkUpdateAct; /** Action to open about dialog */ QAction *fileEncryptAct; /** Action to open dialog for encrypting file */ QAction *fileDecryptAct; /** Action to open dialog for decrypting file */ QAction *fileSignAct; /** Action to open dialog for signing file */ @@ -387,6 +398,8 @@ private: KeyMgmt *keyMgmt; /**< TODO */ KeyServerImportDialog *importDialog; /**< TODO */ + QNetworkAccessManager *networkAccessManager; + bool attachmentDockCreated; bool restartNeeded; }; |