Replace a writable position() property with a seek() method.
authorMichael Goddard <michael.goddard@nokia.com>
Tue, 12 Jun 2012 07:18:03 +0000 (17:18 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 14 Jun 2012 03:42:49 +0000 (05:42 +0200)
commitc88abd01775ea26f9552b89694ffb95b770af407
tree73ad4ef4343adeaefc3ce2602d413fb2b0dfa82a
parent940ef93c30d7b3421c3304762fed538dd1f41504
Replace a writable position() property with a seek() method.

Seeking is sometimes asynchronous, and more importantly nearly every
one using a slider for seeking ends up with a binding loop.

Change-Id: I45d92e19b0276c8b97c51c073754d1c9d3dc611e
Reviewed-by: Ling Hu <ling.hu@nokia.com>
examples/video/qmlvideo/qml/qmlvideo/VideoDummy.qml
examples/video/qmlvideo/qml/qmlvideo/VideoItem.qml
examples/video/qmlvideo/qml/qmlvideo/VideoSeek.qml
src/imports/multimedia/qdeclarativeaudio.cpp
src/imports/multimedia/qdeclarativeaudio_p.h
tests/auto/unit/qdeclarativeaudio/tst_qdeclarativeaudio.cpp