summaryrefslogtreecommitdiffstats
path: root/src/multimedia/qml
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2010-02-05 01:09:07 (GMT)
committerAndrew den Exter <andrew.den-exter@nokia.com>2010-02-05 01:09:07 (GMT)
commit275d642215388013247e07d4b351be88422bff41 (patch)
tree519cc9da2ecdabc894dd4b5db86fba714a8d48bb /src/multimedia/qml
parent10888061f86eef9a73fff548b6dc325471cbb809 (diff)
downloadQt-275d642215388013247e07d4b351be88422bff41.zip
Qt-275d642215388013247e07d4b351be88422bff41.tar.gz
Qt-275d642215388013247e07d4b351be88422bff41.tar.bz2
Connect changed signals from QMediaPlayerControl to media QML elements.
Diffstat (limited to 'src/multimedia/qml')
-rw-r--r--src/multimedia/qml/qmlmediabase.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/multimedia/qml/qmlmediabase.cpp b/src/multimedia/qml/qmlmediabase.cpp
index e2a1832..4b42058 100644
--- a/src/multimedia/qml/qmlmediabase.cpp
+++ b/src/multimedia/qml/qmlmediabase.cpp
@@ -264,6 +264,12 @@ void QmlMediaBase::setObject(QObject *object)
object, SIGNAL(volumeChanged()));
QObject::connect(m_playerControl, SIGNAL(mutedChanged(bool)),
object, SIGNAL(mutedChanged()));
+ QObject::connect(m_playerControl, SIGNAL(bufferStatusChanged(int)),
+ object, SIGNAL(bufferProgressChanged()));
+ QObject::connect(m_playerControl, SIGNAL(seekableChanged(bool)),
+ object, SIGNAL(seekableChanged()));
+ QObject::connect(m_playerControl, SIGNAL(playbackRateChanged(qreal)),
+ object, SIGNAL(playbackRateChanged()));
m_animation = new QmlMediaBaseAnimation(this);
} else {