kwin/scripting
Martin Gräßlin af83401b83 Use KWin's KSharedConfigPtr in ScriptedEffect
Summary:
So far ScriptedEffect used EffectsHandler::effectConfig to get the
KConfigGroup for the ScriptedEffect. This has the disadvantage that the
config file name is hardcoded to kwinrc in EffectsHandler::effectConfig.

Inside KWin a KSharedConfigPtr is used which can point to somwhere else
than kwinrc. If that was the case the ScriptedEffects were not able to
pick up this customized config and instead continued to read values from
kwinrc.

With this change the ScriptedEffects use the KSharedConfigPtr provided
by KWin. Thus in e.g. autotests we can use the general way to configure
the effects and don't need to write to the config.

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D3383
2016-11-16 15:31:14 +01:00
..
CMakeLists.txt
dbuscall.cpp
dbuscall.h
documentation-effect-global.xml
documentation-global.xml Allow configuring script's screen edges from the KCM 2016-10-07 15:20:14 +01:00
genericscriptedconfig.cpp optimize string operations 2015-11-05 14:14:06 +00:00
genericscriptedconfig.h
genericscriptedconfig.json
kwinscript.desktop Allow configuring script's screen edges from the KCM 2016-10-07 15:20:14 +01:00
Messages.sh
meta.cpp
meta.h
screenedgeitem.cpp
screenedgeitem.h
scriptedeffect.cpp Use KWin's KSharedConfigPtr in ScriptedEffect 2016-11-16 15:31:14 +01:00
scriptedeffect.h Introduce an EffectsHandler::animationsSupported -> bool 2016-08-15 17:38:33 +02:00
scripting.cpp Merge branch 'Plasma/5.8' 2016-11-03 08:51:49 +01:00
scripting.h Support for workspace.clientList() in declarative script 2016-11-02 23:31:06 +00:00
scripting_logging.cpp pedantic fixes 2016-07-16 13:14:44 -04:00
scripting_logging.h [scripting] Add dedicated logging category 2015-07-31 13:25:51 +02:00
scripting_model.cpp Drop cmakedefine HAVE_WAYLAND 2015-08-12 11:39:20 +02:00
scripting_model.h [scripting] ScriptingClientModel operates on AbstractClient 2015-06-06 18:53:55 +02:00
scriptingutils.cpp
scriptingutils.h Fix typo in method name 2016-10-07 13:30:32 +01:00
timer.cpp
workspace_wrapper.cpp [scripting] Silence unused variable warnings 2016-11-03 08:17:11 +01:00
workspace_wrapper.h Support for workspace.clientList() in declarative script 2016-11-02 23:31:06 +00:00