summaryrefslogtreecommitdiffstats
path: root/src/declarative/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/util')
-rw-r--r--src/declarative/util/qdeclarativelistmodel.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/declarative/util/qdeclarativelistmodel.cpp b/src/declarative/util/qdeclarativelistmodel.cpp
index 52e563b..0f117f5 100644
--- a/src/declarative/util/qdeclarativelistmodel.cpp
+++ b/src/declarative/util/qdeclarativelistmodel.cpp
@@ -108,7 +108,9 @@ QDeclarativeListModelParser::ListInstruction *QDeclarativeListModelParser::ListM
The following example shows a ListModel containing three elements, with the roles
"name" and "cost".
- \floatright listmodel.png
+ \div {float-right}
+ \inlineimage listmodel.png
+ \enddiv
\snippet doc/src/snippets/declarative/listmodel.qml 0
@@ -131,7 +133,9 @@ QDeclarativeListModelParser::ListInstruction *QDeclarativeListModelParser::ListM
The delegate displays all the fruit attributes:
- \floatright listmodel-nested.png
+ \div {float-right}
+ \inlineimage listmodel-nested.png
+ \enddiv
\snippet doc/src/snippets/declarative/listmodel-nested.qml delegate