Revision 4919bdb...

Go back to digest for 5th August 2012

Features in KDE Base

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

Support for config values in QML decorations

When the decoration is reset a signal is emitted that the config
might have changed which the decoration can connect to for
reloading its configuration. For this an invokable method is
added to Aurorae allowing to read a config value which just
returns the QVariant.

Proper support for border sizes are added by providing the enum
in DecorationOptions, so that QML themes can use the enum values
to decide which border size to use.

The kcm is adjusted to also support these config mechanisms and
to properly load and save the border sizes for QML based themes.

File Changes

Modified 7 files
  •   kwin/kcmkwin/kwindecoration/decorationmodel.cpp
  •   kwin/kcmkwin/kwindecoration/decorationmodel.h
  •   kwin/kcmkwin/kwindecoration/kwindecoration.cpp
  •   kwin/clients/aurorae/src/aurorae.cpp
  •   kwin/clients/aurorae/src/aurorae.h
  •   kwin/clients/aurorae/src/decorationoptions.h
  •   kwin/kcmkwin/kwindecoration/qml/AuroraeDecoration.qml
7 files changed in total