[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/arts/knotify
From:       Russell Miller <rmiller () duskglow ! com>
Date:       2003-08-27 10:31:12
[Download RAW message or body]

CVS commit by rmiller: 



Emit a DCOP signal whenever an event is processed, so apps can catch those
events and display them in a manner of their choosing.  A kicker applet has
been written to take advantage of this, but that is for another time and
another commit.  Thanks to aseigo for his help.


  M +6 -0      knotify.cpp   1.83


--- kdelibs/arts/knotify/knotify.cpp  #1.82:1.83
@@ -362,4 +362,10 @@ void KNotify::notify(const QString &even
     }
 
+    QByteArray qbd;
+    QDataStream ds(qbd, IO_WriteOnly);
+    ds << event << fromApp << text << sound << file << present << level
+        << winId << eventId;
+    emitDCOPSignal("notifySignal(QString,QString,QString,QString,QString,int,int,int,int)", qbd);
+
     // emit event
     if ( present & KNotifyClient::Sound ) // && QFile(sound).isReadable()


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic