summaryrefslogtreecommitdiffstats
path: root/examples/widgets/graphicsview/flowlayout/flowlayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/graphicsview/flowlayout/flowlayout.h')
-rw-r--r--examples/widgets/graphicsview/flowlayout/flowlayout.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/widgets/graphicsview/flowlayout/flowlayout.h b/examples/widgets/graphicsview/flowlayout/flowlayout.h
index 14251072ec..d8ec253792 100644
--- a/examples/widgets/graphicsview/flowlayout/flowlayout.h
+++ b/examples/widgets/graphicsview/flowlayout/flowlayout.h
@@ -48,6 +48,9 @@
**
****************************************************************************/
+#ifndef FLOWLAYOUT_H
+#define FLOWLAYOUT_H
+
#include <QGraphicsLayout>
class FlowLayout : public QGraphicsLayout
@@ -84,3 +87,5 @@ inline void FlowLayout::addItem(QGraphicsLayoutItem *item)
{
insertItem(-1, item);
}
+
+#endif // FLOWLAYOUT_H