plasma-framework/scriptengines/javascript/plasmoid
Sebastian Kügler d9612651cb ToolBox bindings for declarative containments
This adds the necessary bits, actions handling, showing / hiding of
toolbox and a hooks for config interface and add widgets.

The interesting bits:

Toolbox separate on the scene

For declarative containments, we add a declarativewidget on top of the
view which loads the "org.kde.toolbox" package. The toolbox can differ
per platform, layout of toolbox and containment can not "leak" into each
other.

ToolBox import

The most important and interesting bit is the list of actions the
ToolBox exposes, it's collected from corona, containment. The latter is
actually problematic, since we don't get access to the actions
internally provided by Containment
(ContainmentPrivate::addDefaultActions).
Containment::setToolBox(AbstractToolBox) being protected, we cannot
register our declarative ToolBoxProxy implementation to the containment,
so we have to wire up settings and addwidgets separately. Sorting of the
actions is "random", and expected to be done by the QML toolbox
implementation, based on objectName strings.

REVIEW:107232
2012-11-07 17:21:26 +01:00
..
abstractjsappletscript.cpp first important part for the ml bindings merge: 2010-10-13 16:12:43 +00:00
abstractjsappletscript.h a simple binding for scripted containments 2011-02-20 19:45:40 +01:00
appletauthorization.cpp first important part for the ml bindings merge: 2010-10-13 16:12:43 +00:00
appletauthorization.h first important part for the ml bindings merge: 2010-10-13 16:12:43 +00:00
appletinterface.cpp ToolBox bindings for declarative containments 2012-11-07 17:21:26 +01:00
appletinterface.h ToolBox bindings for declarative containments 2012-11-07 17:21:26 +01:00
declarativeappletscript.cpp ToolBox bindings for declarative containments 2012-11-07 17:21:26 +01:00
declarativeappletscript.h ToolBox bindings for declarative containments 2012-11-07 17:21:26 +01:00
jsappletinterface.cpp first important part for the ml bindings merge: 2010-10-13 16:12:43 +00:00
simplejavascriptapplet.cpp Register non-gui types properly for declarative applets 2012-04-27 19:13:54 +01:00
simplejavascriptapplet.h a simple binding for scripted containments 2011-02-20 19:45:40 +01:00
themedsvg.cpp fix a small hole whereby a JS applet could load any SVG from disk (or any file, for that matter, though not gain any access to the data therein) instead of being confined just to its package(s) and the Plasma::Theme 2010-09-24 22:51:16 +00:00
themedsvg.h fix a small hole whereby a JS applet could load any SVG from disk (or any file, for that matter, though not gain any access to the data therein) instead of being confined just to its package(s) and the Plasma::Theme 2010-09-24 22:51:16 +00:00