diff options
Diffstat (limited to 'variant/default')
-rw-r--r-- | variant/default/main-window.hpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/variant/default/main-window.hpp b/variant/default/main-window.hpp index df1723b3..823c5191 100644 --- a/variant/default/main-window.hpp +++ b/variant/default/main-window.hpp @@ -112,6 +112,11 @@ class main_window final : public QMainWindow, private State void closeEvent(QCloseEvent *event) override; + bool maybe_die_on_config_not_writable(const QString& current, QStringList* ini_list); + void die_on_config_not_writable(); + bool is_tray_enabled(); + bool start_in_tray(); + private slots: void save_modules(); void exit(int status = EXIT_SUCCESS); @@ -137,18 +142,15 @@ private slots: void ensure_tray(); void toggle_restore_from_tray(QSystemTrayIcon::ActivationReason e); + static void set_working_directory(); signals: void start_tracker(); void stop_tracker(); void toggle_tracker(); void restart_tracker(); + public: main_window(); ~main_window() override; - static void set_working_directory(); - bool maybe_die_on_config_not_writable(const QString& current, QStringList* ini_list); - void die_on_config_not_writable(); - bool is_tray_enabled(); - bool start_in_tray(); }; |