Commit Graph

30 Commits

Author SHA1 Message Date
Marco Martin
f28d7c7220 move Applet::backgroundHints in the scriptEngine
the background hints are UI specific, therefore they go just in the script engine
2013-02-12 12:51:37 +01:00
Marco Martin
cb43bb392c remove Applet::hasAuthorization()
authorization will have to be done at QML level to have any hope to work
2013-02-12 12:18:42 +01:00
Marco Martin
b9036999f2 get rid of Applet::shouldConserveResources() 2013-02-12 11:51:05 +01:00
Marco Martin
70abf37a52 Applet::pluginName() -> Applet::pluginInfo()
Applet doesn't need to wrap every single methos of KPluginInfo, it can just make copies of its KPluginInfo accessible to everybody
2013-02-12 11:46:26 +01:00
Marco Martin
39151c048f Applet::name() -> Applet::title()
since the applet user visible name/title can be set by the user, is not to be confused with the metadata coming from KPluginInfo
2013-02-12 11:30:25 +01:00
Marco Martin
bd9e863c6d remove Applet:dataEngine 2013-02-12 11:14:14 +01:00
Marco Martin
798be9a407 remove the aspectRatioMode property 2013-02-11 19:32:41 +01:00
Marco Martin
9ee93a0661 make AppletInterface the root graphic object
AppletInterface is a QQuickItem ans
containments will receive pointers to AppletInterface as applets,
so will be able to have a limited access to it.
as an example of it working the button in the example applet enables/disables background hints

I'm still not 100% happy about it, we should see exactly what it happens when the containment deletes the graphic object.
2013-02-08 16:08:06 +01:00
Marco Martin
dda900cbad signal for backgroundhints
add a button to turn on/off background, will be needed to test containments features
2013-02-07 13:04:52 +01:00
Marco Martin
4a882503a5 get rid of jsappletinterface 2013-02-06 18:08:25 +01:00
Marco Martin
5e54b67156 remove references to qscriptengine
except inScriptEnv, but probably the whole class will be removed
2013-02-06 18:01:33 +01:00
Marco Martin
e28af01215 get rid of unused methods 2013-02-06 17:59:41 +01:00
Marco Martin
fa8ab8574f get rid of APPLETSUPERCLASS 2013-02-06 17:31:36 +01:00
Marco Martin
df6d918dec get rid of abstractjsappletscript.h 2013-02-06 17:31:36 +01:00
Aaron Seigo
648fb8cf41 remove activityName
mapping activity IDs to other information (such as the user visible name)
should be done via other mechanisms (e.g. DataEngine or model via import)
2013-02-06 15:29:19 +01:00
Aaron Seigo
e216e08a96 stub in where wallpaper loading will happen 2013-02-06 15:27:59 +01:00
Marco Martin
c18eb599fe visualize the toolbox 2013-02-06 14:20:24 +01:00
Marco Martin
d2bc77be27 toolBoxWidget -> toolBoxObject 2013-02-06 14:06:24 +01:00
Marco Martin
8516ec516f don't access toolbox main object if isn't valid 2013-02-06 12:44:11 +01:00
Aaron Seigo
d6f0502960 package by reference nowadays 2013-02-05 16:34:43 +01:00
Aaron Seigo
b0d252f803 unused variable 2013-02-05 16:34:43 +01:00
Marco Martin
584ccf15f4 don't delay applet init
perfectly fixes layout restore.
all the applet delayed init mechanism will be removed
2013-02-05 15:53:53 +01:00
Marco Martin
48561504c8 remove delayedContainmentInit 2013-02-05 14:55:40 +01:00
Marco Martin
7f654acfd2 replace graphicObject with a dynamic property 2013-02-05 13:15:32 +01:00
Marco Martin
2734ceaebb reparent applet graphicobject to containment graphicobject 2013-02-05 11:59:14 +01:00
Marco Martin
b5a65921d0 get rid of the ugly async syncgraphicObject() 2013-02-05 11:03:40 +01:00
Marco Martin
b4669ab783 make the plasmoid object accessible 2013-02-04 20:28:41 +01:00
Marco Martin
7912da6072 actually show the containment's qml 2013-02-04 19:47:35 +01:00
Marco Martin
624817e9f3 make the scriptengine successfully load 2013-02-04 18:02:03 +01:00
Marco Martin
60b37cff34 reenable build of declarative scriptengine
just builds, is still pretty broken
2013-02-04 16:10:53 +01:00