kwin/scripts
Vlad Zahorodnii a738ecce85 [scripting] Provide conversion functions for AbstractClient
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
2019-10-25 17:39:45 +03:00
..
desktopchangeosd SVN_SILENT made messages (.desktop file) - always resolve ours 2019-10-23 09:01:14 +02:00
minimizeall SVN_SILENT made messages (.desktop file) - always resolve ours 2019-10-23 09:01:14 +02:00
synchronizeskipswitcher SVN_SILENT made messages (.desktop file) - always resolve ours 2019-10-23 09:01:14 +02:00
videowall SVN_SILENT made messages (.desktop file) - always resolve ours 2019-10-23 09:01:14 +02:00
CMakeLists.txt [scripting] Provide conversion functions for AbstractClient 2019-10-25 17:39:45 +03:00
Messages.sh Extract messages from scripts and scripting module 2013-03-04 10:29:25 +01:00