Commit Graph

71 Commits

Author SHA1 Message Date
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
Alex Merry
9c1570f13e apidocs fixes.
Remember to document ALL parameters to methods.  They may seem obvious to you, but I had to look at the code for at least two of the methods in order to document their parameters correctly.

*waves stick of EBN-ness*


svn path=/trunk/KDE/kdelibs/; revision=908604
2009-01-10 00:08:31 +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
Aaron J. Seigo
22bc5e8a42 no point in having a class with just one consumer (esp now that we require BC)
svn path=/trunk/KDE/kdelibs/; revision=905828
2009-01-05 08:28:23 +00:00
Aaron J. Seigo
0fc67ce435 no point in having a class in the main lib for just one consumer (esp now that we require BC)
svn path=/trunk/KDE/kdelibs/; revision=905827
2009-01-05 08:27:53 +00:00
Marco Martin
12fc12b692 add missing widgets
svn path=/trunk/KDE/kdelibs/; revision=903255
2008-12-30 10:43:20 +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
1376b1dc9b consistent mocing
svn path=/trunk/KDE/kdelibs/; revision=884497
2008-11-15 06:11:17 +00:00
Aaron J. Seigo
ceb8332dae uninstallation command
svn path=/trunk/KDE/kdelibs/; revision=883052
2008-11-11 23:22:13 +00:00
Richard Dale
ecad3fb271 * Add package() and mainScript() methods to the scripting dataengine class
* Fix expected load path for a scripting dataengine and change from
  'plasma/engines' to 'plasma/dataengines' to be in line with the 
  'dataengine' type option of the plasmapkg tool

CCMAIL: kde-bindings@kde.org


svn path=/trunk/KDE/kdelibs/; revision=880550
2008-11-05 20:32:51 +00:00
Aaron J. Seigo
beaa49aeb2 ++compile
svn path=/trunk/KDE/kdelibs/; revision=879800
2008-11-04 02:39:56 +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
Kevin Ottens
8a4bc36925 Revive UiLoader a bit as discussed on list.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879713
2008-11-03 21:27:59 +00:00
Aaron J. Seigo
5f04141dd2 add in two missing methods
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879693
2008-11-03 20:23:31 +00:00
Allen Winter
214ac5f91f clean up some kDebugs and kWarnings.
shorten some extra long lines.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870290
2008-10-12 10:20:02 +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
Alex Merry
e293d7d785 Specify includes in apidocs, so we get
#include <Plasma/Foo>
at the top of the apidocs pages.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Aaron J. Seigo
63bce9d1b4 move all the prive code into private/; makes it much clearer with the division lines are
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839792
2008-07-30 20:35:42 +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
Sebastian Sauer
1c59c73ae2 Don't assert since it's tmp and not temp ;)
But it doesn't work yet anyway cause we don't pass install/remove commands around.
BUG:164411


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823774
2008-06-24 05:22:06 +00:00
Aaron J. Seigo
d5b4ede232 connect to the plasmoid feed
BUG:160494

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821062
2008-06-16 09:04:14 +00:00
Richard Dale
691262431c * Add PLASMA_EXPORT macros to the five methods in the Plasma:: namespace so that they
can be used outside the plasma lib.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807212
2008-05-13 09:39:19 +00:00
Aaron J. Seigo
6019dc7b27 huge patch, but it's needed to avoid crashes and i can't wait on other people's pending work forever. so...
QueryMatch by value! shared dptr == no copy of data either! so (nearly) all the speed love of pointers with none of the crash hate. woo!

RunnerContext also by value! die pointers die!

also get rid of tons of locking that just doesn't make sense anymore; get rid of data priority enum as well since it's completely meaningless.

speed, glory, stability! ftw!

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805661
2008-05-09 03:49:11 +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
Aaron J. Seigo
f3188fb672 SearchMatch -> QueryMatch
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803385
2008-05-02 18:46:05 +00:00
Aaron J. Seigo
f55bbb73f9 SearchContext -> RunnerContext
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803041
2008-05-01 18:40:10 +00:00
Laurent Montel
2621c6c07f Language->API
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802727
2008-04-30 11:41:07 +00:00
Davide Bettio
c32f8a4511 Replacing exec() with run(): this change wasn't discussed during the tokamak meeting.
run() method is more obvious than exec() (don't forget that a runner run :) ).
Anyway during the meeting we have decided to replace createMatchOptions() with createRunOptions()
and (set)hasMatchOptions() with (set)hasRunOptions(), now with this commit we have a more coherent naming.
CCMAIL: panel-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802143
2008-04-28 17:11:12 +00:00
Davide Bettio
4845197db5 API REVIEW: protected slots -> not slots
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801707
2008-04-27 13:52:59 +00:00
Davide Bettio
3210ad5beb API REVIEW: contructor -> protected
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801701
2008-04-27 13:50:49 +00:00
Davide Bettio
370d6b0b7e protected slots -> not slots
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801699
2008-04-27 13:47:59 +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
Albert Astals Cid
4068f45cf9 const & in foreach
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801430
2008-04-26 16:19:00 +00:00
Anne-Marie Mahfouf
0b12fc3a5e API review: sourceRequested() -> sourceRequestEvent()
updateSource() -> updateSourceEvent()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801373
2008-04-26 12:59:44 +00:00
Anne-Marie Mahfouf
a522992e06 API review: clearSources()-> removeAllSources()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801363
2008-04-26 12:30:42 +00:00