Diffstat (limited to 'x11/libqpe-x11/qpe/qpeapplication.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | x11/libqpe-x11/qpe/qpeapplication.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/libqpe-x11/qpe/qpeapplication.cpp b/x11/libqpe-x11/qpe/qpeapplication.cpp index 49115d8..c4f8f38 100644 --- a/x11/libqpe-x11/qpe/qpeapplication.cpp +++ b/x11/libqpe-x11/qpe/qpeapplication.cpp | |||
@@ -478,50 +478,50 @@ bool QPEApplication::keyboardGrabbed()const { | |||
478 | return d->kbgrabber; | 478 | return d->kbgrabber; |
479 | } | 479 | } |
480 | int QPEApplication::exec() { | 480 | int QPEApplication::exec() { |
481 | /* now send the QCOP stuff gotten from the file */ | 481 | /* now send the QCOP stuff gotten from the file */ |
482 | d->sendQCopQ(); | 482 | d->sendQCopQ(); |
483 | 483 | ||
484 | if ( d->keep_running ) { | 484 | if ( d->keep_running ) { |
485 | qWarning("going to exec"); | 485 | qWarning("going to exec"); |
486 | int a = QApplication::exec(); | 486 | int a = QApplication::exec(); |
487 | qWarning("left"); | 487 | qWarning("left"); |
488 | return a; | 488 | return a; |
489 | } | 489 | } |
490 | 490 | ||
491 | { | 491 | { |
492 | QCopEnvelope e( "QPE/System", "closing(QString)" ); | 492 | QCopEnvelope e( "QPE/System", "closing(QString)" ); |
493 | e << d->appName; | 493 | e << d->appName; |
494 | } | 494 | } |
495 | qWarning("processing events!"); | 495 | qWarning("processing events!"); |
496 | processEvents(); | 496 | processEvents(); |
497 | return 0; | 497 | return 0; |
498 | } | 498 | } |
499 | void QPEApplication::internalSetStyle( const QString& ) { | 499 | void QPEApplication::internalSetStyle( const QString& ) { |
500 | 500 | ||
501 | } | 501 | } |
502 | void QPEApplication::systemMessage( const QCString&, const QByteArray& ) { | 502 | void QPEApplication::systemMessage( const QCString& chan, const QByteArray& ) { |
503 | 503 | qWarning("QPEApplication::systemMessage( %s )", chan.data() ); | |
504 | } | 504 | } |
505 | void QPEApplication::pidMessage( const QCString&, const QByteArray& ) { | 505 | void QPEApplication::pidMessage( const QCString&, const QByteArray& ) { |
506 | 506 | ||
507 | } | 507 | } |
508 | void QPEApplication::timerEvent( QTimerEvent* e ) { | 508 | void QPEApplication::timerEvent( QTimerEvent* e ) { |
509 | if ( e->timerId() == d->presstimer && d->presswidget ) { | 509 | if ( e->timerId() == d->presstimer && d->presswidget ) { |
510 | // Right pressed | 510 | // Right pressed |
511 | postEvent( d->presswidget, | 511 | postEvent( d->presswidget, |
512 | new QMouseEvent( QEvent::MouseButtonPress, d->presspos, | 512 | new QMouseEvent( QEvent::MouseButtonPress, d->presspos, |
513 | RightButton, LeftButton ) ); | 513 | RightButton, LeftButton ) ); |
514 | killTimer( d->presstimer ); | 514 | killTimer( d->presstimer ); |
515 | d->presstimer = 0; | 515 | d->presstimer = 0; |
516 | } | 516 | } |
517 | } | 517 | } |
518 | 518 | ||
519 | // InputMethods Hints | 519 | // InputMethods Hints |
520 | namespace { | 520 | namespace { |
521 | static QPtrDict<void>* inputMethodDict = 0; | 521 | static QPtrDict<void>* inputMethodDict = 0; |
522 | static void createInputMethodDict(){ | 522 | static void createInputMethodDict(){ |
523 | if ( !inputMethodDict ) | 523 | if ( !inputMethodDict ) |
524 | inputMethodDict = new QPtrDict<void>; | 524 | inputMethodDict = new QPtrDict<void>; |
525 | } | 525 | } |
526 | 526 | ||
527 | static QPtrDict<void>* stylusDict = 0; | 527 | static QPtrDict<void>* stylusDict = 0; |