#include </home/clem/local/src/opie/noncore/multimedia/opieplayer2/xinecontrol.h>
Collaboration diagram for XineControl:

Public Slots | |
| void | play (const QString &fileName) |
| void | stop (bool) |
| void | pause (bool) |
| void | setFullscreen (bool) |
| long | currentTime () |
| void | seekTo (long) |
| void | length () |
| long | position () |
| void | nextMedia () |
| QString | getMetaInfo () |
| QString | getErrorCode () |
| void | videoResized (const QSize &s) |
| void | setGamma (int) |
Signals | |
| void | positionChanged (long) |
Public Member Functions | |
| XineControl (XINE::Lib *xine, XineVideoWidget *xineWidget, MediaPlayerState &_mediaPlayerState, QObject *parent=0, const char *name=0) | |
| ~XineControl () | |
| bool | hasVideo () const |
| bool | hasAudio () const |
Private Member Functions | |
| void | init () |
Private Attributes | |
| XINE::Lib * | libXine |
| long | m_currentTime |
| long | m_position |
| int | m_length |
| QString | m_fileName |
| bool | disabledSuspendScreenSaver: 1 |
| bool | hasVideoChannel: 1 |
| bool | hasAudioChannel: 1 |
| MediaPlayerState & | mediaPlayerState |
| XineVideoWidget * | xineVideoWidget |
| bool | m_wasError: 1 |
|
||||||||||||||||||||||||
|
Definition at line 47 of file xinecontrol.cpp. References XINE::Lib::ensureInitialized(), init(), m_wasError, and XINE::Lib::setWidget(). |
|
|
Definition at line 75 of file xinecontrol.cpp. References disabledSuspendScreenSaver, QPEApplication::Enable, FALSE, and libXine. |
|
|
get current time in playback Definition at line 168 of file xinecontrol.cpp. References XINE::Lib::currentTime(), libXine, and m_currentTime. Referenced by position(). |
|
|
get the error code and "translate" it for the user Definition at line 251 of file xinecontrol.cpp. References XINE::Lib::error(), libXine, odebug, oendl, and tr. Referenced by getMetaInfo(), and play(). |
|
|
Get as much info about the stream from xine as possible Definition at line 208 of file xinecontrol.cpp. References getErrorCode(), libXine, m_fileName, m_wasError, XINE::Lib::metaInfo(), QString::replace(), and tr. |
|
|
Definition at line 52 of file xinecontrol.h. References hasAudioChannel. |
|
|
Definition at line 51 of file xinecontrol.h. References hasVideoChannel. |
|
|
Definition at line 61 of file xinecontrol.cpp. References disabledSuspendScreenSaver, FALSE, libXine, mediaPlayerState, nextMedia(), pause(), positionChanged(), seekTo(), setFullscreen(), setGamma(), stop(), stopped, videoResized(), and xineVideoWidget. Referenced by XineControl(). |
|
|
Set the length of the media file Definition at line 177 of file xinecontrol.cpp. References XINE::Lib::length(), libXine, m_length, mediaPlayerState, and MediaPlayerState::setLength(). Referenced by play(). |
|
|
Proceed to the next media file in playlist Definition at line 134 of file xinecontrol.cpp. References mediaPlayerState, and MediaPlayerState::setNext(). Referenced by init(). |
|
|
Pause the media stream
Definition at line 160 of file xinecontrol.cpp. References libXine, and XINE::Lib::pause(). Referenced by init(). |
|
|
|
Reports the position the xine backend is at right now
Definition at line 187 of file xinecontrol.cpp. References currentTime(), MediaPlayerState::isPlaying, m_position, mediaPlayerState, positionChanged(), and MediaPlayerState::updatePosition(). Referenced by play(). |
|
|
Referenced by init(), and position(). |
|
|
Seek to a position in the track
Definition at line 276 of file xinecontrol.cpp. References libXine, and XINE::Lib::seekTo(). Referenced by init(). |
|
|
Set videos fullscreen
Definition at line 203 of file xinecontrol.cpp. References libXine, and XINE::Lib::showVideoFullScreen(). Referenced by init(). |
|
|
Set the gamma value of the video output
Definition at line 138 of file xinecontrol.cpp. References libXine, and XINE::Lib::setGamma(). Referenced by init(). |
|
|
Definition at line 142 of file xinecontrol.cpp. References disabledSuspendScreenSaver, QPEApplication::Enable, FALSE, libXine, and XINE::Lib::stop(). Referenced by init(). |
|
|
Definition at line 280 of file xinecontrol.cpp. References libXine, and XINE::Lib::resize(). Referenced by init(). |
|
|
Definition at line 112 of file xinecontrol.h. Referenced by init(), play(), stop(), and ~XineControl(). |
|
|
Definition at line 114 of file xinecontrol.h. Referenced by hasAudio(), and play(). |
|
|
Definition at line 113 of file xinecontrol.h. Referenced by hasVideo(), and play(). |
|
|
Definition at line 107 of file xinecontrol.h. Referenced by currentTime(), getErrorCode(), getMetaInfo(), init(), length(), pause(), play(), seekTo(), setFullscreen(), setGamma(), stop(), videoResized(), and ~XineControl(). |
|
|
Definition at line 108 of file xinecontrol.h. Referenced by currentTime(). |
|
|
Definition at line 111 of file xinecontrol.h. Referenced by getMetaInfo(), and play(). |
|
|
Definition at line 110 of file xinecontrol.h. Referenced by length(). |
|
|
Definition at line 109 of file xinecontrol.h. Referenced by position(). |
|
|
Definition at line 117 of file xinecontrol.h. Referenced by getMetaInfo(), play(), and XineControl(). |
|
|
Definition at line 115 of file xinecontrol.h. Referenced by init(), length(), nextMedia(), play(), and position(). |
|
|
Definition at line 116 of file xinecontrol.h. Referenced by init(). |
1.4.2