summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeworkerscript.cpp
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-05-18 05:07:46 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-05-18 06:11:33 (GMT)
commit711a9a8294d354c1a745b0f6a550672403b7e6fd (patch)
treeecec627771ed1a9854bd4c186dd6f282bfa865bd /src/declarative/qml/qdeclarativeworkerscript.cpp
parent11ccb46495c18cc2a12ad599a9e985b0e3cd7b95 (diff)
downloadQt-711a9a8294d354c1a745b0f6a550672403b7e6fd.zip
Qt-711a9a8294d354c1a745b0f6a550672403b7e6fd.tar.gz
Qt-711a9a8294d354c1a745b0f6a550672403b7e6fd.tar.bz2
doc fix
Diffstat (limited to 'src/declarative/qml/qdeclarativeworkerscript.cpp')
-rw-r--r--src/declarative/qml/qdeclarativeworkerscript.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativeworkerscript.cpp b/src/declarative/qml/qdeclarativeworkerscript.cpp
index 4b687a9..8182998 100644
--- a/src/declarative/qml/qdeclarativeworkerscript.cpp
+++ b/src/declarative/qml/qdeclarativeworkerscript.cpp
@@ -527,7 +527,7 @@ void QDeclarativeWorkerScriptEngine::run()
\snippet doc/src/snippets/declarative/workerscript.qml 0
The above worker script specifies a javascript file, "script.js", that handles
- the operations to be performed in the new thread:
+ the operations to be performed in the new thread. Here is \c script.js:
\qml
WorkerScript.onMessage = function(message) {
@@ -538,7 +538,7 @@ void QDeclarativeWorkerScriptEngine::run()
When the user clicks anywhere within the rectangle, \c sendMessage() is
called, triggering the \tt WorkerScript.onMessage() handler in
- \tt source.js. This in turn sends a reply message that is then received
+ \tt script.js. This in turn sends a reply message that is then received
by the \tt onMessage() handler of \tt myWorker.
*/
QDeclarativeWorkerScript::QDeclarativeWorkerScript(QObject *parent)