summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2010-12-15 12:51:23 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2010-12-15 12:51:23 (GMT)
commitcace8e6a9f00ee478dfe63a7fa6959056cfe7e8a (patch)
tree812add67bf0ec8cbaf2874250eff0c70505d57bf /src/declarative
parentcbfeb79c80a774166e016e7c879bba465ffc0496 (diff)
downloadQt-cace8e6a9f00ee478dfe63a7fa6959056cfe7e8a.zip
Qt-cace8e6a9f00ee478dfe63a7fa6959056cfe7e8a.tar.gz
Qt-cace8e6a9f00ee478dfe63a7fa6959056cfe7e8a.tar.bz2
Doc: Fixed an old-style float.
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/graphicsitems/qdeclarativegridview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativegridview.cpp b/src/declarative/graphicsitems/qdeclarativegridview.cpp
index ba66aba..264f12c 100644
--- a/src/declarative/graphicsitems/qdeclarativegridview.cpp
+++ b/src/declarative/graphicsitems/qdeclarativegridview.cpp
@@ -1111,7 +1111,9 @@ void QDeclarativeGridViewPrivate::flick(AxisData &data, qreal minExtent, qreal m
\codeline
\snippet doc/src/snippets/declarative/gridview/gridview.qml classdocs simple
- \floatright gridview-highlight.png
+ \div {float-right}
+ \inlineimage gridview-highlight.png
+ \enddiv
The view will create a new delegate for each item in the model. Note that the delegate
is able to access the model's \c name and \c portrait data directly.