-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 17 |
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 | |||
@@ -136,3 +136,2 @@ QWidget( parent, name, f ), scaledWidth( 0 ), scaledHeight( 0 ) { | |||
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) ) ); |
@@ -356,3 +355,2 @@ void VideoWidget::mouseMoveEvent( QMouseEvent *event ) { | |||
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; |
@@ -377,3 +375,3 @@ void VideoWidget::mouseReleaseEvent( QMouseEvent *event ) { | |||
377 | } | 375 | } |
378 | mouseMoveEvent( event ); | 376 | mouseMoveEvent( event ); |
379 | } | 377 | } |
@@ -409,9 +407,3 @@ void VideoWidget::paintEvent( QPaintEvent * pe) { | |||
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() ) { |
@@ -432,6 +424,2 @@ void VideoWidget::paintEvent( QPaintEvent * pe) { | |||
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 ); |
@@ -504,5 +492,2 @@ void VideoWidget::setFullscreen ( bool b ) { | |||
504 | 492 | ||
505 | void VideoWidget::setPaused( bool b) { | ||
506 | // setToggleButton( VideoPause, b ); | ||
507 | } | ||
508 | 493 | ||