X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fmainwindow.hpp;h=522ab1c0478ea7d1def85a90ada942733735f182;hb=761f8302350c52f2cf357f49e1084e7101c70497;hp=06eba40ac212760373defba5fbdac8b7c46b9037;hpb=baf867eddd4efbc465f5a3490b1ea21dfe7ba597;p=pulseview.git diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index 06eba40a..522ab1c0 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -26,7 +26,6 @@ #include #include -#include #include #include @@ -100,6 +99,7 @@ public: private: void setup_ui(); + void update_acq_button(Session *session); void save_ui_settings(); void restore_ui_settings(); @@ -123,7 +123,8 @@ private Q_SLOTS: void on_settings_clicked(); void on_session_name_changed(); - void on_capture_state_changed(QObject *obj); + void on_session_device_changed(); + void on_session_capture_state_changed(int state); void on_new_view(Session *session, int view_type); void on_view_close_clicked(); @@ -155,7 +156,6 @@ private: QWidget *static_tab_widget_; QToolButton *new_session_button_, *run_stop_button_, *settings_button_; QTabWidget session_selector_; - QSignalMapper session_state_mapper_; QIcon icon_red_; QIcon icon_green_;