-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayer.h b/noncore/multimedia/opieplayer2/mediaplayer.h index 131db33..002311a 100644 --- a/noncore/multimedia/opieplayer2/mediaplayer.h +++ b/noncore/multimedia/opieplayer2/mediaplayer.h | |||
@@ -37,42 +37,42 @@ | |||
37 | #include <qmainwindow.h> | 37 | #include <qmainwindow.h> |
38 | #include <qframe.h> | 38 | #include <qframe.h> |
39 | #include <qpe/qlibrary.h> | 39 | #include <qpe/qlibrary.h> |
40 | #include <qpe/mediaplayerplugininterface.h> | 40 | #include <qpe/mediaplayerplugininterface.h> |
41 | 41 | ||
42 | #include "xinecontrol.h" | 42 | #include "xinecontrol.h" |
43 | 43 | ||
44 | class DocLnk; | 44 | class DocLnk; |
45 | class VolumeControl; | 45 | class VolumeControl; |
46 | 46 | ||
47 | class MediaPlayer : public QObject { | 47 | class MediaPlayer : public QObject { |
48 | Q_OBJECT | 48 | Q_OBJECT |
49 | public: | 49 | public: |
50 | MediaPlayer( QObject *parent, const char *name ); | 50 | MediaPlayer( QObject *parent, const char *name ); |
51 | ~MediaPlayer(); | 51 | ~MediaPlayer(); |
52 | private slots: | 52 | private slots: |
53 | void setPlaying( bool ); | 53 | void setPlaying( bool ); |
54 | void pauseCheck( bool ); | 54 | void pauseCheck( bool ); |
55 | void play(); | 55 | void play(); |
56 | void next(); | 56 | void next(); |
57 | void prev(); | 57 | void prev(); |
58 | void startIncreasingVolume(); | 58 | void startIncreasingVolume(); |
59 | void startDecreasingVolume(); | 59 | void startDecreasingVolume(); |
60 | void stopChangingVolume(); | 60 | void stopChangingVolume(); |
61 | void cleanUp(); | 61 | void cleanUp(); |
62 | void blank( bool ); | 62 | void blank( bool ); |
63 | 63 | ||
64 | protected: | 64 | protected: |
65 | void timerEvent( QTimerEvent *e ); | 65 | void timerEvent( QTimerEvent *e ); |
66 | void keyReleaseEvent( QKeyEvent *e); | 66 | void keyReleaseEvent( QKeyEvent *e); |
67 | private: | 67 | private: |
68 | bool isBlanked, l, r; | 68 | bool isBlanked, l, r; |
69 | int fd; | 69 | int fd, fl; |
70 | int volumeDirection; | 70 | int volumeDirection; |
71 | const DocLnk *currentFile; | 71 | const DocLnk *currentFile; |
72 | XineControl *xineControl; | 72 | XineControl *xineControl; |
73 | VolumeControl *volControl; | 73 | VolumeControl *volControl; |
74 | }; | 74 | }; |
75 | 75 | ||
76 | 76 | ||
77 | #endif // MEDIA_PLAYER_H | 77 | #endif // MEDIA_PLAYER_H |
78 | 78 | ||