summaryrefslogtreecommitdiff
path: root/x11
authorzecke <zecke>2003-02-15 14:07:56 (UTC)
committer zecke <zecke>2003-02-15 14:07:56 (UTC)
commitb1b8d1d40624c37555412047b6d925e043d2f388 (patch) (unidiff)
tree2f1e4d28ea6698a9df9a4e36b14102aa5908f33e /x11
parent4049351d6bd48c8e5866f3bc047f567dfe4b35d6 (diff)
downloadopie-b1b8d1d40624c37555412047b6d925e043d2f388.zip
opie-b1b8d1d40624c37555412047b6d925e043d2f388.tar.gz
opie-b1b8d1d40624c37555412047b6d925e043d2f388.tar.bz2
Implement flush and reload
so that syncing works with Opie/X11 again
Diffstat (limited to 'x11') (more/less context) (ignore 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
@@ -502,7 +502,14 @@ void QPEApplication::internalSetStyle( const QString& ) {
502void QPEApplication::systemMessage( const QCString& chan, const QByteArray& ) { 502void QPEApplication::systemMessage( const QCString& chan, const QByteArray& ) {
503 qWarning("QPEApplication::systemMessage( %s )", chan.data() ); 503 qWarning("QPEApplication::systemMessage( %s )", chan.data() );
504} 504}
505void QPEApplication::pidMessage( const QCString&, const QByteArray& ) { 505void 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}
508void QPEApplication::timerEvent( QTimerEvent* e ) { 515void QPEApplication::timerEvent( QTimerEvent* e ) {