summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativedom.cpp
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-01-17 19:16:50 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-01-17 19:16:50 (GMT)
commit006929de7f84430278e370eaa468a93fa3a1fb96 (patch)
treee6fdfc64e6efc162585f8f6c01492b4925c46527 /src/declarative/qml/qdeclarativedom.cpp
parent72900c3004825514244ebd38f38c0443b9774ad3 (diff)
downloadQt-006929de7f84430278e370eaa468a93fa3a1fb96.zip
Qt-006929de7f84430278e370eaa468a93fa3a1fb96.tar.gz
Qt-006929de7f84430278e370eaa468a93fa3a1fb96.tar.bz2
Doc: Fixed invalid/incomplete QML code snippets.
Diffstat (limited to 'src/declarative/qml/qdeclarativedom.cpp')
-rw-r--r--src/declarative/qml/qdeclarativedom.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/qml/qdeclarativedom.cpp b/src/declarative/qml/qdeclarativedom.cpp
index 89aa79a..f1296aa 100644
--- a/src/declarative/qml/qdeclarativedom.cpp
+++ b/src/declarative/qml/qdeclarativedom.cpp
@@ -334,10 +334,10 @@ QList<QByteArray> QDeclarativeDomProperty::propertyNameParts() const
Return true if this property is used as a default property in the QML
document.
- \qml
+ \code
<Text text="hello"/>
<Text>hello</Text>
- \endqml
+ \endcode
The above two examples return the same DOM tree, except that the second has
the default property flag set on the text property. Observe that whether
@@ -509,10 +509,10 @@ QByteArray QDeclarativeDomDynamicProperty::propertyTypeName() const
Return true if this property is used as a default property in the QML
document.
- \qml
+ \code
<Text text="hello"/>
<Text>hello</Text>
- \endqml
+ \endcode
The above two examples return the same DOM tree, except that the second has
the default property flag set on the text property. Observe that whether