diff options
author | Bea Lam <bea.lam@nokia.com> | 2009-11-25 05:05:55 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2009-11-25 05:05:55 (GMT) |
commit | 20504e30096f2942abcadb966b26c834a6062ea5 (patch) | |
tree | 3d31696bed1bfc1ba17fc441babdf0b6c6ad9410 /doc/src/declarative/extending.qdoc | |
parent | 553cf812d36437542005fcf758fe707b7e1c63a5 (diff) | |
download | Qt-20504e30096f2942abcadb966b26c834a6062ea5.zip Qt-20504e30096f2942abcadb966b26c834a6062ea5.tar.gz Qt-20504e30096f2942abcadb966b26c834a6062ea5.tar.bz2 |
Doc improvments
Diffstat (limited to 'doc/src/declarative/extending.qdoc')
-rw-r--r-- | doc/src/declarative/extending.qdoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/declarative/extending.qdoc b/doc/src/declarative/extending.qdoc index 7a9de60..5985494 100644 --- a/doc/src/declarative/extending.qdoc +++ b/doc/src/declarative/extending.qdoc @@ -636,7 +636,7 @@ declaring a new property, and the corresponding C++ type. \row \o variant \o QVariant \endtable -QML supports two methods for adding a new property to a type - a new property +QML supports two methods for adding a new property to a type: a new property definition, and a property alias. \section2 Property definitions @@ -714,10 +714,10 @@ binding, the alias reference syntax is highly restricted. An alias reference takes one of the following forms \code - <Id>.<property> - <Id> + <id>.<property> + <id> \endcode -where <Id> must refer to an object id within the same component as the type +where <id> must refer to an object id within the same component as the type declaring the alias, and, optionally, <property> refers to a property on that object. Here is the property definition example rewritten to use property aliases. |