summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/dragdroprobot/coloritem.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphicsview/dragdroprobot/coloritem.h')
-rw-r--r--examples/graphicsview/dragdroprobot/coloritem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/graphicsview/dragdroprobot/coloritem.h b/examples/graphicsview/dragdroprobot/coloritem.h
index 788d19e..eb19db6 100644
--- a/examples/graphicsview/dragdroprobot/coloritem.h
+++ b/examples/graphicsview/dragdroprobot/coloritem.h
@@ -44,6 +44,7 @@
#include <QGraphicsItem>
+//! [0]
class ColorItem : public QGraphicsItem
{
public:
@@ -60,5 +61,6 @@ protected:
private:
QColor color;
};
+//! [0]
#endif