Commit Graph

111 Commits

Author SHA1 Message Date
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
b31a05c41e get rid of the source limiting; wasn't used, only overhead 2011-11-30 12:58:20 +01:00
Aaron Seigo
4814dbf4db make these methods public for scripting purposes 2011-11-17 14:50: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
Marco Martin
33e9192346 Merge branch 'libplasma2' into frameworks
Conflicts:
	plasma/CMakeLists.txt
	plasma/popupapplet.cpp
2011-08-12 11:45:49 +02:00
Kevin Kofler
3435f9f1e6 Add an API (currently private) for installing missing Plasma engines.
Use it when a requested data or script engine is not found.

REVIEW: 102175
2011-08-03 10:21:39 +02: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
587a3075b3 use plsmoidpackage for generic packages too 2011-07-14 17:19:40 +02:00
Aaron Seigo
05834d8144 Merge remote-tracking branch 'origin/master' into libplasma2
Conflicts:
	plasma/CMakeLists.txt
	plasma/abstractrunner.h
	plasma/animator.h
	plasma/glapplet.h
	plasma/package.h
	plasma/packagemetadata.h
	plasma/packagestructure.h
	plasma/tooltipcontent.cpp
	plasma/tooltipcontent.h
	plasma/wallpaper.h
2011-07-11 21:56:41 +02:00
Frederik Schwarzer
5c0d0e8e8e Replace doxygen tag @arg by @param.
The @param doxygen tag is formatted way nicer and should be used
throughout our apidox.

REVIEW: 101596
2011-06-13 14:47:29 +02:00
Aaron Seigo
563a95bf04 deprecate method is gone 2011-05-26 23:06:36 +02:00
Aaron Seigo
62429fbeb9 shhh 2011-05-26 18:44:00 +02:00
Aaron Seigo
3e236c281a remove the dropUrls approach 2011-05-18 15:08:07 +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
71f6f1dd18 addWallpaper -> setWallpaper, since the latter is what will be kept in the public api in libplasma2
svn path=/trunk/KDE/kdelibs/; revision=1217116
2011-01-25 20:51:16 +00:00
Aaron J. Seigo
c3c211f374 addurl into the scripting
svn path=/trunk/KDE/kdelibs/; revision=1217115
2011-01-25 20:41:50 +00:00
David Faure
f16b51270f revert the #include changes in public plasma headers, they break SC.
Instead, install kgenericfactory.h and friends again in all cases, but they only do #includes in "no deprecated" mode

svn path=/trunk/KDE/kdelibs/; revision=1195340
2010-11-10 21:38:04 +00:00
Kevin Ottens
ee5df8d9e4 More kgenericfactory.h cleanups.
svn path=/trunk/KDE/kdelibs/; revision=1195206
2010-11-10 15:25:56 +00:00
Aaron J. Seigo
b219dd6b99 prevent infinite recursion
svn path=/trunk/KDE/kdelibs/; revision=1159733
2010-08-06 03:42:46 +00:00
Aaron J. Seigo
35e376b0b8 give datanegines their own package description; gets rid of various bits of cruft inherited unduly from PlasmoidPackage as well as adds a services/ dir for .operation files.
svn path=/trunk/KDE/kdelibs/; revision=1159709
2010-08-06 01:28:09 +00:00
Aaron J. Seigo
ae4caf4a5a missing method
svn path=/trunk/KDE/kdelibs/; revision=1128639
2010-05-19 20:04:21 +00: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
b640c67b67 pass on popupEvent signals to the scriptengine
svn path=/trunk/KDE/kdelibs/; revision=1097159
2010-02-28 15:10:30 +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
e8a80f6487 expose dataEngine() to scripts
svn path=/trunk/KDE/kdelibs/; revision=1051213
2009-11-19 00:19:30 +00:00
Petri Damstén
c80e22969c Implement missing actionsForMatch.
Review: http://reviewboard.kde.org/r/2180/

svn path=/trunk/KDE/kdelibs/; revision=1049917
2009-11-16 07:24:39 +00:00
Petri Damstén
486fa5527d Calling DataEngine::serviceForSource in DataEngineScript::serviceForSource causes infinite loop
svn path=/trunk/KDE/kdelibs/; revision=1047902
2009-11-12 10:15:59 +00:00
Petri Damstén
5b2b221562 * Add translation support for runner and dataengine packages
* Use pladmoid package for runners too.

svn path=/trunk/KDE/kdelibs/; revision=1047782
2009-11-12 06:38:16 +00:00
Petri Damstén
c1ee933143 Add description() also to WallpaperScript.
svn path=/trunk/KDE/kdelibs/; revision=1047385
2009-11-11 08:02:57 +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
0244d72222 Add missing functions to RunnerScript.
Review: http://reviewboard.kde.org/r/2054/

svn path=/trunk/KDE/kdelibs/; revision=1045443
2009-11-06 06:33:24 +00:00
Petri Damstén
14f02402f1 Add missing functions to DataEngineScript.
Review: http://reviewboard.kde.org/r/2073/

svn path=/trunk/KDE/kdelibs/; revision=1045307
2009-11-05 18:44:42 +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
289b9ac1eb Add WallpaperScript.
Review: http://reviewboard.kde.org/r/1984/

svn path=/trunk/KDE/kdelibs/; revision=1042086
2009-10-29 05:54:11 +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
Aaron J. Seigo
b32e268e15 meh; can't move these files into a subdir as-is; need to think of a more clever strategy
svn path=/trunk/KDE/kdelibs/; revision=1019657
2009-09-04 08:58:34 +00:00
Aaron J. Seigo
b711b96ee0 runner infra into a subdir
svn path=/trunk/KDE/kdelibs/; revision=1019561
2009-09-03 21:21:27 +00:00
Aaron J. Seigo
e41352c6ec move our data files into a common place with some decent organization
svn path=/trunk/KDE/kdelibs/; revision=1019549
2009-09-03 20:40:22 +00:00
Richard Dale
80665cbe28 * Add a '@since 4.3.1' tag to addStandardConfigurationPages().
Thanks to Stephan Binner for pointing out it was missing

svn path=/trunk/KDE/kdelibs/; revision=1014127
2009-08-21 14:50:29 +00:00
Laurent Montel
02b827a1fd Fix mem leak here too
svn path=/trunk/KDE/kdelibs/; revision=1013906
2009-08-21 07:31:20 +00:00
Laurent Montel
996fc634ce Fix mem leak
svn path=/trunk/KDE/kdelibs/; revision=1013905
2009-08-21 07:30:27 +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
Chani Armitage
4bc017da76 lfranchi said to fix this :)
svn path=/trunk/KDE/kdelibs/; revision=968500
2009-05-15 20:58:09 +00:00
Richard Dale
3adfa46823 * The default package structure of a scripting data engine needs to be a
plasmoid, otherwise custom main script names won't work

svn path=/trunk/KDE/kdelibs/; revision=932329
2009-02-26 11:34:06 +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