summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/animation
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-02-23 01:36:05 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-02-23 01:36:05 (GMT)
commit27f35a9cb588ad1dd595fafedc27e5a216bebf48 (patch)
tree26aeebf20b725a340ad58b3411257fed7b626423 /tests/auto/declarative/visual/animation
parentd7c472e23b678b2898d34a37166e61402818e271 (diff)
parent14447cbbf7ee93e03286112b5b27d20961fd9551 (diff)
downloadQt-27f35a9cb588ad1dd595fafedc27e5a216bebf48.zip
Qt-27f35a9cb588ad1dd595fafedc27e5a216bebf48.tar.gz
Qt-27f35a9cb588ad1dd595fafedc27e5a216bebf48.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml
Diffstat (limited to 'tests/auto/declarative/visual/animation')
-rw-r--r--tests/auto/declarative/visual/animation/bindinganimation/bindinganimation.qml6
-rw-r--r--tests/auto/declarative/visual/animation/colorAnimation/colorAnimation.qml2
-rw-r--r--tests/auto/declarative/visual/animation/easing/easing.qml2
-rw-r--r--tests/auto/declarative/visual/animation/parallelAnimation/parallelAnimation.qml2
-rw-r--r--tests/auto/declarative/visual/animation/parentAction/parentAction.qml2
-rw-r--r--tests/auto/declarative/visual/animation/propertyAction/propertyAction.qml2
-rw-r--r--tests/auto/declarative/visual/animation/reanchor/reanchor.qml4
-rw-r--r--tests/auto/declarative/visual/animation/scriptAction/scriptAction.qml2
8 files changed, 11 insertions, 11 deletions
diff --git a/tests/auto/declarative/visual/animation/bindinganimation/bindinganimation.qml b/tests/auto/declarative/visual/animation/bindinganimation/bindinganimation.qml
index 5230ca4..70c14cf 100644
--- a/tests/auto/declarative/visual/animation/bindinganimation/bindinganimation.qml
+++ b/tests/auto/declarative/visual/animation/bindinganimation/bindinganimation.qml
@@ -20,7 +20,7 @@ Rectangle {
x: 50 + 50
}
PropertyChanges {
- target: myMouseRegion
+ target: myMouseArea
onClicked: page.state = ''
}
}
@@ -32,8 +32,8 @@ Rectangle {
}
}
]
- MouseRegion {
- id: myMouseRegion
+ MouseArea {
+ id: myMouseArea
anchors.fill: parent
onClicked: { page.state= 'hello' }
}
diff --git a/tests/auto/declarative/visual/animation/colorAnimation/colorAnimation.qml b/tests/auto/declarative/visual/animation/colorAnimation/colorAnimation.qml
index 0e98d7e..f205ae8 100644
--- a/tests/auto/declarative/visual/animation/colorAnimation/colorAnimation.qml
+++ b/tests/auto/declarative/visual/animation/colorAnimation/colorAnimation.qml
@@ -34,7 +34,7 @@ Rectangle {
}
}
]
- MouseRegion {
+ MouseArea {
anchors.fill: parent
onClicked: { mainrect.state = 'second' }
}
diff --git a/tests/auto/declarative/visual/animation/easing/easing.qml b/tests/auto/declarative/visual/animation/easing/easing.qml
index f81400b..9c814eb 100644
--- a/tests/auto/declarative/visual/animation/easing/easing.qml
+++ b/tests/auto/declarative/visual/animation/easing/easing.qml
@@ -186,7 +186,7 @@ Rectangle {
}
}
}
- MouseRegion {
+ MouseArea {
id: mouse
anchors.fill: layout
}
diff --git a/tests/auto/declarative/visual/animation/parallelAnimation/parallelAnimation.qml b/tests/auto/declarative/visual/animation/parallelAnimation/parallelAnimation.qml
index 7021e05..1980b91 100644
--- a/tests/auto/declarative/visual/animation/parallelAnimation/parallelAnimation.qml
+++ b/tests/auto/declarative/visual/animation/parallelAnimation/parallelAnimation.qml
@@ -14,7 +14,7 @@ Rectangle {
color: "red"
}
- MouseRegion {
+ MouseArea {
anchors.fill: parent
onClicked: parent.state = "state1"
}
diff --git a/tests/auto/declarative/visual/animation/parentAction/parentAction.qml b/tests/auto/declarative/visual/animation/parentAction/parentAction.qml
index e4f4406..eb3103e 100644
--- a/tests/auto/declarative/visual/animation/parentAction/parentAction.qml
+++ b/tests/auto/declarative/visual/animation/parentAction/parentAction.qml
@@ -15,7 +15,7 @@ Rectangle {
color: "red"
}
}
- MouseRegion {
+ MouseArea {
id: clickable
anchors.fill: parent
}
diff --git a/tests/auto/declarative/visual/animation/propertyAction/propertyAction.qml b/tests/auto/declarative/visual/animation/propertyAction/propertyAction.qml
index 68671e1..593f495 100644
--- a/tests/auto/declarative/visual/animation/propertyAction/propertyAction.qml
+++ b/tests/auto/declarative/visual/animation/propertyAction/propertyAction.qml
@@ -7,7 +7,7 @@ Rectangle {
width: 100; height: 100
color: "red"
}
- MouseRegion {
+ MouseArea {
id: clickable
anchors.fill: parent
}
diff --git a/tests/auto/declarative/visual/animation/reanchor/reanchor.qml b/tests/auto/declarative/visual/animation/reanchor/reanchor.qml
index 359346f..d80631f 100644
--- a/tests/auto/declarative/visual/animation/reanchor/reanchor.qml
+++ b/tests/auto/declarative/visual/animation/reanchor/reanchor.qml
@@ -19,7 +19,7 @@ Rectangle {
Item { id: topGuideline2; y: 50 }
Item { id: bottomGuideline2; y: 175 }
- MouseRegion {
+ MouseArea {
id: wholeArea
anchors.fill: parent
onClicked: {
@@ -55,7 +55,7 @@ Rectangle {
NumberAnimation { properties: "x,y,width,height" }
}
- MouseRegion {
+ MouseArea {
width: 50; height: 50
anchors.right: parent.right
anchors.bottom: parent.bottom
diff --git a/tests/auto/declarative/visual/animation/scriptAction/scriptAction.qml b/tests/auto/declarative/visual/animation/scriptAction/scriptAction.qml
index f121906..30d587a 100644
--- a/tests/auto/declarative/visual/animation/scriptAction/scriptAction.qml
+++ b/tests/auto/declarative/visual/animation/scriptAction/scriptAction.qml
@@ -7,7 +7,7 @@ Rectangle {
width: 100; height: 100
color: "red"
}
- MouseRegion {
+ MouseArea {
id: clickable
anchors.fill: parent
}