D26777: [App Style KCM] Port away from QDBusInterface

Mikhail Zolotukhin noreply at phabricator.kde.org
Mon Jan 20 10:18:00 GMT 2020


gikari added a comment.


  In D26777#597167 <https://phabricator.kde.org/D26777#597167>, @apol wrote:
  
  > Why don't you just export the interface you are using through qdbusxml2cpp and viceversa? This way you don't need to have the glue code.
  
  
  
  
  1. This introduces build-time dependency on kde-gtk-config, which should be avoided (because it is also a dependency on GTK).
  2. The `*Interface` classes here are very similar to what qdbusxml2cpp generates, except that here they are extracting the value of reply (`reply.value()`), hiding the QDBus implementation details, and that they make synchronous calls where it is needed.

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D26777

To: gikari
Cc: apol, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200120/ea4eb0af/attachment.html>


More information about the Plasma-devel mailing list