From d60c5869cf72bef1ee08bf237dfa2fd14bbb641e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 3 Feb 2019 10:30:40 +0100 Subject: opentrack: move members around in header --- variant/default/main-window.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'variant') 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 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 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; -- cgit v1.2.3