summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-04-27 15:32:47 (UTC)
committer llornkcor <llornkcor>2002-04-27 15:32:47 (UTC)
commitd0a9aaaca068af74d845743b0bf4f13f6f179f27 (patch) (unidiff)
tree4b4c83adeb464aca2e5a8439ba82d0494db6859e
parent320532727fc7dfbe9760d0eea0e17b8e1230fc8e (diff)
downloadopie-d0a9aaaca068af74d845743b0bf4f13f6f179f27.zip
opie-d0a9aaaca068af74d845743b0bf4f13f6f179f27.tar.gz
opie-d0a9aaaca068af74d845743b0bf4f13f6f179f27.tar.bz2
fix bug
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/audiowidget.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/multimedia/opieplayer/audiowidget.cpp b/core/multimedia/opieplayer/audiowidget.cpp
index aa48961..ac8c935 100644
--- a/core/multimedia/opieplayer/audiowidget.cpp
+++ b/core/multimedia/opieplayer/audiowidget.cpp
@@ -287,51 +287,48 @@ void AudioWidget::mousePressEvent( QMouseEvent *event ) {
287 287
288 288
289void AudioWidget::mouseReleaseEvent( QMouseEvent *event ) { 289void AudioWidget::mouseReleaseEvent( QMouseEvent *event ) {
290 mouseMoveEvent( event ); 290 mouseMoveEvent( event );
291} 291}
292 292
293 293
294void AudioWidget::showEvent( QShowEvent* ) { 294void AudioWidget::showEvent( QShowEvent* ) {
295 QMouseEvent event( QEvent::MouseMove, QPoint( 0, 0 ), 0, 0 ); 295 QMouseEvent event( QEvent::MouseMove, QPoint( 0, 0 ), 0, 0 );
296 mouseMoveEvent( &event ); 296 mouseMoveEvent( &event );
297} 297}
298 298
299 299
300void AudioWidget::closeEvent( QCloseEvent* ) { 300void AudioWidget::closeEvent( QCloseEvent* ) {
301 mediaPlayerState->setList(); 301 mediaPlayerState->setList();
302} 302}
303 303
304 304
305void AudioWidget::paintEvent( QPaintEvent * ) { 305void AudioWidget::paintEvent( QPaintEvent * ) {
306 QPainter p( this ); 306 QPainter p( this );
307 for ( int i = 0; i < numButtons; i++ ) 307 for ( int i = 0; i < numButtons; i++ )
308 paintButton( &p, i ); 308 paintButton( &p, i );
309} 309}
310 310
311void AudioWidget::showMe() {
312 show();
313}
314void AudioWidget::keyReleaseEvent( QKeyEvent *e) 311void AudioWidget::keyReleaseEvent( QKeyEvent *e)
315{ 312{
316 switch ( e->key() ) { 313 switch ( e->key() ) {
317////////////////////////////// Zaurus keys 314////////////////////////////// Zaurus keys
318 case Key_Home: 315 case Key_Home:
319 break; 316 break;
320 case Key_F9: //activity 317 case Key_F9: //activity
321 hide(); 318 hide();
322// qDebug("Audio F9"); 319// qDebug("Audio F9");
323 break; 320 break;
324 case Key_F10: //contacts 321 case Key_F10: //contacts
325 break; 322 break;
326 case Key_F11: //menu 323 case Key_F11: //menu
327 break; 324 break;
328 case Key_F12: //home 325 case Key_F12: //home
329 break; 326 break;
330 case Key_F13: //mail 327 case Key_F13: //mail
331 break; 328 break;
332 case Key_Space: { 329 case Key_Space: {
333 if(mediaPlayerState->playing()) { 330 if(mediaPlayerState->playing()) {
334// toggleButton(1); 331// toggleButton(1);
335 mediaPlayerState->setPlaying(FALSE); 332 mediaPlayerState->setPlaying(FALSE);
336// toggleButton(1); 333// toggleButton(1);
337 } else { 334 } else {