-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 @@ -503,5 +503,12 @@ void QPEApplication::systemMessage( const QCString& chan, const QByteArray& ) { qWarning("QPEApplication::systemMessage( %s )", chan.data() ); } -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(); + } } |