Diffusion KWin be9ee989b19e

[scripting] Fix export of WorkspaceWrapper in QtScript

Authored by graesslin on Nov 3 2016, 7:13 AM.

Description

[scripting] Fix export of WorkspaceWrapper in QtScript

The export of the WorkspaceWrapper was changed to be a subclass with all
the elements still being in the parent class. But the "workspace" was
exported with QScriptEngine::ExcludeSuperClassContents. Thus all usages
of workspace were broken and our tests started to fail on build.kde.org.

This change removes the ExcludeSuperClassContents which means that also
the QObject properties and slots are now exposed which was previously
not the case.

CCMAIL: github@chilon.net

Details

Committed
graesslinNov 3 2016, 7:13 AM
Parents
R108:4730be084c1b: Support for workspace.clientList() in declarative script
Branches
Unknown
Tags
Unknown