summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--x11/libqpe-x11/qpe/qpeapplication.cpp9
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
@@ -499,13 +499,20 @@ int QPEApplication::exec() {
void QPEApplication::internalSetStyle( const QString& ) {
}
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();
+ }
}
void QPEApplication::timerEvent( QTimerEvent* e ) {
if ( e->timerId() == d->presstimer && d->presswidget ) {
// Right pressed
postEvent( d->presswidget,