diff options
Diffstat (limited to 'doc/src/qml/qmlsyntax.qdoc')
-rw-r--r-- | doc/src/qml/qmlsyntax.qdoc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/qml/qmlsyntax.qdoc b/doc/src/qml/qmlsyntax.qdoc index 1cd6ad7f46..6dfebb5174 100644 --- a/doc/src/qml/qmlsyntax.qdoc +++ b/doc/src/qml/qmlsyntax.qdoc @@ -103,7 +103,7 @@ Rotation { \endcode These expressions can include references to other objects and properties, in which case -a \i binding is established: when the value of the expression changes, the property the +a \e binding is established: when the value of the expression changes, the property the expression has been assigned to is automatically updated to that value. \code @@ -122,15 +122,15 @@ Item { In the example above, the \c text2 object will display the same text as \c text1. If \c text1 is changed, \c text2 is automatically changed to the same value. -Note that to refer to other objects, we use their \i id values. (See below for more -information on the \i id property.) +Note that to refer to other objects, we use their \e id values. (See below for more +information on the \e id property.) \section1 QML Comments Commenting in QML is similar to JavaScript. \list -\o Single line comments start with // and finish at the end of the line. -\o Multiline comments start with /* and finish with *\/ +\li Single line comments start with // and finish at the end of the line. +\li Multiline comments start with /* and finish with *\/ \endlist \snippet doc/src/snippets/qml/comments.qml 0 |