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."

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to