On Tuesday 04 October 2011 18:29:33 Ivan Cukic wrote:
> Do we even need KDBusService? Just a check of
> QDBusConnectionInterface::isServiceRegistered can be used for this.

Well, you need to add the fact that you also have to verify the connection to
the bus to trigger it if necessary, register the proper service name, and also
make the various cases of error handling... then the resulting code will be
pretty much what a one liner like "KDBusService
service(KDBusService::Unique);" does.

Regards.
--
Kévin Ottens, http://ervin.ipsquad.net

KDAB - proud patron of KDE, http://www.kdab.com

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