Diffstat (limited to 'noncore/multimedia/opieplayer2/xinecontrol.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/xinecontrol.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/multimedia/opieplayer2/xinecontrol.cpp b/noncore/multimedia/opieplayer2/xinecontrol.cpp index 33889d0..d08ff04 100644 --- a/noncore/multimedia/opieplayer2/xinecontrol.cpp +++ b/noncore/multimedia/opieplayer2/xinecontrol.cpp | |||
@@ -48,3 +48,2 @@ XineControl::XineControl( QObject *parent, const char *name ) | |||
48 | connect( this, SIGNAL( positionChanged( long ) ), mediaPlayerState, SLOT( updatePosition( long ) ) ); | 48 | connect( this, SIGNAL( positionChanged( long ) ), mediaPlayerState, SLOT( updatePosition( long ) ) ); |
49 | connect( this, SIGNAL( positionChanged( long ) ), mediaPlayerState, SLOT( setPosition( long ) ) ); | ||
50 | connect( mediaPlayerState, SIGNAL( playingToggled( bool ) ), this, SLOT( stop( bool ) ) ); | 49 | connect( mediaPlayerState, SIGNAL( playingToggled( bool ) ), this, SLOT( stop( bool ) ) ); |
@@ -60,2 +59,3 @@ XineControl::~XineControl() { | |||
60 | void XineControl::play( const QString& fileName ) { | 59 | void XineControl::play( const QString& fileName ) { |
60 | m_fileName = fileName; | ||
61 | libXine->play( fileName ); | 61 | libXine->play( fileName ); |
@@ -113,3 +113,3 @@ long XineControl::position() { | |||
113 | m_position = ( currentTime() ); | 113 | m_position = ( currentTime() ); |
114 | mediaPlayerState->setPosition( m_position ); | 114 | mediaPlayerState->updatePosition( m_position ); |
115 | long emitPos = (long)m_position; | 115 | long emitPos = (long)m_position; |
@@ -128,3 +128,4 @@ void XineControl::setFullscreen( bool isSet ) { | |||
128 | void XineControl::seekTo( long second ) { | 128 | void XineControl::seekTo( long second ) { |
129 | // libXine-> | 129 | qDebug("seek triggered!!"); |
130 | libXine->play( m_fileName , 0, (int)second ); | ||
130 | } | 131 | } |