Commit Graph

29 Commits

Author SHA1 Message Date
Marco Martin
f6f9c26fdd support popup with timeout 2011-11-01 21:30:45 +01:00
Aaron Seigo
8d108352d2 correct the boolean test 2011-10-28 11:43:33 +02:00
Aaron Seigo
1e2e094fdd allow adding separators to the context menu 2011-10-27 16:44:55 +02:00
Marco Martin
84de302083 fix containment margins
signal availableScreenRegionChanged() too
2011-10-01 15:14:43 +02:00
Aaron Seigo
136ea88ec4 preserve order of actions 2011-09-28 08:50:43 +02:00
Aaron Seigo
7497948a2b if the applet has failed, then don't return actions for it 2011-09-22 22:44:17 +02:00
Marco Martin
388d61203f compatible signature in connect 2011-04-14 22:49:13 +02:00
Marco Martin
06f753173a n Applet the signal is newStatus 2011-04-14 17:08:11 +02:00
Marco Martin
2fc39865e3 forward the statusChanged() signal 2011-04-14 16:46:13 +02:00
Marco Martin
ef1ff5403e FEATURE:bind Applet::status() 2011-04-14 16:38:15 +02:00
Marco Martin
2754c01add FEATURE: expose the activity name and id
expose activity name and activityid in the containment wrapper interface
2011-04-04 16:15:48 +02:00
Marco Martin
264aa5e8fb bind setAssociatedApplication 2011-03-27 16:59:08 +02:00
Marco Martin
fcd51b4c67 support availableScreenregion()
FEATURE: bridge to Corona::availableScreenRegion(), as an array of rects
2011-03-13 17:26:59 +01:00
Marco Martin
f07062fae5 movableApplets property of Containment
just for scripted contaiments, C++ ones can easily implement it themselves
2011-03-07 20:17:52 +01:00
Marco Martin
33fe3f4874 export the QRectF as an objecy QtScript understand 2011-03-02 15:41:57 +01:00
Marco Martin
0dda9c72ee bind screen() and Corona::screenGeometry() 2011-03-02 15:41:57 +01:00
Marco Martin
15122a4d6e export action() 2011-02-28 20:42:24 +01:00
Marco Martin
b6f2751ba2 possible to set drawWallpaper and containmentType 2011-02-22 13:25:03 +01:00
Marco Martin
ea0b394a55 a simple binding for scripted containments 2011-02-20 19:45:40 +01:00
Aaron J. Seigo
906b55c050 unbreak update() method
svn path=/trunk/KDE/kdebase/runtime/; revision=1217812
2011-01-28 19:44:35 +00:00
Kevin Ottens
523d2e6128 Add missing debug includes.
svn path=/trunk/KDE/kdebase/runtime/; revision=1195229
2010-11-10 16:03:55 +00:00
Marco Martin
ac8de83bbd first important part for the ml bindings merge:
make appletInterface more generic it could work with QML too
simplejavascriptapplet inherits from an abstract ckass that provides just the virtuals of functions needed by appletinterface so a different scriptengine implementation can be used as well.

The behaviour of the current js bindings should be completely unchanged.

svn path=/trunk/KDE/kdebase/runtime/; revision=1185532
2010-10-13 16:12:43 +00:00
Aaron J. Seigo
33c240ffa4 use filePathFromScriptContext
svn path=/trunk/KDE/kdebase/runtime/; revision=1171720
2010-09-04 22:51:13 +00:00
Laurent Montel
7a4560a677 Need to declare it (make it compile)
svn path=/trunk/KDE/kdebase/runtime/; revision=1171528
2010-09-04 08:12:04 +00:00
Aaron J. Seigo
603096a318 make addon packages work with Svg objects as well (and just about everything else that we might need in future); need to replicate this for DataEngine and Runner now.
svn path=/trunk/KDE/kdebase/runtime/; revision=1171497
2010-09-04 00:27:45 +00:00
Aaron J. Seigo
de6c425f17 package is no longer needed, use the local package if there is one, falling back to the main one when it isn't. overhead is negligable (measured it)
svn path=/trunk/KDE/kdebase/runtime/; revision=1171490
2010-09-04 00:06:18 +00:00
Aaron J. Seigo
bf35cc9176 use the centralized global object methods from ScriptEnv in SimpleJavaScriptApplet; gets rid of a handful of code and makes it more consistent
svn path=/trunk/KDE/kdebase/runtime/; revision=1171438
2010-09-03 21:31:37 +00:00
Aaron J. Seigo
871d541d9f avoid infinite loop when connecting to a dataengine, but not reimplementing dataUpdated in the js
svn path=/trunk/KDE/kdebase/runtime/; revision=1171421
2010-09-03 20:42:52 +00:00
Aaron J. Seigo
b5669412c5 reorg the sources; was growing increasingly messy and was only going to get "worse" as DataEngine grows
svn path=/trunk/KDE/kdebase/runtime/; revision=1159715
2010-08-06 02:01:40 +00:00