Commit Graph

10913 Commits

Author SHA1 Message Date
Marco Martin
2bbfc409fb move all in scripting 2013-03-05 17:48:01 +01:00
Aaron Seigo
1a356e638d default application: only return the executable and not the rest of the command line 2013-03-05 17:48:01 +01:00
Aaron Seigo
687babeb74 catch the new (in 4.10) Application case 2013-03-05 17:48:01 +01:00
Aaron Seigo
932e547cd9 immediately save immutability and geometry settings when setting
this prevents them getting nuked when also writing to the config with writeConfig
which in turn triggers a config reload (without those values!) later on
2013-03-05 17:48:01 +01:00
Rohan Garg
6095abcdbf Make sure the plasma desktop scripts are sorted in the correct order
Instead of sorting the scripts according to their absolute paths,
which would cause scripts installed by packages to always end at
the top, scripts should be sorted by their relative path i.e.
plasma scripts from each directory that occurs in the path
should be sorted and then merged together to form a super list

REVIEWED BY: Marco Martin
2013-03-05 17:48:01 +01:00
Marco Martin
7c6d8e8377 make sure scripts are executed sorted 2013-03-05 17:48:01 +01:00
Alex Fiestas
5f767127c7 Revert "make the type property writable (no wonder it wasn't documented on techbase!)"
This reverts commit a12d487bfc260dea2a9664a05b7c7de5e9d4593a.
2013-03-05 17:48:01 +01:00
Aaron Seigo
ffeb10641b make the type property writable (no wonder it wasn't documented on techbase!) 2013-03-05 17:48:01 +01:00
Aaron Seigo
5362e4e3b6 exclude user events during sleep
BUG:266092
2013-03-05 17:48:01 +01:00
Aaron Seigo
13164dd664 allow a subclass to define the default screen for the panel at runtime
CCBUG:262558
2013-03-05 17:48:01 +01:00
Aaron Seigo
365be18057 remove some header trash 2013-03-05 17:48:01 +01:00
Aaron Seigo
7aa0bd1e3a not the most useful output 2013-03-05 17:48:01 +01:00
Aaron Seigo
ade63c4f88 i18n bindings 2013-03-05 17:48:01 +01:00
Aaron Seigo
c565b3770e correct config group 2013-03-05 17:48:01 +01:00
Aaron Seigo
e806602994 cache knownWidgets 2013-03-05 17:48:01 +01:00
Aaron J. Seigo
b46779dcc5 prepend known to the method name, makes it more consistent with the rest of the API
huzzah for documentation showing up warts :)

svn path=/trunk/KDE/kdebase/workspace/; revision=1214676
2013-03-05 17:48:01 +01:00
Aaron J. Seigo
9d934932d4 wallpaperPlugins
svn path=/trunk/KDE/kdebase/workspace/; revision=1214674
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
991badb778 * userDataPath
* applicationPath

svn path=/trunk/KDE/kdebase/workspace/; revision=1214514
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
f6a19c5834 bump the scripting version number
svn path=/trunk/KDE/kdebase/workspace/; revision=1213894
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
d479e58faf FEATURE: Boolean applicationExists(String name) and String defaultApplication(String kind)
svn path=/trunk/KDE/kdebase/workspace/; revision=1213892
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
0e16dcd2e0 number multiheadScreen
svn path=/trunk/KDE/kdebase/workspace/; revision=1198582
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
61a7ee7247 * move more properties into AppInterface
* add 'bool multihead'

svn path=/trunk/KDE/kdebase/workspace/; revision=1198260
2013-03-05 17:48:00 +01:00
Kevin Ottens
e52a934109 Add missing debug includes.
svn path=/trunk/KDE/kdebase/workspace/; revision=1195229
2013-03-05 17:48:00 +01:00
Anthony Bryant
4ae0530dbe Make read/writeGlobalConfig() actually use the global config.
svn path=/trunk/KDE/kdebase/workspace/; revision=1174341
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
555b31f4d2 check ptr value
BUG:245539

svn path=/trunk/KDE/kdebase/workspace/; revision=1172365
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
1a95091dc0 allow for things like:
var template = loadTemplate("org.kde.plasma-desktop.findWidgets")
template.findWidgets("tasks")


svn path=/trunk/KDE/kdebase/workspace/; revision=1170449
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
831607f13f note to self: autocomplete is not a substitue for reading the code it pops there
svn path=/trunk/KDE/kdebase/workspace/; revision=1159659
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
6b982a82e0 since applet() comes from the subclasses, let the subclasses trigger the reload
svn path=/trunk/KDE/kdebase/workspace/; revision=1159651
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
c99ce29222 up the version number
svn path=/trunk/KDE/kdebase/workspace/; revision=1158014
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
d122d4c88b theme property
svn path=/trunk/KDE/kdebase/workspace/; revision=1158013
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
fd44810610 add the locked property
svn path=/trunk/KDE/kdebase/workspace/; revision=1152636
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
56cfe46087 doesn't do much good here
svn path=/trunk/KDE/kdebase/workspace/; revision=1152635
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
26004a8062 slightly more sensicle; no difference in behaviour, though
svn path=/trunk/KDE/kdebase/workspace/; revision=1152633
2013-03-05 17:48:00 +01:00
Marco Martin
6f4dc1cc4f all the desktop/netbook scripting stuff is in the WorkspaceScripting namespace now
svn path=/trunk/KDE/kdebase/workspace/; revision=1128578
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
de2f7ef846 don't take addr of temporary
svn path=/trunk/KDE/kdebase/workspace/; revision=1123365
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
73cea339a8 adapt to powermanagement dataengine cleanup
svn path=/trunk/KDE/kdebase/workspace/; revision=1122881
2013-03-05 17:48:00 +01:00
Aaron J. Seigo
6216e0ae72 catch wallpaper changes
svn path=/trunk/KDE/kdebase/workspace/; revision=1122770
2013-03-05 17:48:00 +01:00
Marco Martin
2b42e85991 templateName and templateComment global variables accessible when running a template.
it says the name and comment fields of the package desktop file

svn path=/trunk/KDE/kdebase/workspace/; revision=1121162
2013-03-05 17:48:00 +01:00
Carlo Segato
0ad362c94c don't call both variable info, this doesn't work under msvc
svn path=/trunk/KDE/kdebase/workspace/; revision=1120767
2013-03-05 17:48:00 +01:00
Marco Martin
074580047f propagate down locked property
svn path=/trunk/KDE/kdebase/workspace/; revision=1120697
2013-03-05 17:47:59 +01:00
Marco Martin
d0d9f2f772 locked property in applet too
svn path=/trunk/KDE/kdebase/workspace/; revision=1120691
2013-03-05 17:47:59 +01:00
Aaron J. Seigo
0d235ed8af make these read-only properties, not methods
svn path=/trunk/KDE/kdebase/workspace/; revision=1119890
2013-03-05 17:47:59 +01:00
Aaron J. Seigo
760e0914a0 allow defining what type of widget to return from widgets()
svn path=/trunk/KDE/kdebase/workspace/; revision=1119874
2013-03-05 17:47:59 +01:00
Aaron J. Seigo
1d60579972 version read only property
svn path=/trunk/KDE/kdebase/workspace/; revision=1119867
2013-03-05 17:47:59 +01:00
Aaron J. Seigo
ae70c2fce5 platformVersion
svn path=/trunk/KDE/kdebase/workspace/; revision=1119865
2013-03-05 17:47:59 +01:00
Aaron J. Seigo
79f055689d availableActivities(), availablePanels()
svn path=/trunk/KDE/kdebase/workspace/; revision=1119863
2013-03-05 17:47:59 +01:00
Aaron J. Seigo
9fe0a6d34f avialableWidgets
svn path=/trunk/KDE/kdebase/workspace/; revision=1119853
2013-03-05 17:47:59 +01:00
Aaron J. Seigo
fa83ab3f21 widgets()
svn path=/trunk/KDE/kdebase/workspace/; revision=1119843
2013-03-05 17:47:59 +01:00
Aaron J. Seigo
7d27adbe34 activities()
svn path=/trunk/KDE/kdebase/workspace/; revision=1119754
2013-03-05 17:47:59 +01:00
Aaron J. Seigo
62af47f1de panels()
svn path=/trunk/KDE/kdebase/workspace/; revision=1119751
2013-03-05 17:47:59 +01:00