diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-02-03 07:40:00 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-02-03 07:40:00 (GMT) |
commit | cb16e0adba54015963f2cd8a3f0188965c0c9ef8 (patch) | |
tree | f8bd04e549899b30658ff9cde26a0e8870f62847 /doc/src/declarative/example-slideswitch.qdoc | |
parent | 6abdaa41a3f40238e8a60b80b9ac55a694181e11 (diff) | |
download | Qt-cb16e0adba54015963f2cd8a3f0188965c0c9ef8.zip Qt-cb16e0adba54015963f2cd8a3f0188965c0c9ef8.tar.gz Qt-cb16e0adba54015963f2cd8a3f0188965c0c9ef8.tar.bz2 |
We use JavaScript, not ECMAScript.
Task-number: QTBUG-7720
Diffstat (limited to 'doc/src/declarative/example-slideswitch.qdoc')
-rw-r--r-- | doc/src/declarative/example-slideswitch.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/declarative/example-slideswitch.qdoc b/doc/src/declarative/example-slideswitch.qdoc index 492a8ea..41a8574 100644 --- a/doc/src/declarative/example-slideswitch.qdoc +++ b/doc/src/declarative/example-slideswitch.qdoc @@ -108,7 +108,7 @@ For more information on states see \l{qmlstates}{QML States}. \section2 Functions -We add two ECMAScript functions to our switch: +We add two JavaScript functions to our switch: \snippet examples/declarative/slideswitch/content/Switch.qml 2 @@ -121,7 +121,7 @@ states (\e on and \e off). This second function is called when the knob is released and we want to make sure that the knob does not end up between states (neither \e on nor \e off). If it is the case call the \c toggle() function otherwise we do nothing. -For more information on scripts see \l{qmlecmascript.html}{ECMAScript Blocks}. +For more information on scripts see \l{qmlecmascript.html}{JavaScript Blocks}. \section2 Transition \snippet examples/declarative/slideswitch/content/Switch.qml 7 |