author | llornkcor <llornkcor> | 2002-08-03 13:17:17 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-08-03 13:17:17 (UTC) |
commit | c703646da474df28651ec49d5d649d07f994c614 (patch) (side-by-side diff) | |
tree | fabd01c32565fc851b46446fb2f5a07538b23761 /noncore/multimedia/opieplayer2/xinecontrol.cpp | |
parent | 6599cb97da09fc05bbe6e6380c1c0bb128ecb034 (diff) | |
download | opie-c703646da474df28651ec49d5d649d07f994c614.zip opie-c703646da474df28651ec49d5d649d07f994c614.tar.gz opie-c703646da474df28651ec49d5d649d07f994c614.tar.bz2 |
fixed incompatible types
Diffstat (limited to 'noncore/multimedia/opieplayer2/xinecontrol.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinecontrol.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.cpp b/noncore/multimedia/opieplayer2/xinecontrol.cpp index 7337c97..cc1a608 100644 --- a/noncore/multimedia/opieplayer2/xinecontrol.cpp +++ b/noncore/multimedia/opieplayer2/xinecontrol.cpp @@ -99,31 +99,31 @@ void XineControl::pause( bool isSet) { int XineControl::currentTime() { // todo: jede sekunde überprüfen m_currentTime = libXine->currentTime(); return m_currentTime; } void XineControl::length() { m_length = libXine->length(); mediaPlayerState->setLength( m_length ); } -int XineControl::position() { - length(); - qDebug("M_LENGTH :" + m_length); - m_position = ( currentTime() /m_length*100); +long XineControl::position() { + qDebug("<<<<<<<<<<<< xinecontrol setPostion>>>>>>>>>"); + m_position = (m_currentTime/m_length*100); mediaPlayerState->setPosition( m_position ); long emitPos = (long)m_position; emit positionChanged( emitPos ); QTimer::singleShot( 1000, this, SLOT( position() ) ); qDebug("POSITION : " + m_position); return m_position; } void XineControl::setFullscreen( bool isSet ) { libXine->showVideoFullScreen( isSet); } void XineControl::seekTo( long second ) { // libXine-> } + |