aboutsummaryrefslogtreecommitdiffstats
path: root/include/MainWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/MainWindow.h')
-rw-r--r--include/MainWindow.h15
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 &currentVersion, 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;
};