[Differential] [Changed Subscribers] D2630: Support highlighting windows through EffectsHandlerImpl

luebking (Thomas Lübking) noreply at phabricator.kde.org
Tue Aug 30 14:50:34 UTC 2016


luebking added inline comments.

INLINE COMMENTS

> effects.cpp:1560
> +    const auto typeId = qMetaTypeId<QVector<KWin::EffectWindow*>>();
> +    for (int i = 0; i < e->metaObject()->methodCount(); ++i) {
> +        auto method = e->metaObject()->method(i);

Errr... wut?
Any reason to not *demand* some sort of soft API (slot signature) instead of digging for the next best thing that remotely looks like the right thing?

Maybe provide hard API like "Effect::performFeature(Feature f, QVariant v)"?

REPOSITORY
  rKWIN KWin

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

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, #kwin, #plasma_on_wayland
Cc: luebking, plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160830/fc48c67f/attachment-0001.html>


More information about the Plasma-devel mailing list