diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-02-22 05:10:37 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-02-22 05:10:37 (GMT) |
commit | 1ad3918809ea6c4ac3c1b185581f1c8e76f02aca (patch) | |
tree | 79c712286b530383b90ef426a560bed93208b1d5 /examples/declarative/workerscript | |
parent | bffef59bcefd73a5474f3c3052c951977b60eb27 (diff) | |
download | Qt-1ad3918809ea6c4ac3c1b185581f1c8e76f02aca.zip Qt-1ad3918809ea6c4ac3c1b185581f1c8e76f02aca.tar.gz Qt-1ad3918809ea6c4ac3c1b185581f1c8e76f02aca.tar.bz2 |
Rename MouseRegion -> MouseArea
Diffstat (limited to 'examples/declarative/workerscript')
-rw-r--r-- | examples/declarative/workerscript/workerscript.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/workerscript/workerscript.qml b/examples/declarative/workerscript/workerscript.qml index e36d4d4..0566f1f 100644 --- a/examples/declarative/workerscript/workerscript.qml +++ b/examples/declarative/workerscript/workerscript.qml @@ -20,7 +20,7 @@ Rectangle { anchors.leftMargin: 20 color: "red" - MouseRegion { + MouseArea { anchors.fill: parent onClicked: myWorker.sendMessage( { rectangle: "red", x: mouse.x, y: mouse.y } ); } @@ -32,7 +32,7 @@ Rectangle { anchors.rightMargin: 20 color: "blue" - MouseRegion { + MouseArea { anchors.fill: parent onClicked: myWorker.sendMessage( { rectangle: "blue", x: mouse.x, y: mouse.y } ); } |