summaryrefslogtreecommitdiffhomepage
path: root/variant
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-14 09:07:11 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-14 09:09:36 +0200
commita42fefc9c0bbc7aafeff58ae2898c326f9aaab11 (patch)
tree8a4d95a5268f7aef83c1ecf7687b480175d2cb7e /variant
parentf3006884d2187e4a4198663024efc5d8e6104c4b (diff)
opentrack: this can be private
Diffstat (limited to 'variant')
-rw-r--r--variant/default/main-window.hpp12
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();
};