projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move trace view files
[pulseview.git]
/
pv
/
widgets
/
wellarray.hpp
diff --git
a/pv/widgets/wellarray.hpp
b/pv/widgets/wellarray.hpp
index 32365a10dfdad79954b462249463f07cb427bbfe..f1c25dc01fde9e0c39694594296c2bf265b6d2e5 100644
(file)
--- 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 <QWidget>
namespace pv {
#include <QWidget>
namespace pv {
@@
-53,7
+56,7
@@
class WellArray : public QWidget
Q_PROPERTY(int selectedRow READ selectedRow)
public:
Q_PROPERTY(int selectedRow READ selectedRow)
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; }
QString cellContent(int row, int col) const;
int selectedColumn() const { return selCol; }
@@
-135,5
+138,7
@@
private:
WellArrayData *d;
};
WellArrayData *d;
};
-}
// namespace wellarray
+}
// namespace widgets
} // namespace pv
} // namespace pv
+
+#endif // PULSEVIEW_PV_WIDGETS_WELLARRAY_HPP