From e1b58fd5c8fa20f5bfb216c3be751719c154046d Mon Sep 17 00:00:00 2001 From: nils Date: Sat, 6 Feb 2016 16:01:40 +0100 Subject: encrypt to self --- mainwindow.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'mainwindow.h') diff --git a/mainwindow.h b/mainwindow.h index 8c0bcee..c282f21 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -203,6 +203,12 @@ private slots: */ void disableTabActions(int number); + /** + * @details get value of member restartNeeded to needed. + * @param needed true, if application has to be restarted + */ + void slotSetRestartNeeded(bool needed); + private: /** * @details Create actions for the main-menu and the context-menu of the keylist. @@ -256,6 +262,11 @@ private: */ void parseMime(QByteArray *message); + /** + * @brief return true, if restart is needed + */ + bool getRestartNeeded(); + TextEdit *edit; /** Tabwidget holding the edit-windows */ QMenu *fileMenu; /** Submenu for file-operations*/ QMenu *editMenu; /** Submenu for text-operations*/ @@ -325,6 +336,7 @@ private: KeyMgmt *keyMgmt; /**< TODO */ KeyServerImportDialog *importDialog; /**< TODO */ bool attachmentDockCreated; + bool restartNeeded; }; #endif // __GPGWIN_H__ -- cgit v1.2.3