31
31
#include " ui/widgets/TextEdit.h"
32
32
#include " ui/FileEncryptionDialog.h"
33
33
#include " ui/SettingsDialog.h"
34
- #include " ui/AboutDialog.h"
34
+ #include " ui/help/ AboutDialog.h"
35
35
#include " ui/widgets/InfoBoardWidget.h"
36
36
#include " ui/FindWidget.h"
37
37
#include " ui/Wizard.h"
@@ -216,6 +216,11 @@ private slots:
216
216
*/
217
217
void slotAbout ();
218
218
219
+ /* *
220
+ * @details Open check-update-tab in about-dialog.
221
+ */
222
+ void slotCheckUpdate ();
223
+
219
224
/* *
220
225
* @details Open File Opera Tab
221
226
*/
@@ -258,6 +263,11 @@ private slots:
258
263
*/
259
264
void slotSetRestartNeeded (bool needed);
260
265
266
+ /* *
267
+ * @details called when need to upgrade.
268
+ */
269
+ void slotVersionUpgrade (const QString ¤tVersion, const QString &latestVersion);
270
+
261
271
private:
262
272
/* *
263
273
* @details Create actions for the main-menu and the context-menu of the keylist.
@@ -363,6 +373,7 @@ private slots:
363
373
QAction *zoomInAct; /* * Action to zoom in */
364
374
QAction *zoomOutAct; /* * Action to zoom out */
365
375
QAction *aboutAct; /* * Action to open about dialog */
376
+ QAction *checkUpdateAct; /* * Action to open about dialog */
366
377
QAction *fileEncryptAct; /* * Action to open dialog for encrypting file */
367
378
QAction *fileDecryptAct; /* * Action to open dialog for decrypting file */
368
379
QAction *fileSignAct; /* * Action to open dialog for signing file */
@@ -387,6 +398,8 @@ private slots:
387
398
KeyMgmt *keyMgmt; /* *< TODO */
388
399
KeyServerImportDialog *importDialog; /* *< TODO */
389
400
401
+ QNetworkAccessManager *networkAccessManager;
402
+
390
403
bool attachmentDockCreated;
391
404
bool restartNeeded;
392
405
};
0 commit comments