summaryrefslogtreecommitdiffstats
path: root/demos/declarative/flickr/mobile/ImageDetails.qml
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-05-11 03:33:48 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-05-12 05:37:17 (GMT)
commit71187a1f0d26ff61c033a7c2d46892f48816fc45 (patch)
tree0234f975938886f4b675a794a56a829a87d89c5f /demos/declarative/flickr/mobile/ImageDetails.qml
parent798bdb4543f84d427659b950a3a1643ae4987b8b (diff)
downloadQt-71187a1f0d26ff61c033a7c2d46892f48816fc45.zip
Qt-71187a1f0d26ff61c033a7c2d46892f48816fc45.tar.gz
Qt-71187a1f0d26ff61c033a7c2d46892f48816fc45.tar.bz2
Flickable small API changes.
- Split moving into movingHorizontally anf movingVertically - Split flicking into flickingHorizontally and flickingVertically - Rename flickDirection to flickableDirection - onMovementStarted, onMovementEnded, onFlickStarted and onFlickEnded signals removed Task-number: QTBUG-10572 Reviewed-by: Martin Jones
Diffstat (limited to 'demos/declarative/flickr/mobile/ImageDetails.qml')
-rw-r--r--demos/declarative/flickr/mobile/ImageDetails.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/flickr/mobile/ImageDetails.qml b/demos/declarative/flickr/mobile/ImageDetails.qml
index caf1571..79d7cab 100644
--- a/demos/declarative/flickr/mobile/ImageDetails.qml
+++ b/demos/declarative/flickr/mobile/ImageDetails.qml
@@ -70,7 +70,7 @@ Flipable {
Image {
id: bigImage; source: container.photoUrl; scale: slider.value
- anchors.centerIn: parent; smooth: !flickable.moving
+ anchors.centerIn: parent; smooth: !flickable.movingVertically
onStatusChanged : {
// Default scale shows the entire image.
if (status == Image.Ready && width != 0) {
@@ -119,7 +119,7 @@ Flipable {
SequentialAnimation {
PropertyAction { target: bigImage; property: "smooth"; value: false }
NumberAnimation { easing.type: Easing.InOutQuad; properties: "angle"; duration: 500 }
- PropertyAction { target: bigImage; property: "smooth"; value: !flickable.moving }
+ PropertyAction { target: bigImage; property: "smooth"; value: !flickable.movingVertically }
}
}
}