Revision 489c89a...

Go back to digest for 25th December 2011

Features in KDE Base

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

KWin scripting goes properties

Dropping the wrapper around Client and just exporting the Client's
properties. This breaks all existing scripts as it's now e.g.:
instead of

But the first one is the more natural one for JavaScript and also
for everyone writing QML as well.

Setters and signals are mostly still missing in client. Other parts
like ClientGroup must be converted to properties, too.

File Changes

Deleted 4 files
  • /scripting
  •   kwin/client.cpp
  •   kwin/client.h
  •   kwin/toplevel.cpp
  •   kwin/toplevel.h
Modified 9 files
  •   kwin/activation.cpp
  •   kwin/client.cpp
  •   kwin/client.h
  •   kwin/CMakeLists.txt
  •   kwin/scripting/meta.cpp
  •   kwin/scripting/meta.h
  •   kwin/scripting/s_clientgroup.cpp
  •   kwin/scripting/workspace.cpp
  •   kwin/scripting/workspace.h
13 files changed in total