summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/elasticnodes/edge.h
diff options
context:
space:
mode:
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2010-04-29 10:39:13 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2010-04-29 10:40:01 (GMT)
commit4d312a6e635ce0cde0ae5c439541f315d7fddff3 (patch)
treec2934e360a72d231ac7dd7005d81334292f58cb7 /examples/graphicsview/elasticnodes/edge.h
parent71165896c2867091abe6df98ea18ac0536028a0b (diff)
downloadQt-4d312a6e635ce0cde0ae5c439541f315d7fddff3.zip
Qt-4d312a6e635ce0cde0ae5c439541f315d7fddff3.tar.gz
Qt-4d312a6e635ce0cde0ae5c439541f315d7fddff3.tar.bz2
Documentation for the Elastic Nodes example.
Checked for qdoc errors.
Diffstat (limited to 'examples/graphicsview/elasticnodes/edge.h')
-rw-r--r--examples/graphicsview/elasticnodes/edge.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/graphicsview/elasticnodes/edge.h b/examples/graphicsview/elasticnodes/edge.h
index b6b951f..58cc89c 100644
--- a/examples/graphicsview/elasticnodes/edge.h
+++ b/examples/graphicsview/elasticnodes/edge.h
@@ -46,17 +46,14 @@
class Node;
+//! [0]
class Edge : public QGraphicsItem
{
public:
Edge(Node *sourceNode, Node *destNode);
- ~Edge();
Node *sourceNode() const;
- void setSourceNode(Node *node);
-
Node *destNode() const;
- void setDestNode(Node *node);
void adjust();
@@ -74,5 +71,6 @@ private:
QPointF destPoint;
qreal arrowSize;
};
+//! [0]
#endif