author | harlekin <harlekin> | 2002-07-09 14:00:53 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-07-09 14:00:53 (UTC) |
commit | f9e07dc2c8e489c48debb31a6ae5afd46b77faee (patch) (unidiff) | |
tree | a35a5d7eb9cf1e9f1e3f2dfb1e7086929b27636d /noncore/multimedia/opieplayer2/xinecontrol.h | |
parent | 87bb55055c826b6c75d4a66a7ff6e21058cf6361 (diff) | |
download | opie-f9e07dc2c8e489c48debb31a6ae5afd46b77faee.zip opie-f9e07dc2c8e489c48debb31a6ae5afd46b77faee.tar.gz opie-f9e07dc2c8e489c48debb31a6ae5afd46b77faee.tar.bz2 |
fullscreen toogle connected
Diffstat (limited to 'noncore/multimedia/opieplayer2/xinecontrol.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinecontrol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.h b/noncore/multimedia/opieplayer2/xinecontrol.h index aab00cd..145cd0c 100644 --- a/noncore/multimedia/opieplayer2/xinecontrol.h +++ b/noncore/multimedia/opieplayer2/xinecontrol.h | |||
@@ -1,40 +1,40 @@ | |||
1 | 1 | ||
2 | #ifndef XINECONTROL_H | 2 | #ifndef XINECONTROL_H |
3 | #define XINECONTROL_H | 3 | #define XINECONTROL_H |
4 | 4 | ||
5 | #include "lib.h" | 5 | #include "lib.h" |
6 | #include "mediadetect.h" | 6 | #include "mediadetect.h" |
7 | #include <qobject.h> | 7 | #include <qobject.h> |
8 | 8 | ||
9 | class XineControl : public QObject { | 9 | class XineControl : public QObject { |
10 | Q_OBJECT | 10 | Q_OBJECT |
11 | public: | 11 | public: |
12 | XineControl( QObject *parent = 0, const char *name =0 ); | 12 | XineControl( QObject *parent = 0, const char *name =0 ); |
13 | ~XineControl(); | 13 | ~XineControl(); |
14 | 14 | ||
15 | public slots: | 15 | public slots: |
16 | void play( const QString& fileName ); | 16 | void play( const QString& fileName ); |
17 | void stop( bool ); | 17 | void stop( bool ); |
18 | void pause( bool ); | 18 | void pause( bool ); |
19 | 19 | void setFullscreen( bool ); | |
20 | int currentTime(); | 20 | int currentTime(); |
21 | 21 | ||
22 | // get length of media file and set it | 22 | // get length of media file and set it |
23 | void length(); | 23 | void length(); |
24 | 24 | ||
25 | int position(); | 25 | int position(); |
26 | 26 | ||
27 | private: | 27 | private: |
28 | XINE::Lib *libXine; | 28 | XINE::Lib *libXine; |
29 | MediaDetect mdetect; | 29 | MediaDetect mdetect; |
30 | int m_length; | 30 | int m_length; |
31 | int m_currentTime; | 31 | int m_currentTime; |
32 | int m_position; | 32 | int m_position; |
33 | 33 | ||
34 | signals: | 34 | signals: |
35 | void positionChanged( int position ); | 35 | void positionChanged( int position ); |
36 | 36 | ||
37 | }; | 37 | }; |
38 | 38 | ||
39 | 39 | ||
40 | #endif | 40 | #endif |