author | zecke <zecke> | 2003-02-15 14:07:56 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-02-15 14:07:56 (UTC) |
commit | b1b8d1d40624c37555412047b6d925e043d2f388 (patch) (unidiff) | |
tree | 2f1e4d28ea6698a9df9a4e36b14102aa5908f33e | |
parent | 4049351d6bd48c8e5866f3bc047f567dfe4b35d6 (diff) | |
download | opie-b1b8d1d40624c37555412047b6d925e043d2f388.zip opie-b1b8d1d40624c37555412047b6d925e043d2f388.tar.gz opie-b1b8d1d40624c37555412047b6d925e043d2f388.tar.bz2 |
Implement flush and reload
so that syncing works with Opie/X11 again
-rw-r--r-- | x11/libqpe-x11/qpe/qpeapplication.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/libqpe-x11/qpe/qpeapplication.cpp b/x11/libqpe-x11/qpe/qpeapplication.cpp index c4f8f38..ed815f8 100644 --- a/x11/libqpe-x11/qpe/qpeapplication.cpp +++ b/x11/libqpe-x11/qpe/qpeapplication.cpp | |||
@@ -501,9 +501,16 @@ void QPEApplication::internalSetStyle( const QString& ) { | |||
501 | } | 501 | } |
502 | void QPEApplication::systemMessage( const QCString& chan, const QByteArray& ) { | 502 | void QPEApplication::systemMessage( const QCString& chan, const QByteArray& ) { |
503 | qWarning("QPEApplication::systemMessage( %s )", chan.data() ); | 503 | qWarning("QPEApplication::systemMessage( %s )", chan.data() ); |
504 | } | 504 | } |
505 | void QPEApplication::pidMessage( const QCString&, const QByteArray& ) { | 505 | void QPEApplication::pidMessage( const QCString& msg, const QByteArray& ) { |
506 | if ( msg == "flush()" ) { | ||
507 | emit flush(); | ||
508 | QCopEnvelope e( "QPE/Desktop", "flushDone(QString)" ); | ||
509 | e << d->appName; | ||
510 | }else if ( msg == "reload()" ) { | ||
511 | emit reload(); | ||
512 | } | ||
506 | 513 | ||
507 | } | 514 | } |
508 | void QPEApplication::timerEvent( QTimerEvent* e ) { | 515 | void QPEApplication::timerEvent( QTimerEvent* e ) { |
509 | if ( e->timerId() == d->presstimer && d->presswidget ) { | 516 | if ( e->timerId() == d->presstimer && d->presswidget ) { |