Commit Graph

38 Commits

Author SHA1 Message Date
Marco Martin
b8ebd78cbc remove geometry functions from Applet
size, size hints, transform and zValue
2012-11-09 16:45:03 +01:00
Marco Martin
64fde089f2 correctly build applet and containment 2012-11-08 18:23:28 +01:00
Marco Martin
cc21f6fcfe applet doesn't inherit from QGraphicsWidget 2012-11-08 18:23:00 +01:00
David Faure
9057ce0c70 Fix compilation with the new cmake automoc stuff. 2012-02-08 23:34:07 +01:00
Stephen Kelly
8d37df4b8f Remove moc includes that can be omitted.
Mostly these are "<name>.moc" style includes which are incorrect
compared to qmake and cmake automoc behaviour.
2012-01-31 22:44:36 +01:00
Aaron Seigo
90b02f3973 massive step towards QGraphicsView being separated from libplasma
* remove extenders (never panned out, used by exactly two components that we can find .. anywhere)
* move animations to libplasmagqv
* schedule js anims to be put into the js scriptengine
* move all QGraphicsProxyWidgets, except for IconWidget which is still used by PopupApplet, into libplasmaqgv
* create a subclass-able private class for Applet

TODO: move out icon widget, address FIXMES in graphicswidgetappletprivate.cpp and decide how to register the "right" private class for instantiation in Applet ctors
2011-11-17 14:43:37 +01:00
Aaron Seigo
82eee5c3b7 avoid compiling in debug strings when compiled without debug 2011-07-29 15:46:52 +02:00
Aaron Seigo
94e4f35208 Package replaces PackageStructure+Package 2011-07-15 13:04:16 +02:00
Marco Martin
0abb1cfd6e export drawWallpaper and ContainmentType
export in AppletScript drawWallpaper and ContainmentType:
it's the only way to make them settable by scripted JS/QML containments
2011-02-22 13:22:53 +01:00
Aaron J. Seigo
cb6d3b581a hook up AppletScript to the JS anims
svn path=/trunk/KDE/kdelibs/; revision=1126035
2010-05-13 00:47:24 +00:00
Aaron J. Seigo
ddd21bda39 add the standard config pages in the AppletScript fallback method for showing the configuration
svn path=/trunk/KDE/kdelibs/; revision=1097583
2010-03-01 17:57:37 +00:00
Aaron J. Seigo
f401ea55fc SVN_SILENT: pedanticism
svn path=/trunk/KDE/kdelibs/; revision=1090826
2010-02-16 06:45:56 +00:00
Aaron J. Seigo
22f9eb317b offer access to the plugin information
svn path=/trunk/KDE/kdelibs/; revision=1047326
2009-11-11 00:25:54 +00:00
Petri Damstén
2b4edfd6cd Add missing functions to AppletScript.
Review: http://reviewboard.kde.org/r/2074/

svn path=/trunk/KDE/kdelibs/; revision=1045306
2009-11-05 18:43:39 +00:00
Petri Damstén
042ed56b39 * Add support to load PopupApplet and Containment from path
* AppletScript::addStandardConfigurationPages adds also publish page
* AppletScript::standardConfigurationDialog does not add standard pages (there is addStandardConfigurationPages)

svn path=/trunk/KDE/kdelibs/; revision=1039471
2009-10-23 13:48:29 +00:00
Laurent Montel
c901e78ec9 Make it compile
svn path=/trunk/KDE/kdelibs/; revision=1013800
2009-08-20 19:18:25 +00:00
Richard Dale
eb51ca9165 * Add a Plasma::AppletScript::addStandardConfigurationPages() method that adds
standard pages to a configuration dialog such as the shortcuts one. In 
conjunction with standardConfigurationDialog() this will allow script engines
to use the same dialogs as C++ applets

svn path=/trunk/KDE/kdelibs/; revision=1013765
2009-08-20 18:19:44 +00:00
Aaron J. Seigo
0f8a89e2d4 add access to the extender
svn path=/trunk/KDE/kdelibs/; revision=976407
2009-06-01 15:53:32 +00:00
Aaron J. Seigo
830a1d19dd give access to the standard config dialog to script engines that care to use it
svn path=/trunk/KDE/kdelibs/; revision=930708
2009-02-24 02:32:48 +00:00
Aaron J. Seigo
65268e77d4 by default, applet scripts get the generic config dialog
svn path=/trunk/KDE/kdelibs/; revision=913900
2009-01-20 02:11:01 +00:00
Aaron J. Seigo
a9cc2e29b6 provide access to config needs saving
svn path=/trunk/KDE/kdelibs/; revision=906373
2009-01-06 03:02:22 +00:00
Chani Armitage
c1caaba626 these functions are important, they should be exposed
svn path=/trunk/KDE/kdelibs/; revision=902795
2008-12-29 08:22:28 +00:00
Chani Armitage
bd67989540 use the bool that's passed in :P
svn path=/trunk/KDE/kdelibs/; revision=902764
2008-12-29 04:45:05 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Allen Winter
e2c26f0a90 coding style fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870212
2008-10-12 01:39:10 +00:00
Petri Damstén
11317e0d7e add configChanged to Applet and AppletScript
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860299
2008-09-12 15:21:58 +00:00
Aaron J. Seigo
d14e6c63bb add setHasConfigurationInterface
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858745
2008-09-08 16:20:28 +00:00
Marijn Kruisselbrink
21b148b963 change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Aaron J. Seigo
350bb8c48e AppletScript::shape()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=824153
2008-06-25 00:33:46 +00:00
Richard Dale
61d69ba939 * Oops, the scripting method 'showConfigurationInterface()' was correctly named after all, so
revert the commit to change it

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805532
2008-05-08 17:46:28 +00:00
Richard Dale
580df25f72 * Rename the applet scripting method showConfigurationInterface() as createConfigurationInterface()
to match the name of the equivalent C++ api method

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805387
2008-05-08 12:12:31 +00:00
Davide Bettio
7672b1620c constraintsUpdated() -> constraintsEvent()
Probably it should be protected and we need also updateConstraints() like in applet.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801661
2008-04-27 11:23:09 +00:00
Alexis Ménard
13f4fae5f3 +contentSizeHint -> died
+contextActions -> contextualActions 

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801150
2008-04-25 19:55:24 +00:00
Alexis Ménard
4467261c95 Merge woc branch to trunk, say good bye to old plasma, there is a lot of stuff to port
applets, 
please update to another revision to use the version that works

green flag from aaron


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796368
2008-04-13 13:23:39 +00:00
Sebastian Sauer
ae6880bc15 redirect also the constraintsUpdated(), contextActions() and showConfigurationInterface() methods to the scriptengine.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781447
2008-03-02 21:36:59 +00:00
Aaron J. Seigo
12cea8acf1 add a contentSizeHint so that this can be easily forwarded in those cases where it needs to be something special (mac dashboard widgets being such an example)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779416
2008-02-26 04:08:01 +00:00
Aaron J. Seigo
0e0d1122ca BINARY INCOMPATIBLE CHANGE
* create a subdir for our scripting classes
* break ScriptEngine into two: a base class and AppletScript
* add stub classes for RunnerScript and DataEngineScript
* provide generic loading methods for all three

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765971
2008-01-25 00:04:03 +00:00