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 abe3dbe..3257849 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -278,6 +278,12 @@ private slots:
*/
void slotDisableTabActions(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.
@@ -343,6 +349,11 @@ private:
*/
void changeMessage(const QString &msg, const bool keep = false);
+ /**
+ * @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*/
@@ -423,6 +434,7 @@ private:
KeyMgmt *keyMgmt; /**< TODO */
KeyServerImportDialog *importDialog; /**< TODO */
bool attachmentDockCreated;
+ bool restartNeeded;
};
#endif // __GPGWIN_H__