aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/settings/SettingsDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/settings/SettingsDialog.h')
-rw-r--r--src/ui/dialog/settings/SettingsDialog.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/ui/dialog/settings/SettingsDialog.h b/src/ui/dialog/settings/SettingsDialog.h
index c99ac23c..3839f094 100644
--- a/src/ui/dialog/settings/SettingsDialog.h
+++ b/src/ui/dialog/settings/SettingsDialog.h
@@ -82,26 +82,23 @@ class SettingsDialog : public GeneralDialog {
void SignalRestartNeeded(int);
private:
- QTabWidget* tab_widget_; ///<
- QDialogButtonBox* button_box_; ///<
- int restart_needed_{0}; ///<
+ QTabWidget* tab_widget_; ///<
+ QDialogButtonBox* button_box_; ///<
+ int restart_needed_{kNonRestartCode}; ///<
+
+ private slots:
/**
- * @brief Get the Restart Needed object
+ * @brief
*
- * @return true
- * @return false
*/
- int get_restart_needed() const;
-
- private slots:
+ void slot_declare_a_restart();
/**
* @brief
*
- * @param needed
*/
- void slot_set_restart_needed(int);
+ void slot_declare_a_deep_restart();
};
} // namespace GpgFrontend::UI