X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fpopups%2Fchannels.hpp;h=5ed5d4768ff18ec4fb14a86be53ed3fe10f8d422;hb=e40a79cb13eef1ca4f8e7670ac4a36e56b26a23c;hp=0ebe333f5f4836484ebf547f364e735445e50338;hpb=2b81ae4682ade4109ffa442794de36ceb32045eb;p=pulseview.git diff --git a/pv/popups/channels.hpp b/pv/popups/channels.hpp index 0ebe333f..5ed5d476 100644 --- a/pv/popups/channels.hpp +++ b/pv/popups/channels.hpp @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef PULSEVIEW_PV_POPUPS_CHANNELS_H -#define PULSEVIEW_PV_POPUPS_CHANNELS_H +#ifndef PULSEVIEW_PV_POPUPS_CHANNELS_HPP +#define PULSEVIEW_PV_POPUPS_CHANNELS_HPP #include #include @@ -43,10 +43,8 @@ namespace pv { class Session; -namespace prop { namespace binding { -class DeviceOptions; -} +class Device; } namespace view { @@ -60,7 +58,7 @@ class Channels : public pv::widgets::Popup Q_OBJECT public: - Channels(Session &session_, QWidget *parent); + Channels(Session &session, QWidget *parent); private: void set_all_channels(bool set); @@ -72,7 +70,7 @@ private: const std::vector< std::shared_ptr > sigs); private: - void showEvent(QShowEvent *e); + void showEvent(QShowEvent *event); private Q_SLOTS: void on_channel_checked(QWidget *widget); @@ -87,7 +85,7 @@ private: bool updating_channels_; - std::vector< std::shared_ptr > + std::vector< std::shared_ptr > group_bindings_; std::map< QCheckBox*, std::shared_ptr > check_box_signal_map_; @@ -102,4 +100,4 @@ private: } // popups } // pv -#endif // PULSEVIEW_PV_POPUPS_CHANNELS_H +#endif // PULSEVIEW_PV_POPUPS_CHANNELS_HPP