aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/quick/pointerhandlers/flickableinterop/data/Slider.qml4
-rw-r--r--tests/auto/quick/pointerhandlers/flickableinterop/data/TapHandlerButton.qml6
-rw-r--r--tests/auto/quick/pointerhandlers/qquickdraghandler/data/DragAnywhereSlider.qml4
-rw-r--r--tests/auto/quick/pointerhandlers/qquickdraghandler/data/Slider.qml4
-rw-r--r--tests/auto/quick/pointerhandlers/qquicktaphandler/data/Button.qml6
5 files changed, 12 insertions, 12 deletions
diff --git a/tests/auto/quick/pointerhandlers/flickableinterop/data/Slider.qml b/tests/auto/quick/pointerhandlers/flickableinterop/data/Slider.qml
index d01bcf74ed..d64527cc0f 100644
--- a/tests/auto/quick/pointerhandlers/flickableinterop/data/Slider.qml
+++ b/tests/auto/quick/pointerhandlers/flickableinterop/data/Slider.qml
@@ -47,7 +47,7 @@ Item {
property int maximumValue: 99
property alias label: label.text
property alias tapEnabled: tap.enabled
- property alias pressed: tap.isPressed
+ property alias pressed: tap.pressed
signal tapped
Rectangle {
@@ -72,7 +72,7 @@ Item {
anchors.horizontalCenterOffset: 1
radius: 5
color: "#4400FFFF"
- opacity: tap.isPressed || tapFlash.running ? 1 : 0
+ opacity: tap.pressed || tapFlash.running ? 1 : 0
FlashAnimation on visible {
id: tapFlash
}
diff --git a/tests/auto/quick/pointerhandlers/flickableinterop/data/TapHandlerButton.qml b/tests/auto/quick/pointerhandlers/flickableinterop/data/TapHandlerButton.qml
index 4aac89402b..9e65290d84 100644
--- a/tests/auto/quick/pointerhandlers/flickableinterop/data/TapHandlerButton.qml
+++ b/tests/auto/quick/pointerhandlers/flickableinterop/data/TapHandlerButton.qml
@@ -44,7 +44,7 @@ import Qt.labs.handlers 1.0
Rectangle {
id: root
property alias label: label.text
- property alias pressed: tap.isPressed
+ property alias pressed: tap.pressed
property bool checked: false
property alias gesturePolicy: tap.gesturePolicy
property alias enabled: tap.enabled
@@ -54,7 +54,7 @@ Rectangle {
border.color: "#9f9d9a"; border.width: 1; radius: height / 4; antialiasing: true
gradient: Gradient {
- GradientStop { position: 0.0; color: tap.isPressed ? "#b8b5b2" : "#efebe7" }
+ GradientStop { position: 0.0; color: tap.pressed ? "#b8b5b2" : "#efebe7" }
GradientStop { position: 1.0; color: "#b8b5b2" }
}
@@ -86,7 +86,7 @@ Rectangle {
Rectangle {
objectName: "expandingCircle"
radius: tap.timeHeld * 100
- visible: radius > 0 && tap.isPressed
+ visible: radius > 0 && tap.pressed
border.width: 3
border.color: "cyan"
color: "transparent"
diff --git a/tests/auto/quick/pointerhandlers/qquickdraghandler/data/DragAnywhereSlider.qml b/tests/auto/quick/pointerhandlers/qquickdraghandler/data/DragAnywhereSlider.qml
index 9b0ef81635..315da81d04 100644
--- a/tests/auto/quick/pointerhandlers/qquickdraghandler/data/DragAnywhereSlider.qml
+++ b/tests/auto/quick/pointerhandlers/qquickdraghandler/data/DragAnywhereSlider.qml
@@ -48,7 +48,7 @@ Item {
property int maximumValue: 99
property alias label: label.text
property alias tapEnabled: tap.enabled
- property alias pressed: tap.isPressed
+ property alias pressed: tap.pressed
signal tapped
width: 140
height: 400
@@ -84,7 +84,7 @@ Item {
anchors.horizontalCenterOffset: 1
radius: 5
color: "#4400FFFF"
- opacity: tap.isPressed || tapFlash.running ? 1 : 0
+ opacity: tap.pressed || tapFlash.running ? 1 : 0
FlashAnimation on visible {
id: tapFlash
}
diff --git a/tests/auto/quick/pointerhandlers/qquickdraghandler/data/Slider.qml b/tests/auto/quick/pointerhandlers/qquickdraghandler/data/Slider.qml
index 81c261fc7a..52555bc8d7 100644
--- a/tests/auto/quick/pointerhandlers/qquickdraghandler/data/Slider.qml
+++ b/tests/auto/quick/pointerhandlers/qquickdraghandler/data/Slider.qml
@@ -48,7 +48,7 @@ Item {
property int maximumValue: 99
property alias label: label.text
property alias tapEnabled: tap.enabled
- property alias pressed: tap.isPressed
+ property alias pressed: tap.pressed
signal tapped
width: 140
height: 400
@@ -75,7 +75,7 @@ Item {
anchors.horizontalCenterOffset: 1
radius: 5
color: "#4400FFFF"
- opacity: tap.isPressed || tapFlash.running ? 1 : 0
+ opacity: tap.pressed || tapFlash.running ? 1 : 0
FlashAnimation on visible {
id: tapFlash
}
diff --git a/tests/auto/quick/pointerhandlers/qquicktaphandler/data/Button.qml b/tests/auto/quick/pointerhandlers/qquicktaphandler/data/Button.qml
index 6203a6769d..63c30b4d34 100644
--- a/tests/auto/quick/pointerhandlers/qquicktaphandler/data/Button.qml
+++ b/tests/auto/quick/pointerhandlers/qquicktaphandler/data/Button.qml
@@ -44,7 +44,7 @@ import Qt.labs.handlers 1.0
Rectangle {
id: root
property alias label: label.text
- property alias pressed: tap.isPressed
+ property alias pressed: tap.pressed
property bool checked: false
property alias gesturePolicy: tap.gesturePolicy
signal tapped
@@ -53,7 +53,7 @@ Rectangle {
border.color: "#9f9d9a"; border.width: 1; radius: height / 4; antialiasing: true
gradient: Gradient {
- GradientStop { position: 0.0; color: tap.isPressed ? "#b8b5b2" : "#efebe7" }
+ GradientStop { position: 0.0; color: tap.pressed ? "#b8b5b2" : "#efebe7" }
GradientStop { position: 1.0; color: "#b8b5b2" }
}
@@ -85,7 +85,7 @@ Rectangle {
Rectangle {
objectName: "expandingCircle"
radius: tap.timeHeld * 100
- visible: radius > 0 && tap.isPressed
+ visible: radius > 0 && tap.pressed
border.width: 3
border.color: "blue"
color: "transparent"