author | harlekin <harlekin> | 2002-08-15 16:43:50 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-08-15 16:43:50 (UTC) |
commit | 09b410db4f8f0104ada5f76d611b39e49e327670 (patch) (side-by-side diff) | |
tree | cdeaf715c48fa93c8e370d85ffdbf5f794e6a815 /noncore | |
parent | 71520dfe386a04f8bce5d6f5d9d86dcbeda000d2 (diff) | |
download | opie-09b410db4f8f0104ada5f76d611b39e49e327670.zip opie-09b410db4f8f0104ada5f76d611b39e49e327670.tar.gz opie-09b410db4f8f0104ada5f76d611b39e49e327670.tar.bz2 |
update
-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 @@ -135,5 +135,4 @@ QWidget( parent, name, f ), scaledWidth( 0 ), scaledHeight( 0 ) { connect( mediaPlayerState, SIGNAL( lengthChanged(long) ), this, SLOT( setLength(long) ) ); connect( mediaPlayerState, SIGNAL( viewChanged(char) ), this, SLOT( setView(char) ) ); - connect( mediaPlayerState, SIGNAL( pausedToggled(bool) ), this, SLOT( setPaused(bool) ) ); connect( mediaPlayerState, SIGNAL( playingToggled(bool) ), this, SLOT( setPlaying(bool) ) ); @@ -355,5 +354,4 @@ void VideoWidget::mouseMoveEvent( QMouseEvent *event ) { case VideoStop: mediaPlayerState->setPlaying( FALSE ); return; -// case VideoPause: mediaPlayerState->setPaused(videoButtons[i].isDown); return; case VideoNext: mediaPlayerState->setNext(); return; case VideoPrevious: mediaPlayerState->setPrev(); return; @@ -376,5 +374,5 @@ void VideoWidget::mouseReleaseEvent( QMouseEvent *event ) { makeVisible(); } - mouseMoveEvent( event ); + mouseMoveEvent( event ); } @@ -408,11 +406,5 @@ void VideoWidget::paintEvent( QPaintEvent * pe) { // Clear the background p.setBrush( QBrush( Qt::black ) ); - // videoFrame->setGeometry( QRect( 0, 0 , 240 ,320 ) ); - } else { - - // videoFrame->setGeometry( QRect( 0, 15 , 240 ,170 ) ); - // draw the buttons - if ( !pe->erased() ) { // Combine with background and double buffer @@ -431,8 +423,4 @@ void VideoWidget::paintEvent( QPaintEvent * pe) { paintButton( &p, i ); } - // for ( int i = 0; i < numButtons; i++ ) { - // paintButton( &p, i ); - // } - // draw the slider slider->repaint( TRUE ); } @@ -503,7 +491,4 @@ void VideoWidget::setFullscreen ( bool b ) { } -void VideoWidget::setPaused( bool b) { -// setToggleButton( VideoPause, b ); -} void VideoWidget::setPlaying( bool b) { |