https://bugs.kde.org/show_bug.cgi?id=394699
Kai Uwe Broulik <k...@privat.broulik.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |k...@privat.broulik.de --- Comment #5 from Kai Uwe Broulik <k...@privat.broulik.de> --- The problem is that KWin sets JSEngineGlobalMethodsWrapper as context property but in QML enums are bound to a type and not a specific instance. So KWin would need to qmlRegisterType under an import to make this work. Not sure that import can be under the same name as the context property, so a simple "KWin.PlacementArea" like is done in JS is probably not possible. Another approach would be to add a bunch of CONSTANT int Q_PROPERTYs on the object to make it behave exactly like the JS one. (Also I noticed the class is missing the electric border enum that JS has) -- You are receiving this mail because: You are watching all bug changes.