summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/abstractplayer.h
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-09-08 21:22:54 (GMT)
committerGareth Stockwell <gareth.stockwell@sosco.com>2009-09-09 15:30:22 (GMT)
commit4bdd75bd721610b992b01c9ebc659da2a8730480 (patch)
tree10c30d8e21b446d2b6770582b8837655bbadf588 /src/3rdparty/phonon/mmf/abstractplayer.h
parentc4fb0864e229ff33e4b454c74116573a9ea79054 (diff)
downloadQt-4bdd75bd721610b992b01c9ebc659da2a8730480.zip
Qt-4bdd75bd721610b992b01c9ebc659da2a8730480.tar.gz
Qt-4bdd75bd721610b992b01c9ebc659da2a8730480.tar.bz2
Improve signal connections between MediaObject and AbstractPlayer.
MediaObject deals with an AbstractPlayer, so make sure we have the signals declared in that base class, instead of individually in each sub-class.
Diffstat (limited to 'src/3rdparty/phonon/mmf/abstractplayer.h')
-rw-r--r--src/3rdparty/phonon/mmf/abstractplayer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/mmf/abstractplayer.h b/src/3rdparty/phonon/mmf/abstractplayer.h
index 0f846ca..72d0a3b 100644
--- a/src/3rdparty/phonon/mmf/abstractplayer.h
+++ b/src/3rdparty/phonon/mmf/abstractplayer.h
@@ -88,6 +88,14 @@ public:
void setVideoOutput(VideoOutput* videoOutput);
+Q_SIGNALS:
+ void totalTimeChanged(qint64 length);
+ void finished();
+ void tick(qint64 time);
+ void stateChanged(Phonon::State oldState,
+ Phonon::State newState);
+
+
protected:
virtual void videoOutputChanged();