Diffstat (limited to 'noncore/multimedia/opieplayer2/audiowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index 95a0f45..1c08b41 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp | |||
@@ -136,7 +136,7 @@ void AudioWidget::sliderReleased() { | |||
136 | } | 136 | } |
137 | 137 | ||
138 | void AudioWidget::setPosition( long i ) { | 138 | void AudioWidget::setPosition( long i ) { |
139 | // odebug << "<<<<<<<<<<<<<<<<<<<<<<<<set position " << i << "" << oendl; | 139 | // odebug << "<<<<<<<<<<<<<<<<<<<<<<<<set position " << i << "" << oendl; |
140 | updateSlider( i, mediaPlayerState.length() ); | 140 | updateSlider( i, mediaPlayerState.length() ); |
141 | } | 141 | } |
142 | 142 | ||
@@ -190,7 +190,7 @@ void AudioWidget::loadSkin() | |||
190 | void AudioWidget::setSeekable( bool isSeekable ) { | 190 | void AudioWidget::setSeekable( bool isSeekable ) { |
191 | 191 | ||
192 | if ( !isSeekable ) { | 192 | if ( !isSeekable ) { |
193 | odebug << "<<<<<<<<<<<<<<file is STREAMING>>>>>>>>>>>>>>>>>>>" << oendl; | 193 | odebug << "<<<<<<<<<<<<<<file is STREAMING>>>>>>>>>>>>>>>>>>>" << oendl; |
194 | if( !slider.isHidden()) { | 194 | if( !slider.isHidden()) { |
195 | slider.hide(); | 195 | slider.hide(); |
196 | } | 196 | } |
@@ -202,7 +202,7 @@ void AudioWidget::setSeekable( bool isSeekable ) { | |||
202 | // this stops the slider from being moved, thus | 202 | // this stops the slider from being moved, thus |
203 | // does not stop stream when it reaches the end | 203 | // does not stop stream when it reaches the end |
204 | slider.show(); | 204 | slider.show(); |
205 | odebug << " CONNECT SET POSTION " << oendl; | 205 | odebug << " CONNECT SET POSTION " << oendl; |
206 | connect( &mediaPlayerState, SIGNAL( positionChanged(long) ),this, SLOT( setPosition(long) ) ); | 206 | connect( &mediaPlayerState, SIGNAL( positionChanged(long) ),this, SLOT( setPosition(long) ) ); |
207 | connect( &mediaPlayerState, SIGNAL( positionUpdated(long) ),this, SLOT( setPosition(long) ) ); | 207 | connect( &mediaPlayerState, SIGNAL( positionUpdated(long) ),this, SLOT( setPosition(long) ) ); |
208 | connect( &slider, SIGNAL( sliderPressed() ), this, SLOT( sliderPressed() ) ); | 208 | connect( &slider, SIGNAL( sliderPressed() ), this, SLOT( sliderPressed() ) ); |
@@ -220,7 +220,7 @@ static QString timeAsString( long length ) { | |||
220 | void AudioWidget::updateSlider( long i, long max ) { | 220 | void AudioWidget::updateSlider( long i, long max ) { |
221 | 221 | ||
222 | time.setText( timeAsString( i ) + " / " + timeAsString( max ) ); | 222 | time.setText( timeAsString( i ) + " / " + timeAsString( max ) ); |
223 | // qDebug( timeAsString( i ) + " / " + timeAsString( max ) ) ; | 223 | // odebug << timeAsString( i ) << " / " << timeAsString( max ) << oendl; |
224 | 224 | ||
225 | if ( max == 0 ) { | 225 | if ( max == 0 ) { |
226 | return; | 226 | return; |
@@ -274,7 +274,7 @@ void AudioWidget::keyReleaseEvent( QKeyEvent *e) { | |||
274 | break; | 274 | break; |
275 | case Key_F9: //activity | 275 | case Key_F9: //activity |
276 | hide(); | 276 | hide(); |
277 | // odebug << "Audio F9" << oendl; | 277 | // odebug << "Audio F9" << oendl; |
278 | e->accept(); | 278 | e->accept(); |
279 | break; | 279 | break; |
280 | case Key_F10: //contacts | 280 | case Key_F10: //contacts |