summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/mediaplayer.h
Unidiff
Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayer.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayer.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayer.h b/noncore/multimedia/opieplayer2/mediaplayer.h
new file mode 100644
index 0000000..c4d38b5
--- a/dev/null
+++ b/noncore/multimedia/opieplayer2/mediaplayer.h
@@ -0,0 +1,43 @@
1
2#ifndef MEDIA_PLAYER_H
3#define MEDIA_PLAYER_H
4
5#include <qmainwindow.h>
6#include <qframe.h>
7#include <qpe/qlibrary.h>
8#include <qpe/mediaplayerplugininterface.h>
9
10
11class DocLnk;
12
13
14class MediaPlayer : public QObject {
15 Q_OBJECT
16public:
17 MediaPlayer( QObject *parent, const char *name );
18 ~MediaPlayer();
19
20private slots:
21 void setPlaying( bool );
22 void pauseCheck( bool );
23 void play();
24 void next();
25 void prev();
26 void startIncreasingVolume();
27 void startDecreasingVolume();
28 void stopChangingVolume();
29 void cleanUp();
30
31protected:
32 void timerEvent( QTimerEvent *e );
33 void keyReleaseEvent( QKeyEvent *e);
34 void doBlank();
35 void doUnblank();
36private:
37 int volumeDirection;
38 const DocLnk *currentFile;
39};
40
41
42#endif // MEDIA_PLAYER_H
43