summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-03 10:30:40 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-09 12:13:20 +0100
commitd60c5869cf72bef1ee08bf237dfa2fd14bbb641e (patch)
treeb7311abcec117992b3988338e935f41c90645bc8
parentb41fdd0111baf86132c3b61b8e1e6085635e77be (diff)
opentrack: move members around in header
-rw-r--r--variant/default/main-window.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/variant/default/main-window.hpp b/variant/default/main-window.hpp
index 9c687db9..a236b240 100644
--- a/variant/default/main-window.hpp
+++ b/variant/default/main-window.hpp
@@ -79,7 +79,10 @@ class main_window final : public QMainWindow, private State
dylib_ptr current_protocol();
dylib_ptr current_filter();
- static std::tuple<dylib_ptr, int> module_by_name(const QString& name, Modules::dylib_list& list);
+ qt_sig::nullary start_tracker { this, &main_window::start_tracker_, Qt::QueuedConnection };
+ qt_sig::nullary stop_tracker { this, &main_window::stop_tracker_, Qt::QueuedConnection };
+ qt_sig::nullary toggle_tracker { this, &main_window::toggle_tracker_, Qt::QueuedConnection };
+ qt_sig::nullary restart_tracker { this, &main_window::restart_tracker_, Qt::QueuedConnection };
void update_button_state(bool running, bool inertialp);
void display_pose(const double* mapped, const double* raw);
@@ -135,15 +138,12 @@ class main_window final : public QMainWindow, private State
void toggle_restore_from_tray(QSystemTrayIcon::ActivationReason e);
void save_modules();
+ static std::tuple<dylib_ptr, int> module_by_name(const QString& name, Modules::dylib_list& list);
+
void exit(int status = EXIT_SUCCESS);
static void set_working_directory();
- qt_sig::nullary start_tracker { this, &main_window::start_tracker_, Qt::QueuedConnection };
- qt_sig::nullary stop_tracker { this, &main_window::stop_tracker_, Qt::QueuedConnection };
- qt_sig::nullary toggle_tracker { this, &main_window::toggle_tracker_, Qt::QueuedConnection };
- qt_sig::nullary restart_tracker { this, &main_window::restart_tracker_, Qt::QueuedConnection };
-
public:
main_window();
~main_window() override;