D10490: Add a method to dbus interface to query information about a window

Kai Uwe Broulik noreply at phabricator.kde.org
Tue Feb 13 19:58:15 UTC 2018


broulik added inline comments.
Restricted Application edited projects, added KWin; removed Plasma.

INLINE COMMENTS

> dbusinterface.cpp:199
> +                const QVariantMap ret{
> +                    {QStringLiteral("resourceClass"), c->resourceClass()},
> +                    {QStringLiteral("resourceName"), c->resourceName()},

Can you use introspection to fill this `QVariantMap` rather than manually doing this?

REPOSITORY
  R108 KWin

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

To: graesslin, #kwin, #plasma
Cc: broulik, plasma-devel, kwin, iodelay, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180213/d4c22e3a/attachment.html>


More information about the Plasma-devel mailing list