Commit Graph

563 Commits

Author SHA1 Message Date
Marco Martin
758b5740b1 backport the setBackgroundHints() behaviour fix
svn path=/branches/KDE/4.3/kdelibs/; revision=1003188
2009-07-27 20:23:11 +00:00
Richard Dale
871e1baaf4 * Add Plasma/PluginApplet as another type of plasmoid service when making KTrader queries
svn path=/branches/KDE/4.3/kdelibs/; revision=1002602
2009-07-26 14:21:42 +00:00
Aaron J. Seigo
2ac54f8f19 backport fix for widgets with X-KDE-ParentApp= in their metatdata.desktop
svn path=/branches/KDE/4.3/kdelibs/; revision=1002136
2009-07-25 05:43:20 +00:00
Richard Dale
a3bb51e3a8 * Change the name of the initScriptExtenderItem to extenderItemRestored as it is less clumsy
svn path=/branches/KDE/4.3/kdelibs/; revision=999252
2009-07-19 14:26:06 +00:00
Richard Dale
14352fc429 Add getters and setters for PopupApplet::widget() and PopupApplet::graphicsWidget()
for use in scripting languages. Add a initScriptingExtenderItem() signal for script
engines to connect to and call their versions of Applet::initExtenderItem()

CCMAIL: kde-bindings@kde.org

svn path=/branches/KDE/4.3/kdelibs/; revision=998324
2009-07-17 12:32:06 +00:00
Marco Martin
ebb22d5876 backport the fix for 199921
svn path=/branches/KDE/4.3/kdelibs/; revision=995463
2009-07-12 19:36:13 +00:00
Aaron J. Seigo
ba90bd8374 only close the desktop toolbox if the action is non-repeatable, which implies it's a fire-and-forget type of action such as something that triggers a dialog
CCBUG:198229

svn path=/branches/KDE/4.3/kdelibs/; revision=988885
2009-06-29 01:27:15 +00:00
Marco Martin
89fc3cfa00 backport of partial fix to bug 197522
svn path=/branches/KDE/4.3/kdelibs/; revision=987216
2009-06-25 17:47:53 +00:00
Chani Armitage
0794c5ba82 enforce security.
from now on, unsafe widgets won't show up in the screensaver's appletbrowser.

svn path=/branches/KDE/4.3/kdelibs/; revision=986810
2009-06-25 06:45:11 +00:00
Petri Damstén
414b22f26b Do X-Plasma-DefaultSize resize in AppletPrivate::init
svn path=/trunk/KDE/kdelibs/; revision=984355
2009-06-20 15:58:59 +00:00
Marco Martin
eb7b8827e1 check for the view, crash--
(crash probably not reported on bz)

svn path=/trunk/KDE/kdelibs/; revision=984203
2009-06-20 13:00:48 +00:00
Aaron J. Seigo
27e83c08d8 refuse to destroy an applet before it's started; apparently there are some rather inventive people out there
svn path=/trunk/KDE/kdelibs/; revision=984116
2009-06-20 02:14:43 +00:00
Aaron J. Seigo
198c7cd970 when the background hints change, ensure we schedule an update; fixes the background of the folderview not being painted on first plasma start
svn path=/trunk/KDE/kdelibs/; revision=982099
2009-06-14 22:12:40 +00:00
Aaron J. Seigo
f8a69d0b45 call setupScriptSupport in the Applet's init()
svn path=/trunk/KDE/kdelibs/; revision=980825
2009-06-12 15:20:54 +00:00
Aaron J. Seigo
1e4a7ee457 sort these out so we can look at them later for possible streamlining
svn path=/trunk/KDE/kdelibs/; revision=979909
2009-06-10 18:28:17 +00:00
Aaron J. Seigo
4662d3d7cd erg, apparently i hit "x" on the way out of vim after testing but before commiting :(
svn path=/trunk/KDE/kdelibs/; revision=979519
2009-06-10 02:16:19 +00:00
Aaron J. Seigo
5dd5576d60 destroy the message overay proxy widget if it exists and we get rid of the message overlay
svn path=/trunk/KDE/kdelibs/; revision=979518
2009-06-10 02:12:29 +00:00
Aaron J. Seigo
968f969f89 if the popup is the extender, show the configuration overlay on the main applet
svn path=/trunk/KDE/kdelibs/; revision=977938
2009-06-05 16:23:48 +00:00
Chani Armitage
81244eb86a okay, make it const
svn path=/trunk/KDE/kdelibs/; revision=976922
2009-06-03 01:10:57 +00:00
Chani Armitage
2d2aef5930 isAllowed -> hasAuthorization
svn path=/trunk/KDE/kdelibs/; revision=976800
2009-06-02 17:25:30 +00:00
Petri Damstén
9511f6f429 Set catalog name for scripted plasmoids
svn path=/trunk/KDE/kdelibs/; revision=974548
2009-05-29 16:41:06 +00:00
Aaron J. Seigo
53d2c9970a make a config dialog even if the applet has a package and a config.xml but lacks a config.ui
svn path=/trunk/KDE/kdelibs/; revision=973264
2009-05-26 18:04:02 +00:00
Aaron J. Seigo
376de3b3b7 be more careful with our configChanged signals
svn path=/trunk/KDE/kdelibs/; revision=973255
2009-05-26 17:32:33 +00:00
Aaron J. Seigo
09e4b24817 make it possible to add custom (e.g. application specific) applet categories
CCMAIL:oszkar.ambrus@deri.org

svn path=/trunk/KDE/kdelibs/; revision=969430
2009-05-18 11:15:00 +00:00
Chani Armitage
bac10ee82b change X-Plasma-Requires-<foo> to be a string (Required/Optional/Unused) instead of a bool.
now I can tell the difference between something that will only use a feature when allowed, and something that doesn't care about that feature at all.

svn path=/trunk/KDE/kdelibs/; revision=967779
2009-05-13 23:28:00 +00:00
Aaron J. Seigo
ec65d08748 SVN_SILENT: random ws improvements made while debugging various issues
svn path=/trunk/KDE/kdelibs/; revision=966511
2009-05-11 09:32:19 +00:00
Marco Martin
359dc82a14 when the applet is busy can still be interacted with the mouse
svn path=/trunk/KDE/kdelibs/; revision=964935
2009-05-07 17:13:17 +00:00
Chani Armitage
233e220ad9 safer way of creating actions, according to mjansen
svn path=/trunk/KDE/kdelibs/; revision=963095
2009-05-03 22:13:05 +00:00
Chani Armitage
c756fd29c4 configurable keyboard shortcuts
svn path=/trunk/KDE/kdelibs/; revision=963051
2009-05-03 20:22:14 +00:00
Aaron J. Seigo
20f309487d add generic script package support for included translations
svn path=/trunk/KDE/kdelibs/; revision=962208
2009-05-01 18:31:14 +00:00
Aaron J. Seigo
b8e1aab84d use the Categories again, but mark the known ones for translation. all unknown categories will get relegated into the misc category
svn path=/trunk/KDE/kdelibs/; revision=962198
2009-05-01 18:03:13 +00:00
Aaron J. Seigo
0b5c4e1947 use Keywords instead of X-KDE-PluginInfo-Category so we can be translated and even support multiple categories!
svn path=/trunk/KDE/kdelibs/; revision=961933
2009-05-01 05:36:50 +00:00
Aaron J. Seigo
8ca16ac404 assigning the variable is a good, he says to himself.
svn path=/trunk/KDE/kdelibs/; revision=960162
2009-04-28 02:21:49 +00:00
Aaron J. Seigo
8587298f41 connect the activate() signal sooner
svn path=/trunk/KDE/kdelibs/; revision=959934
2009-04-27 15:23:53 +00:00
Aaron J. Seigo
3c240aa807 append a '/' if needed
svn path=/trunk/KDE/kdelibs/; revision=959336
2009-04-26 03:15:25 +00:00
Aaron J. Seigo
d4c7994472 allow loading applets from packages directly
svn path=/trunk/KDE/kdelibs/; revision=959317
2009-04-26 00:43:20 +00:00
Richard Dale
4bb4a0839e * Allow scripting PopupApplets to be created if the metadata.desktop for the
applet has a 'ServiceTypes=Plasma/PopupApplet' line

CCMAIL: kde-bindings@kde.org

svn path=/trunk/KDE/kdelibs/; revision=958044
2009-04-23 10:54:45 +00:00
Aaron J. Seigo
7df3fb6228 don't bother making or destroying busy widgets/overlays if we're already in the right busy state
svn path=/trunk/KDE/kdelibs/; revision=954122
2009-04-15 07:29:23 +00:00
Aaron J. Seigo
8620a462f4 moc it up
svn path=/trunk/KDE/kdelibs/; revision=951385
2009-04-09 06:07:33 +00:00
Aaron J. Seigo
43e5ee5d15 correct slots
svn path=/trunk/KDE/kdelibs/; revision=951381
2009-04-09 05:57:57 +00:00
Aaron J. Seigo
89b70374c3 abstract the bit of data engine management code out into a small class that the private classes can then subclass, and add dataEngine(const QString &) to Wallpaper
svn path=/trunk/KDE/kdelibs/; revision=947636
2009-03-31 23:51:52 +00:00
Aaron J. Seigo
9c6bd76035 remove some old code from when creating the toolbox created the actions and custom containments never had toolbox; that was an implementation detail that no longer fits the definitions (e.g. custom containments can now have toolboxes if they so wish)
svn path=/trunk/KDE/kdelibs/; revision=943974
2009-03-24 18:50:18 +00:00
Aaron J. Seigo
6d98e6f2aa protect against crashing / interupted plasma exit with global shortcuts
BUG:184042

svn path=/trunk/KDE/kdelibs/; revision=943557
2009-03-24 02:07:20 +00:00
Marco Martin
71dfaf6ac8 draw on _own_ contents rect
svn path=/trunk/KDE/kdelibs/; revision=938463
2009-03-11 22:06:12 +00:00
Chani Armitage
9bc37a9cd1 oops! how'd that sneak in?
if you were getting ambiguous shortcuts trouble it'll go away again now.

svn path=/trunk/KDE/kdelibs/; revision=936506
2009-03-07 19:50:15 +00:00
Marco Martin
919796da14 0 opacity with the busywidget
busywidget always on the icon rather in the popup

svn path=/trunk/KDE/kdelibs/; revision=936025
2009-03-06 18:21:59 +00:00
Chani Armitage
d1fa9d361b (hopefully) temporary fix for shortcuts.
this could interfere with plasma-mid, because it assumes one view per window
but it's the best we can get until we can use real QGraphicsWidget action stuff

svn path=/trunk/KDE/kdelibs/; revision=935758
2009-03-06 05:22:08 +00:00
Marco Martin
d43926b2ca add stretch factors again
svn path=/trunk/KDE/kdelibs/; revision=935558
2009-03-05 16:14:34 +00:00
Marco Martin
fff4b03ec1 set the pointer to 0
svn path=/trunk/KDE/kdelibs/; revision=935531
2009-03-05 14:07:24 +00:00
Marco Martin
754b8d34c3 paint the busy widget always square
use overlay widget to show the busy widget, duplication--

svn path=/trunk/KDE/kdelibs/; revision=935520
2009-03-05 13:05:12 +00:00