a738ecce85
Summary: If no conversion functions are provided for a QObject-subclass, then QScriptEngine will use QScriptEngine::newQObject() method without any special options to convert an instance of that QObject-subclass to a QScriptValue. However, it's very important that every client object is wrapped with PreferExistingWrapperObject option. We need that option because a script may set a property on a client object and that property must remain until it's deleted by the script. BUG: 413044 FIXED-IN: 5.17.2 Test Plan: New test. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: davidedmundson, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D24944 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
dbuscall.cpp | ||
dbuscall.h | ||
documentation-effect-global.xml | ||
documentation-global.xml | ||
genericscriptedconfig.cpp | ||
genericscriptedconfig.h | ||
genericscriptedconfig.json | ||
kwinscript.desktop | ||
Messages.sh | ||
meta.cpp | ||
meta.h | ||
screenedgeitem.cpp | ||
screenedgeitem.h | ||
scriptedeffect.cpp | ||
scriptedeffect.h | ||
scripting.cpp | ||
scripting.h | ||
scripting_logging.cpp | ||
scripting_logging.h | ||
scripting_model.cpp | ||
scripting_model.h | ||
scriptingutils.cpp | ||
scriptingutils.h | ||
timer.cpp | ||
workspace_wrapper.cpp | ||
workspace_wrapper.h |