summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/qmlintro.qdoc
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-08-25 23:21:24 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-08-25 23:21:24 (GMT)
commitbdfb4a6363a5bc3cac79bf10aa38542ca2261291 (patch)
treed502346b55725e26ef159263916365014a2eb367 /doc/src/declarative/qmlintro.qdoc
parent0094735947164aef8f8e6539c535199b29ed6f4e (diff)
downloadQt-bdfb4a6363a5bc3cac79bf10aa38542ca2261291.zip
Qt-bdfb4a6363a5bc3cac79bf10aa38542ca2261291.tar.gz
Qt-bdfb4a6363a5bc3cac79bf10aa38542ca2261291.tar.bz2
doc fixes
Diffstat (limited to 'doc/src/declarative/qmlintro.qdoc')
-rw-r--r--doc/src/declarative/qmlintro.qdoc13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/src/declarative/qmlintro.qdoc b/doc/src/declarative/qmlintro.qdoc
index 41da36e..3d167ac 100644
--- a/doc/src/declarative/qmlintro.qdoc
+++ b/doc/src/declarative/qmlintro.qdoc
@@ -153,7 +153,7 @@ Item {
\section3 The 'id' property
-The id property is a special property of type \e id. Assigning an id to an object allows you
+The \c id property is a special property of type \e id. Assigning an id to an object allows you
to refer to it elsewhere.
\code
@@ -168,7 +168,7 @@ Item {
}
\endcode
-ids must begin with a letter. We recommended that you start your ids with a capital letter.
+\c ids must begin with a letter. We recommend that you start your ids with a capital letter.
\section2 List properties
@@ -195,9 +195,10 @@ Image {
\section2 Default properties
-Each object type can specify one of it's list properties as its default property.
-If a list property has been the default property, it means the property tag can emitted:
+Each object type can specify one of its list properties as its default property.
+If a list property has been declared as the default property, the property tag can be omitted.
+For example this code:
\code
State {
changes: [
@@ -207,7 +208,7 @@ State {
}
\endcode
-can be simplified to
+can be simplified to:
\code
State {
@@ -216,6 +217,8 @@ State {
}
\endcode
+because \c changes is the default property of the \c State type.
+
\section2 Dot Properties
\section2 Attached Properties