diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-11-25 06:28:38 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-11-25 06:28:38 (GMT) |
commit | b74e226c09bc37043a06b24029e0e22e4f3cdd16 (patch) | |
tree | 11bd335cd176eac754c5ea5af8ae41cec74d22c0 /src/declarative/qml/qmlscriptstring.cpp | |
parent | 1c9dcb09b79d77bc7d4958e1393437597892bb0b (diff) | |
download | Qt-b74e226c09bc37043a06b24029e0e22e4f3cdd16.zip Qt-b74e226c09bc37043a06b24029e0e22e4f3cdd16.tar.gz Qt-b74e226c09bc37043a06b24029e0e22e4f3cdd16.tar.bz2 |
Small doc fixes.
Diffstat (limited to 'src/declarative/qml/qmlscriptstring.cpp')
-rw-r--r-- | src/declarative/qml/qmlscriptstring.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlscriptstring.cpp b/src/declarative/qml/qmlscriptstring.cpp index 6f669d5..1ccad53 100644 --- a/src/declarative/qml/qmlscriptstring.cpp +++ b/src/declarative/qml/qmlscriptstring.cpp @@ -60,12 +60,12 @@ public: The QmlScriptString is used by properties that want to accept a script "assignment" from QML. Normally, the following code would result in a binding being established for the \c script -property. If the property had a type of QmlScriptString, the script - \e {print(1921)} - itself +property. If the property had a type of QmlScriptString, the script - \e {console.log(1921)} - itself would be passed to the property and it could choose how to handle it. \code MyType { - script: print(1921) + script: console.log(1921) } \endcode */ |