[kwin/effects] Use generated dbus interface to reconfigure effects

Desktop / KDE / KDE Workspace - Martin Gräßlin [kde.org] - 25 March 2014 09:49 UTC

Instead of using EffectsHandler::sendReloadMessage we generate the dbus interface in each plugin and call the reconfigure slot directly. That way it's more type safe and we don't need to link kwineffects from the configs.

REVIEW: 116875

fccd36a [kwin/effects] Use generated dbus interface to reconfigure effects
kwin/CMakeLists.txt | 2 +-
kwin/effects/blur/CMakeLists.txt | 3 ++-
kwin/effects/blur/blur_config.cpp | 8 ++++++--
kwin/effects/coverswitch/CMakeLists.txt | 3 ++-
kwin/effects/coverswitch/coverswitch_config.cpp | 8 ++++++--
kwin/effects/cube/CMakeLists.txt | 3 ++-
kwin/effects/cube/cube_config.cpp | 8 ++++++--
kwin/effects/cube/cubeslide_config.cpp | 9 ++++++---
kwin/effects/dashboard/CMakeLists.txt | 3 ++-
kwin/effects/dashboard/dashboard_config.cpp | 8 ++++++--
kwin/effects/desktopgrid/CMakeLists.txt | 1 +
kwin/effects/desktopgrid/desktopgrid_config.cpp | 8 ++++++--
kwin/effects/diminactive/CMakeLists.txt | 3 ++-
kwin/effects/diminactive/diminactive_config.cpp | 8 ++++++--
kwin/effects/flipswitch/CMakeLists.txt | 2 +-
kwin/effects/flipswitch/flipswitch_config.cpp | 8 ++++++--
kwin/effects/glide/CMakeLists.txt | 3 ++-
kwin/effects/glide/glide_config.cpp | 8 ++++++--
kwin/effects/invert/CMakeLists.txt | 2 +-
kwin/effects/invert/invert_config.cpp | 8 ++++++--
kwin/effects/lookingglass/CMakeLists.txt | 2 +-
kwin/effects/lookingglass/lookingglass_config.cpp | 8 ++++++--
kwin/effects/magiclamp/CMakeLists.txt | 3 ++-
kwin/effects/magiclamp/magiclamp_config.cpp | 8 ++++++--
kwin/effects/magnifier/CMakeLists.txt | 2 +-
kwin/effects/magnifier/magnifier_config.cpp | 8 ++++++--
kwin/effects/mouseclick/CMakeLists.txt | 2 +-
kwin/effects/mouseclick/mouseclick_config.cpp | 8 ++++++--
kwin/effects/mousemark/CMakeLists.txt | 2 +-
kwin/effects/mousemark/mousemark_config.cpp | 8 ++++++--
kwin/effects/presentwindows/CMakeLists.txt | 2 +-
.../presentwindows/presentwindows_config.cpp | 8 ++++++--
.../effects/presentwindows/presentwindows_config.h | 1 -
kwin/effects/resize/CMakeLists.txt | 3 ++-
kwin/effects/resize/resize_config.cpp | 9 ++++++---
kwin/effects/showfps/CMakeLists.txt | 3 ++-
kwin/effects/showfps/showfps_config.cpp | 11 ++++++-----
kwin/effects/thumbnailaside/CMakeLists.txt | 2 +-
.../thumbnailaside/thumbnailaside_config.cpp | 8 ++++++--
kwin/effects/trackmouse/CMakeLists.txt | 2 +-
kwin/effects/trackmouse/trackmouse_config.cpp | 8 ++++++--
kwin/effects/windowgeometry/CMakeLists.txt | 2 +-
.../windowgeometry/windowgeometry_config.cpp | 8 ++++++--
kwin/effects/wobblywindows/CMakeLists.txt | 3 ++-
.../effects/wobblywindows/wobblywindows_config.cpp | 9 ++++++---
kwin/effects/wobblywindows/wobblywindows_config.h | 1 -
kwin/effects/zoom/CMakeLists.txt | 2 +-
kwin/effects/zoom/zoom_config.cpp | 8 ++++++--
kwin/libkwineffects/kwineffects.cpp | 12 +-----------
kwin/libkwineffects/kwineffects.h | 6 ------
50 files changed, 172 insertions(+), 93 deletions(-)

Upstream: quickgit.kde.org


  • Share