Kded and DBus

Weng Xuetian wengxt at gmail.com
Fri Jan 4 04:30:28 GMT 2013


On Thursday 03 January 2013 19:32:27,Cédric Bellegarde :
> Le jeudi 3 janvier 2013 18:09:25 David Edmundson a écrit :
> > Always use async calls for everything
> 
> On kded-appmenu part, the blocking code isn't in kded-module but in
> appmenu-qt plugin used to export the menu over dbus:
> 
> http://bazaar.launchpad.net/~indicator-applet-developers/appmenu-
> qt/trunk/view/head:/src/appmenuplatformmenubar.cpp#L406
> 
> QDBusInterface host(REGISTRAR_SERVICE, REGISTRAR_PATH, REGISTRAR_IFACE) call
> dbus_connection_send_with_reply_and_block () to do the dbus introspection.
> 
> If someone know how to bypass this issue...
> 
> regards,

Why appmenu-qt doesn't use static dbus interface (generate from XML)? From Qt 
code that can avoid synchronous introspection.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130103/ad51362a/attachment.sig>


More information about the kde-core-devel mailing list