summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-08-20 12:53:30 (UTC)
committer llornkcor <llornkcor>2002-08-20 12:53:30 (UTC)
commit491f95a2c6a5676f08520e494e125ba8b20e0eae (patch) (side-by-side diff)
tree8d792da71025cc27da4abcb32cd139ba4cce2ec2
parentec61d92a7ea43e517d38d26af71164d0fd70d16c (diff)
downloadopie-491f95a2c6a5676f08520e494e125ba8b20e0eae.zip
opie-491f95a2c6a5676f08520e494e125ba8b20e0eae.tar.gz
opie-491f95a2c6a5676f08520e494e125ba8b20e0eae.tar.bz2
remove crap
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/videowidget.cpp9
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
@@ -431,76 +431,67 @@ void VideoWidget::closeEvent( QCloseEvent* ) {
mediaPlayerState->setList();
}
void VideoWidget::keyReleaseEvent( QKeyEvent *e) {
switch ( e->key() ) {
////////////////////////////// Zaurus keys
case Key_Home:
break;
case Key_F9: //activity
break;
case Key_F10: //contacts
// hide();
break;
case Key_F11: //menu
break;
case Key_F12: //home
break;
case Key_F13: //mail
break;
case Key_Space: {
if(mediaPlayerState->playing()) {
mediaPlayerState->setPlaying(FALSE);
} else {
mediaPlayerState->setPlaying(TRUE);
}
}
break;
case Key_Down:
// toggleButton(6);
emit lessClicked();
emit lessReleased();
// toggleButton(6);
break;
case Key_Up:
// toggleButton(5);
emit moreClicked();
emit moreReleased();
// toggleButton(5);
break;
case Key_Right:
mediaPlayerState->setNext();
break;
case Key_Left:
mediaPlayerState->setPrev();
break;
case Key_Escape:
-#if defined(QT_QWS_IPAQ)
- if( mediaPlayerState->isPaused ) {
- setToggleButton( i, FALSE );
- mediaPlayerState->setPaused( FALSE );
- } else if( !mediaPlayerState->isPaused ) {
- setToggleButton( i, TRUE );
- mediaPlayerState->setPaused( TRUE );
- }
-#endif
break;
};
}
XineVideoWidget* VideoWidget::vidWidget() {
return videoFrame;
}
void VideoWidget::setFullscreen ( bool b ) {
setToggleButton( VideoFullscreen, b );
}
void VideoWidget::setPlaying( bool b) {
setToggleButton( VideoPlay, b );
}