summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmldom.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-10-22 06:10:31 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-10-22 06:10:31 (GMT)
commita477ea20364da0b0c363b02084adf3c5eff843b1 (patch)
tree2f32d0c74c1dc09c583f4fa50707e867a2a9c160 /src/declarative/qml/qmldom.cpp
parent9e9c979affd1ce76a07c6545c25d2851c7964a7c (diff)
downloadQt-a477ea20364da0b0c363b02084adf3c5eff843b1.zip
Qt-a477ea20364da0b0c363b02084adf3c5eff843b1.tar.gz
Qt-a477ea20364da0b0c363b02084adf3c5eff843b1.tar.bz2
change all ids in doc examples to start with lower case.
Diffstat (limited to 'src/declarative/qml/qmldom.cpp')
-rw-r--r--src/declarative/qml/qmldom.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/qml/qmldom.cpp b/src/declarative/qml/qmldom.cpp
index ce1bb93..a0601d7 100644
--- a/src/declarative/qml/qmldom.cpp
+++ b/src/declarative/qml/qmldom.cpp
@@ -764,7 +764,7 @@ int QmlDomObject::objectTypeMinorVersion() const
For example, the object id of this object would be "MyText".
\qml
-Text { id: MyText }
+Text { id: myText }
\endqml
*/
QString QmlDomObject::objectId() const
@@ -1599,12 +1599,12 @@ QList<int> QmlDomList:: commaPositions() const
Sub-components are QmlComponents defined within a QML document. The
following example shows the definition of a sub-component with the id
- "ListDelegate".
+ "listDelegate".
\qml
Item {
Component {
- id: ListDelegate
+ id: listDelegate
Text {
text: modelData.text
}
@@ -1653,7 +1653,7 @@ QmlDomComponent &QmlDomComponent::operator=(const QmlDomComponent &other)
\qml
Item {
Component {
- id: ListDelegate
+ id: listDelegate
Text {
text: modelData.text
}