playground/base/plasma

Kevin Ottens ervin at kde.org
Wed Feb 11 17:45:59 CET 2009


On Wednesday 11 February 2009 17:24:02 Aaron J. Seigo wrote:
> or clients could listen for a dbus signal and re-register whenever it is
> emitted? so when the kded plugin first loads it could emit that signal?

D-Bus already provide this kind of service, it's exposed through 
QDBusConnectionInterface in Qt:
http://doc.trolltech.com/4.4/qdbusconnectioninterface.html

Relevant signals are probably: serviceRegistered() and serviceUnregistered().

You just have to make sure your service register with a fixed name and you'll 
get that for free, no need to craft our own signal.

Hope that helps.

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090211/9c16fd08/attachment.sig 


More information about the Plasma-devel mailing list