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