summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/elasticnodes/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphicsview/elasticnodes/node.h')
-rw-r--r--examples/graphicsview/elasticnodes/node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/graphicsview/elasticnodes/node.h b/examples/graphicsview/elasticnodes/node.h
index 0df579d..990346e 100644
--- a/examples/graphicsview/elasticnodes/node.h
+++ b/examples/graphicsview/elasticnodes/node.h
@@ -51,6 +51,7 @@ QT_BEGIN_NAMESPACE
class QGraphicsSceneMouseEvent;
QT_END_NAMESPACE
+//! [0]
class Node : public QGraphicsItem
{
public:
@@ -80,5 +81,6 @@ private:
QPointF newPos;
GraphWidget *graph;
};
+//! [0]
#endif