--1a9c713d7d5c434cbad3f48a02ffc62f Content-Type: text/plain; charset="ascii" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit luebking added inline comments. INLINE COMMENTS > effects.cpp:1560 > + const auto typeId = qMetaTypeId>(); > + 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 --1a9c713d7d5c434cbad3f48a02ffc62f Content-Type: text/html; charset="ascii" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable luebking=20added=20inline=20comments.View=20Revision
INLINE=20COMMENTS
View=20Inlineeffects.cpp:1560
=20=20=20=20const=20auto=20typeId=20=3D=20qMetaTypeId<QVector<KWin::EffectWindow*>>(); =20=20=20=20for=20<= span=20class=3D"p">(int=20= i=20=3D=200;= =20i=20<=20e->= ;metaObject()<= span=20style=3D"color:=20#aa2211">->methodCou= nt();=20++i)=20{ =20=20=20=20=20=20=20=20au= to=20method=20=3D=20e->metaObject()->method(i); Errr...=20wut? Any=20reason=20to=20not=20*demand*=20some=20sort=20of=20soft=20API=20(slot= =20signature)=20instead=20of=20digging=20for=20the=20next=20best=20thing=20= that=20remotely=20looks=20like=20the=20right=20thing?

Maybe=20provide=20hard=20API= =20like=20"Effect::performFeature(Feature=20f,=20QVariant=20v)"?<= /p>
REPOSITORY
rKWIN=20KWin
REVISION=20DETAI= L
https://phabricator.kde.org/D2630
EMAIL=20PREFERENCES
https://phabricat= or.kde.org/settings/panel/emailpreferences/
To:=20graesslin,=20KWin,=20Plasma=20on=20WaylandCc:=20luebking,=20plasma-devel,=20kwin,=20lesliezhai,=20ali-moh= amed,=20hardening,=20jensreuterberg,=20abetts,=20sebas
--1a9c713d7d5c434cbad3f48a02ffc62f--