graesslin added inline comments.

INLINE COMMENTS

> broulik wrote in xrender.json:7
> Can we instead query `QMetaEnum` and store the enum's key name as a string?

That one was new to me. I had a look today and tried to change it, but face 
several problems:

- The enum is declared in a namespace
- Q_NAMESPACE and Q_ENUM_NS are only available in 5.8
- Ignoring that and just adding them results in linker error as the header 
where it's defined is header only

So overall I think the answer is: no we cannot.

REPOSITORY
  R108 KWin

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

To: graesslin, #kwin, #plasma
Cc: broulik, plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, 
hardening, jensreuterberg, abetts, sebas, apol, mart, lukas

Reply via email to