X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fwidgets%2Fwellarray.hpp;h=4c67ca114d0f4ba236a4428bab30a7fcbdfa61bb;hb=43be386b1714c50b6e10a382f3bec194b914354f;hp=32365a10dfdad79954b462249463f07cb427bbfe;hpb=d9ea96280ab1128427143660ae375c30b19aa0cb;p=pulseview.git diff --git a/pv/widgets/wellarray.hpp b/pv/widgets/wellarray.hpp index 32365a10..4c67ca11 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,11 +52,11 @@ 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=0); + WellArray(int rows, int cols, QWidget* parent = nullptr); QString cellContent(int row, int col) const; int selectedColumn() const { return selCol; } @@ -135,5 +138,7 @@ private: WellArrayData *d; }; -} // namespace wellarray +} // namespace widgets } // namespace pv + +#endif // PULSEVIEW_PV_WIDGETS_WELLARRAY_HPP