Commit Graph

11 Commits

Author SHA1 Message Date
Aaron J. Seigo
99c036a212 make package and mainScript part of ScriptEngine
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796106
2008-04-12 15:23:15 +00:00
Aaron J. Seigo
e781f69687 make PackageStructure loading actually work and abstract that all away into a cute little method elsewhere
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=793416
2008-04-03 22:45:09 +00:00
Pino Toscano
c9dd0f1dd6 use the KDE/KFoo form for KDE CamelCase includes in public headers
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785412
2008-03-13 23:35:06 +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
8379d47abb add useful includes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779433
2008-02-26 05:07:15 +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
Petri Damstén
0fb0b0f613 remove const to match AbstractRunner
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=778873
2008-02-24 19:57:50 +00:00
Aaron J. Seigo
bfbea8235d this isn't an AbstractRunner subclass
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=778836
2008-02-24 18:23:21 +00:00
Aaron J. Seigo
2954087e8d * eliminate the three search lists and have just one
* remove add*Match since they broke the pattern of usage (who owns the match? do you have to add it again? etc..)
* add addMatch to compliment addMatches for those runners that just ever have one match
* make the default SearchMatch type Possible rather than Exact (making Exact and Informational the exceptions, which matches usage patterns)
* const'ify the API a bit better

generally more performant, lower memory usage and clearer API having seen what is beign done in the runners. also makes it a bit easier to turn the Matches into a qt model

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776931
2008-02-19 03:59:21 +00:00
Petri Damstén
8a15088888 Scripting update.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=770587
2008-02-04 04:41:40 +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