diff options
author | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-18 16:15:01 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-18 16:15:01 (GMT) |
commit | 62e9750e4055808f5eb04479b2f0c221e13747ff (patch) | |
tree | 8539b12d1693947e2424cd70a189e64275cb8d4b /src/3rdparty/phonon/mmf/abstractplayer.h | |
parent | 008d464ea90a0a33f16bd6ce29563e7dd206b91f (diff) | |
download | Qt-62e9750e4055808f5eb04479b2f0c221e13747ff.zip Qt-62e9750e4055808f5eb04479b2f0c221e13747ff.tar.gz Qt-62e9750e4055808f5eb04479b2f0c221e13747ff.tar.bz2 |
Refactored AudioPlayer and VideoPlayer to separate out common code into AbstractMediaPlayer
Diffstat (limited to 'src/3rdparty/phonon/mmf/abstractplayer.h')
-rw-r--r-- | src/3rdparty/phonon/mmf/abstractplayer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/mmf/abstractplayer.h b/src/3rdparty/phonon/mmf/abstractplayer.h index 418b896..97527ff 100644 --- a/src/3rdparty/phonon/mmf/abstractplayer.h +++ b/src/3rdparty/phonon/mmf/abstractplayer.h @@ -33,6 +33,10 @@ namespace Phonon class AbstractPlayer : public QObject { + // Required although this class has no signals or slots + // Without this, qobject_cast will fail + Q_OBJECT + public: virtual void play() = 0; virtual void pause() = 0; |