X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Fwellarray.hpp;h=8b2e1ef2759b058d6ea647916fc3bd4c136c70d0;hp=6bed8ee133cd3ad2b6fa8305846bf72b477130a5;hb=1fd847fedce2d8b93080ee7cd4d8c86aa916f6d2;hpb=f54fc97e8c4c20b7a37f10b8fd125407eba17226 diff --git a/pv/widgets/wellarray.hpp b/pv/widgets/wellarray.hpp index 6bed8ee1..8b2e1ef2 100644 --- a/pv/widgets/wellarray.hpp +++ b/pv/widgets/wellarray.hpp @@ -39,6 +39,9 @@ ** ****************************************************************************/ +#ifndef PULSEVIEW_PV_WIDGETS_WELLARRAY_HPP +#define PULSEVIEW_PV_WIDGETS_WELLARRAY_HPP + #include namespace pv { @@ -49,8 +52,8 @@ struct WellArrayData; class WellArray : public QWidget { Q_OBJECT - Q_PROPERTY(int selectedColumn READ selectedColumn) - Q_PROPERTY(int selectedRow READ selectedRow) + Q_PROPERTY(int selectedColumn READ selectedColumn) // clazy:exclude=qproperty-without-notify + Q_PROPERTY(int selectedRow READ selectedRow) // clazy:exclude=qproperty-without-notify public: WellArray(int rows, int cols, QWidget* parent = nullptr); @@ -135,5 +138,7 @@ private: WellArrayData *d; }; -} // namespace wellarray +} // namespace widgets } // namespace pv + +#endif // PULSEVIEW_PV_WIDGETS_WELLARRAY_HPP