author | harlekin <harlekin> | 2002-09-04 13:05:47 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-09-04 13:05:47 (UTC) |
commit | 41a5097ec65c57935aa4425e7e969be9ca591fba (patch) (unidiff) | |
tree | 0988e9b474e7ac50068e10f9c4ec3d85e4a75ef8 | |
parent | 04da91b7a4451366cb005c1e2bb4f649283cc7f9 (diff) | |
download | opie-41a5097ec65c57935aa4425e7e969be9ca591fba.zip opie-41a5097ec65c57935aa4425e7e969be9ca591fba.tar.gz opie-41a5097ec65c57935aa4425e7e969be9ca591fba.tar.bz2 |
test
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index a718826..040e965 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp | |||
@@ -555,38 +555,41 @@ void AudioWidget::keyReleaseEvent( QKeyEvent *e) { | |||
555 | break; | 555 | break; |
556 | case Key_Down: | 556 | case Key_Down: |
557 | // toggleButton(6); | 557 | // toggleButton(6); |
558 | emit lessClicked(); | 558 | emit lessClicked(); |
559 | emit lessReleased(); | 559 | emit lessReleased(); |
560 | // toggleButton(6); | 560 | // toggleButton(6); |
561 | break; | 561 | break; |
562 | case Key_Up: | 562 | case Key_Up: |
563 | // toggleButton(5); | 563 | // toggleButton(5); |
564 | emit moreClicked(); | 564 | emit moreClicked(); |
565 | emit moreReleased(); | 565 | emit moreReleased(); |
566 | // toggleButton(5); | 566 | // toggleButton(5); |
567 | break; | 567 | break; |
568 | case Key_Right: | 568 | case Key_Right: |
569 | // toggleButton(3); | 569 | // toggleButton(3); |
570 | mediaPlayerState->setNext(); | 570 | mediaPlayerState->setNext(); |
571 | // toggleButton(3); | 571 | // toggleButton(3); |
572 | break; | 572 | break; |
573 | case Key_Left: | 573 | case Key_Left: |
574 | // toggleButton(4); | 574 | // toggleButton(4); |
575 | mediaPlayerState->setPrev(); | 575 | mediaPlayerState->setPrev(); |
576 | // toggleButton(4); | 576 | // toggleButton(4); |
577 | break; | 577 | break; |
578 | case Key_Escape: { | 578 | case Key_Escape: { |
579 | #if defined(QT_QWS_IPAQ) | 579 | /* |
580 | * author pleas tell me where the i come from .-) | ||
581 | #if defined(QT_QWS_IPAQ) | ||
580 | if( mediaPlayerState->isPaused ) { | 582 | if( mediaPlayerState->isPaused ) { |
581 | setToggleButton( i, FALSE ); | 583 | setToggleButton( i, FALSE ); |
582 | mediaPlayerState->setPaused( FALSE ); | 584 | mediaPlayerState->setPaused( FALSE ); |
583 | } else if( !mediaPlayerState->isPaused ) { | 585 | } else if( !mediaPlayerState->isPaused ) { |
584 | setToggleButton( i, TRUE ); | 586 | setToggleButton( i, TRUE ); |
585 | mediaPlayerState->setPaused( TRUE ); | 587 | mediaPlayerState->setPaused( TRUE ); |
586 | } | 588 | } |
587 | #endif | 589 | #endif |
590 | */ | ||
588 | } | 591 | } |
589 | break; | 592 | break; |
590 | 593 | ||
591 | }; | 594 | }; |
592 | } | 595 | } |