summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/mediaplayer.h
authorharlekin <harlekin>2002-07-01 23:39:54 (UTC)
committer harlekin <harlekin>2002-07-01 23:39:54 (UTC)
commit7ae4965a4052808172e843356cdfb2d0a673bccf (patch) (unidiff)
treecb9567ea7740ea1b3e63de03f836581a0e5ad589 /noncore/multimedia/opieplayer2/mediaplayer.h
parent329ea43b68180058bcd8e9d2af4d09d9c03c55a3 (diff)
downloadopie-7ae4965a4052808172e843356cdfb2d0a673bccf.zip
opie-7ae4965a4052808172e843356cdfb2d0a673bccf.tar.gz
opie-7ae4965a4052808172e843356cdfb2d0a673bccf.tar.bz2
gui
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