summaryrefslogtreecommitdiffstats
path: root/qml/touch/ListViewDelegate.qml
diff options
context:
space:
mode:
authorJan Arve Saether <jan-arve.saether@theqtcompany.com>2014-10-28 15:14:39 +0100
committerFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2014-10-28 16:39:53 +0100
commitc8d169fd209a1cf1fad2af8113b24757de344494 (patch)
tree1b3d94771b598e721c7da4528f1a1399c6c0082a /qml/touch/ListViewDelegate.qml
parentad99ecba52bc835c4391809202a6d96bb708b065 (diff)
"function accessiblePressAction()" => "Accessible.onPressAction:"
Change-Id: Ic9f8bdf531845a77e43cf526eb9256b85787da5b Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
Diffstat (limited to 'qml/touch/ListViewDelegate.qml')
-rw-r--r--qml/touch/ListViewDelegate.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/qml/touch/ListViewDelegate.qml b/qml/touch/ListViewDelegate.qml
index 8f4c616..7fbc435 100644
--- a/qml/touch/ListViewDelegate.qml
+++ b/qml/touch/ListViewDelegate.qml
@@ -62,7 +62,7 @@ Rectangle {
onClicked: rect.clicked()
Accessible.role: Accessible.Button
Accessible.name: loader.item.accessibleName
- function accessiblePressAction() {
+ Accessible.onPressAction: {
rect.clicked()
}
}
@@ -152,7 +152,7 @@ Rectangle {
onClicked: if (!isSearchView) rect.deleteCity()
Accessible.name: qsTr("Remove %1").arg(city.text)
Accessible.role: Accessible.Button
- function accessiblePressAction () { if (!isSearchView) rect.deleteCity() }
+ Accessible.onPressAction: { if (!isSearchView) rect.deleteCity() }
Image {
id: imageRemove
anchors.centerIn: parent