diff options
author | David Boddie <david.boddie@nokia.com> | 2011-02-07 13:04:48 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-02-07 13:04:48 (GMT) |
commit | 6d6cd91519842b18b2d520391d330346a2f6def1 (patch) | |
tree | 957d18172896e21475629b14d535c36f52b7bcac /doc/src/examples/elasticnodes.qdoc | |
parent | eb5e587af8867fa57ee764441905bdf982ab43c6 (diff) | |
download | Qt-6d6cd91519842b18b2d520391d330346a2f6def1.zip Qt-6d6cd91519842b18b2d520391d330346a2f6def1.tar.gz Qt-6d6cd91519842b18b2d520391d330346a2f6def1.tar.bz2 |
Doc: Fixed warnings and other problems found while fixing markup.
Diffstat (limited to 'doc/src/examples/elasticnodes.qdoc')
-rw-r--r-- | doc/src/examples/elasticnodes.qdoc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/src/examples/elasticnodes.qdoc b/doc/src/examples/elasticnodes.qdoc index d6676e8..bba6d90 100644 --- a/doc/src/examples/elasticnodes.qdoc +++ b/doc/src/examples/elasticnodes.qdoc @@ -77,12 +77,12 @@ function is called to calculate the forces that push and pull on this node and its neighbors. - The \c Node class also reimplements - \l{QGraphicsItem::itemChange()}{itemChange()} to react to state changes (in - this case, position changes), and - \l{QGraphicsItem::mousePressEvent()}{mousePressEvent()} and - \l{QGraphicsItem::mouseReleaseEvent()}{mouseReleaseEvent()} to update the - item's visual appearance. + The \c Node class also reimplements + \l{QGraphicsItem::itemChange()}{itemChange()} to react to state changes (in + this case, position changes), and + \l{QGraphicsItem::mousePressEvent()}{mousePressEvent()} and + \l{QGraphicsItem::mouseReleaseEvent()}{mouseReleaseEvent()} to update the + item's visual appearance. We will start reviewing the \c Node implementation by looking at its constructor: @@ -242,7 +242,7 @@ The \c adjust() function repositions the edge, and the item also implements \l{QGraphicsItem::boundingRect()}{boundingRect()} and - \{QGraphicsItem::paint()}{paint()}. + \l{QGraphicsItem::paint()}{paint()}. We will now review its implementation. |