author | llornkcor <llornkcor> | 2002-08-20 12:53:30 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-08-20 12:53:30 (UTC) |
commit | 491f95a2c6a5676f08520e494e125ba8b20e0eae (patch) (unidiff) | |
tree | 8d792da71025cc27da4abcb32cd139ba4cce2ec2 | |
parent | ec61d92a7ea43e517d38d26af71164d0fd70d16c (diff) | |
download | opie-491f95a2c6a5676f08520e494e125ba8b20e0eae.zip opie-491f95a2c6a5676f08520e494e125ba8b20e0eae.tar.gz opie-491f95a2c6a5676f08520e494e125ba8b20e0eae.tar.bz2 |
remove crap
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp index 5b53568..53837c7 100644 --- a/noncore/multimedia/opieplayer2/videowidget.cpp +++ b/noncore/multimedia/opieplayer2/videowidget.cpp | |||
@@ -455,52 +455,43 @@ void VideoWidget::keyReleaseEvent( QKeyEvent *e) { | |||
455 | } else { | 455 | } else { |
456 | mediaPlayerState->setPlaying(TRUE); | 456 | mediaPlayerState->setPlaying(TRUE); |
457 | } | 457 | } |
458 | } | 458 | } |
459 | break; | 459 | break; |
460 | case Key_Down: | 460 | case Key_Down: |
461 | // toggleButton(6); | 461 | // toggleButton(6); |
462 | emit lessClicked(); | 462 | emit lessClicked(); |
463 | emit lessReleased(); | 463 | emit lessReleased(); |
464 | // toggleButton(6); | 464 | // toggleButton(6); |
465 | break; | 465 | break; |
466 | case Key_Up: | 466 | case Key_Up: |
467 | // toggleButton(5); | 467 | // toggleButton(5); |
468 | emit moreClicked(); | 468 | emit moreClicked(); |
469 | emit moreReleased(); | 469 | emit moreReleased(); |
470 | // toggleButton(5); | 470 | // toggleButton(5); |
471 | break; | 471 | break; |
472 | case Key_Right: | 472 | case Key_Right: |
473 | mediaPlayerState->setNext(); | 473 | mediaPlayerState->setNext(); |
474 | break; | 474 | break; |
475 | case Key_Left: | 475 | case Key_Left: |
476 | mediaPlayerState->setPrev(); | 476 | mediaPlayerState->setPrev(); |
477 | break; | 477 | break; |
478 | case Key_Escape: | 478 | case Key_Escape: |
479 | #if defined(QT_QWS_IPAQ) | ||
480 | if( mediaPlayerState->isPaused ) { | ||
481 | setToggleButton( i, FALSE ); | ||
482 | mediaPlayerState->setPaused( FALSE ); | ||
483 | } else if( !mediaPlayerState->isPaused ) { | ||
484 | setToggleButton( i, TRUE ); | ||
485 | mediaPlayerState->setPaused( TRUE ); | ||
486 | } | ||
487 | #endif | ||
488 | break; | 479 | break; |
489 | 480 | ||
490 | }; | 481 | }; |
491 | } | 482 | } |
492 | 483 | ||
493 | XineVideoWidget* VideoWidget::vidWidget() { | 484 | XineVideoWidget* VideoWidget::vidWidget() { |
494 | return videoFrame; | 485 | return videoFrame; |
495 | } | 486 | } |
496 | 487 | ||
497 | 488 | ||
498 | void VideoWidget::setFullscreen ( bool b ) { | 489 | void VideoWidget::setFullscreen ( bool b ) { |
499 | setToggleButton( VideoFullscreen, b ); | 490 | setToggleButton( VideoFullscreen, b ); |
500 | } | 491 | } |
501 | 492 | ||
502 | 493 | ||
503 | void VideoWidget::setPlaying( bool b) { | 494 | void VideoWidget::setPlaying( bool b) { |
504 | setToggleButton( VideoPlay, b ); | 495 | setToggleButton( VideoPlay, b ); |
505 | } | 496 | } |
506 | 497 | ||