aboutsummaryrefslogtreecommitdiffstats
path: root/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h12
1 files changed, 12 insertions, 0 deletions
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__