author | harlekin <harlekin> | 2002-08-05 16:58:54 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-08-05 16:58:54 (UTC) |
commit | 6577ed5401ef1374b57a58dd459e91c10899e097 (patch) (side-by-side diff) | |
tree | be02c6759e10490af57918f9b2475a552a571da1 /noncore | |
parent | af5168ac637f2f5b871cc73a69151dd3d829fec0 (diff) | |
download | opie-6577ed5401ef1374b57a58dd459e91c10899e097.zip opie-6577ed5401ef1374b57a58dd459e91c10899e097.tar.gz opie-6577ed5401ef1374b57a58dd459e91c10899e097.tar.bz2 |
doc updates
-rw-r--r-- | noncore/multimedia/opieplayer2/xinecontrol.cpp | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.cpp b/noncore/multimedia/opieplayer2/xinecontrol.cpp index d08ff04..cf7dcb2 100644 --- a/noncore/multimedia/opieplayer2/xinecontrol.cpp +++ b/noncore/multimedia/opieplayer2/xinecontrol.cpp @@ -51,3 +51,2 @@ XineControl::XineControl( QObject *parent, const char *name ) connect( mediaPlayerState, SIGNAL( positionChanged( long ) ), this, SLOT( seekTo( long ) ) ); - } @@ -95,2 +94,6 @@ void XineControl::stop( bool isSet ) { +/** + * Pause playback + * @isSet + */ void XineControl::pause( bool isSet) { @@ -99,2 +102,6 @@ void XineControl::pause( bool isSet) { + +/** + * get current time in playback + */ long XineControl::currentTime() { @@ -106,2 +113,5 @@ long XineControl::currentTime() { +/** + * Set the length of the media file + */ void XineControl::length() { @@ -111,2 +121,7 @@ void XineControl::length() { + +/** + * Reports the position the xine backend is at right now + * @return long the postion in seconds + */ long XineControl::position() { @@ -123,2 +138,6 @@ long XineControl::position() { +/** + * Set videoplayback to fullscreen + * @param isSet + */ void XineControl::setFullscreen( bool isSet ) { @@ -127,4 +146,7 @@ void XineControl::setFullscreen( bool isSet ) { +/** + * Seek to a position in the track + * @param second the second to jump to + */ void XineControl::seekTo( long second ) { - qDebug("seek triggered!!"); libXine->play( m_fileName , 0, (int)second ); @@ -132,5 +154,3 @@ void XineControl::seekTo( long second ) { - -void XineControl::videoResized ( const QSize &s ) -{ +void XineControl::videoResized ( const QSize &s ) { libXine-> resize ( s ); |