summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/qmlintro.qdoc
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-10-07 07:56:09 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-10-07 07:56:09 (GMT)
commit68573410fb50d95a6ce27cd001d2e140b0b4aedd (patch)
tree21b42e66d20123049cce74a52c8ec5003c19e049 /doc/src/declarative/qmlintro.qdoc
parent84bb66942c1409513f01818a27ca184b26a8df02 (diff)
downloadQt-68573410fb50d95a6ce27cd001d2e140b0b4aedd.zip
Qt-68573410fb50d95a6ce27cd001d2e140b0b4aedd.tar.gz
Qt-68573410fb50d95a6ce27cd001d2e140b0b4aedd.tar.bz2
doc cleanup
Diffstat (limited to 'doc/src/declarative/qmlintro.qdoc')
-rw-r--r--doc/src/declarative/qmlintro.qdoc12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/declarative/qmlintro.qdoc b/doc/src/declarative/qmlintro.qdoc
index ef84b8e..cfefdb9 100644
--- a/doc/src/declarative/qmlintro.qdoc
+++ b/doc/src/declarative/qmlintro.qdoc
@@ -80,11 +80,11 @@ expression has been assigned to is automatically updated to that value.
\code
Item {
Text {
- id: Text1
+ id: text1
text: "Hello World"
}
Text {
- id: Text2
+ id: text2
text: Text1.text
}
}
@@ -138,7 +138,7 @@ real, bool, string, color, and lists.
Item {
x: 10.5 // a 'real' property
...
- state: "Details" // a 'string' property
+ state: "details" // a 'string' property
focus: true // a 'bool' property
}
\endcode
@@ -161,16 +161,16 @@ to refer to it elsewhere.
\code
Item {
Text {
- id: MyName
+ id: myName
text: "..."
}
Text {
- text: MyName.text
+ text: myName.text
}
}
\endcode
-\c ids must begin with a letter. We recommend that you start your ids with a capital letter.
+\c Ids must begin with a lowercase letter.
\section2 List properties