-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(); + } |