summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/abstractplayer.h
diff options
context:
space:
mode:
authorGareth Stockwell <gareth.stockwell@sosco.com>2009-08-18 16:15:01 (GMT)
committerGareth Stockwell <gareth.stockwell@sosco.com>2009-08-18 16:15:01 (GMT)
commit62e9750e4055808f5eb04479b2f0c221e13747ff (patch)
tree8539b12d1693947e2424cd70a189e64275cb8d4b /src/3rdparty/phonon/mmf/abstractplayer.h
parent008d464ea90a0a33f16bd6ce29563e7dd206b91f (diff)
downloadQt-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.h4
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;