summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-08-15 16:43:50 (UTC)
committer harlekin <harlekin>2002-08-15 16:43:50 (UTC)
commit09b410db4f8f0104ada5f76d611b39e49e327670 (patch) (unidiff)
treecdeaf715c48fa93c8e370d85ffdbf5f794e6a815
parent71520dfe386a04f8bce5d6f5d9d86dcbeda000d2 (diff)
downloadopie-09b410db4f8f0104ada5f76d611b39e49e327670.zip
opie-09b410db4f8f0104ada5f76d611b39e49e327670.tar.gz
opie-09b410db4f8f0104ada5f76d611b39e49e327670.tar.bz2
update
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/videowidget.cpp17
1 files changed, 1 insertions, 16 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp
index f5780aa..5a23d84 100644
--- a/noncore/multimedia/opieplayer2/videowidget.cpp
+++ b/noncore/multimedia/opieplayer2/videowidget.cpp
@@ -135,5 +135,4 @@ QWidget( parent, name, f ), scaledWidth( 0 ), scaledHeight( 0 ) {
135 connect( mediaPlayerState, SIGNAL( lengthChanged(long) ), this, SLOT( setLength(long) ) ); 135 connect( mediaPlayerState, SIGNAL( lengthChanged(long) ), this, SLOT( setLength(long) ) );
136 connect( mediaPlayerState, SIGNAL( viewChanged(char) ), this, SLOT( setView(char) ) ); 136 connect( mediaPlayerState, SIGNAL( viewChanged(char) ), this, SLOT( setView(char) ) );
137 connect( mediaPlayerState, SIGNAL( pausedToggled(bool) ), this, SLOT( setPaused(bool) ) );
138 connect( mediaPlayerState, SIGNAL( playingToggled(bool) ), this, SLOT( setPlaying(bool) ) ); 137 connect( mediaPlayerState, SIGNAL( playingToggled(bool) ), this, SLOT( setPlaying(bool) ) );
139 138
@@ -355,5 +354,4 @@ void VideoWidget::mouseMoveEvent( QMouseEvent *event ) {
355 354
356 case VideoStop: mediaPlayerState->setPlaying( FALSE ); return; 355 case VideoStop: mediaPlayerState->setPlaying( FALSE ); return;
357// case VideoPause: mediaPlayerState->setPaused(videoButtons[i].isDown); return;
358 case VideoNext: mediaPlayerState->setNext(); return; 356 case VideoNext: mediaPlayerState->setNext(); return;
359 case VideoPrevious: mediaPlayerState->setPrev(); return; 357 case VideoPrevious: mediaPlayerState->setPrev(); return;
@@ -376,5 +374,5 @@ void VideoWidget::mouseReleaseEvent( QMouseEvent *event ) {
376 makeVisible(); 374 makeVisible();
377 } 375 }
378 mouseMoveEvent( event ); 376 mouseMoveEvent( event );
379} 377}
380 378
@@ -408,11 +406,5 @@ void VideoWidget::paintEvent( QPaintEvent * pe) {
408 // Clear the background 406 // Clear the background
409 p.setBrush( QBrush( Qt::black ) ); 407 p.setBrush( QBrush( Qt::black ) );
410 // videoFrame->setGeometry( QRect( 0, 0 , 240 ,320 ) );
411
412 } else { 408 } else {
413
414 // videoFrame->setGeometry( QRect( 0, 15 , 240 ,170 ) );
415 // draw the buttons
416
417 if ( !pe->erased() ) { 409 if ( !pe->erased() ) {
418 // Combine with background and double buffer 410 // Combine with background and double buffer
@@ -431,8 +423,4 @@ void VideoWidget::paintEvent( QPaintEvent * pe) {
431 paintButton( &p, i ); 423 paintButton( &p, i );
432 } 424 }
433 // for ( int i = 0; i < numButtons; i++ ) {
434 // paintButton( &p, i );
435 // }
436 // draw the slider
437 slider->repaint( TRUE ); 425 slider->repaint( TRUE );
438 } 426 }
@@ -503,7 +491,4 @@ void VideoWidget::setFullscreen ( bool b ) {
503} 491}
504 492
505void VideoWidget::setPaused( bool b) {
506// setToggleButton( VideoPause, b );
507}
508 493
509void VideoWidget::setPlaying( bool b) { 494void VideoWidget::setPlaying( bool b) {