author | zecke <zecke> | 2003-02-15 14:07:56 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-02-15 14:07:56 (UTC) |
commit | b1b8d1d40624c37555412047b6d925e043d2f388 (patch) (side-by-side diff) | |
tree | 2f1e4d28ea6698a9df9a4e36b14102aa5908f33e /x11/libqpe-x11 | |
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 @@ -504,3 +504,10 @@ void QPEApplication::systemMessage( const QCString& chan, const QByteArray& ) { } -void QPEApplication::pidMessage( const QCString&, const QByteArray& ) { +void QPEApplication::pidMessage( const QCString& msg, const QByteArray& ) { + if ( msg == "flush()" ) { + emit flush(); + QCopEnvelope e( "QPE/Desktop", "flushDone(QString)" ); + e << d->appName; + }else if ( msg == "reload()" ) { + emit reload(); + } |