Diffstat (limited to 'noncore/multimedia/opieplayer2/xinecontrol.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinecontrol.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.h b/noncore/multimedia/opieplayer2/xinecontrol.h index 5f3d7c2..07ad309 100644 --- a/noncore/multimedia/opieplayer2/xinecontrol.h +++ b/noncore/multimedia/opieplayer2/xinecontrol.h | |||
@@ -40,33 +40,33 @@ | |||
40 | 40 | ||
41 | class XineControl : public QObject { | 41 | class XineControl : public QObject { |
42 | Q_OBJECT | 42 | Q_OBJECT |
43 | public: | 43 | public: |
44 | XineControl( QObject *parent = 0, const char *name =0 ); | 44 | XineControl( QObject *parent = 0, const char *name =0 ); |
45 | ~XineControl(); | 45 | ~XineControl(); |
46 | int m_length; | ||
46 | 47 | ||
47 | public slots: | 48 | public slots: |
48 | void play( const QString& fileName ); | 49 | void play( const QString& fileName ); |
49 | void stop( bool ); | 50 | void stop( bool ); |
50 | void pause( bool ); | 51 | void pause( bool ); |
51 | void setFullscreen( bool ); | 52 | void setFullscreen( bool ); |
52 | int currentTime(); | 53 | int currentTime(); |
53 | void seekTo( long ); | 54 | void seekTo( long ); |
54 | // get length of media file and set it | 55 | // get length of media file and set it |
55 | void length(); | 56 | void length(); |
56 | 57 | ||
57 | int position(); | 58 | long position(); |
58 | 59 | ||
59 | private: | 60 | private: |
60 | XINE::Lib *libXine; | 61 | XINE::Lib *libXine; |
61 | MediaDetect mdetect; | 62 | MediaDetect mdetect; |
62 | int m_length; | ||
63 | int m_currentTime; | 63 | int m_currentTime; |
64 | int m_position; | 64 | long m_position; |
65 | 65 | ||
66 | signals: | 66 | signals: |
67 | void positionChanged( long position ); | 67 | void positionChanged( long ); |
68 | 68 | ||
69 | }; | 69 | }; |
70 | 70 | ||
71 | 71 | ||
72 | #endif | 72 | #endif |