Revision 63734bd...

Go back to digest for 2nd September 2012

Features in KDE Base

Martin Gräßlin committed changes in [kde-workspace] /:

Splitting up of KWin's global D-Bus interface

Two new interfaces are introduced:
* org.kde.kwin.Compositing
* org.kde.kwin.Effects

The Compositing interface is generated from scriptable elements on the
KWin::Compositor class and the Compositor is exported as /Compositor.
It provides the general Compositing related D-Bus methods like whether
the compositor is active and toggling and so on.

The Effects interface is generated from scriptable elements on the
KWin::EffectsHandlerImpl class and the instance is exported as /Effects.
It provides all the effects related D-Bus methods like loading an effect
or the list of all effects.

This removes the need to have all these methods provided on the global
org.kde.KWin interface. For backwards compatibility they are kept, but
no longer provided by the Workspace class. Instead a new DBusInterface
is generated which wrapps the calls and delegates it to one of our three
related Singleton objects:
* Workspace
* Compositor
* EffectsHandlerImpl

File Changes

Added 4 files
  •   kwin/dbusinterface.cpp
  •   kwin/dbusinterface.h
  •   kwin/org.kde.kwin.Compositing.xml
  •   kwin/org.kde.kwin.Effects.xml
Modified 8 files
  •   kwin/CMakeLists.txt
  •   kwin/composite.cpp
  •   kwin/composite.h
  •   kwin/effects.cpp
  •   kwin/effects.h
  •   kwin/useractions.cpp
  •   kwin/workspace.cpp
  •   kwin/workspace.h
12 files changed in total