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
Chani Armitage
5332b1edc8
security constraints can be defined now, whee
...
svn path=/trunk/KDE/kdelibs/; revision=935220
2009-03-04 17:05:51 +00:00
Marco Martin
5a2a47f473
now message overlays are in popup of popupapplets :)
...
duplication with spinner code still has to be merged
svn path=/trunk/KDE/kdelibs/; revision=934846
2009-03-03 22:23:42 +00:00
Artur Duque de Souza
d0205d92b3
Changes inside Plasma::Applet to test if we have a popup
...
and if this is true, if we should use widget() or graphicsWidget()
to show the BusyWidget.
svn path=/trunk/KDE/kdelibs/; revision=933444
2009-02-28 22:52:17 +00:00
Aaron J. Seigo
6bae773c79
if the config dialog is still around, delete it when the applet goes down.
...
svn path=/trunk/KDE/kdelibs/; revision=930709
2009-02-24 02:34:57 +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
Marco Martin
d86a36efa1
little tweak to the overlay look
...
svn path=/trunk/KDE/kdelibs/; revision=930624
2009-02-23 22:10:30 +00:00
Marco Martin
4b8bebf239
permit locked containments to move, should fix a zui breakage
...
(ContainmentPrivate::positionContainments should always be permitted)
svn path=/trunk/KDE/kdelibs/; revision=930442
2009-02-23 13:48:04 +00:00
Marco Martin
ae80ec1806
it's dangerous to access config() there, for now let's try to use just
...
the applet id as deterministic seed, let's see if it will have seemingly
random enough results
svn path=/trunk/KDE/kdelibs/; revision=928015
2009-02-18 19:47:32 +00:00
Ambroz Bizjak
a27a09fefc
Fix regressions introduced by 914887.
...
On the other hand, Corona::addItem indirectly calls Containment::itemChange,
which ends up calling AppletPrivate::mainConfigGroup, which then creates a config
group in the wrong file (plasmarc) because isContainment was not set.
This also caused a regression where removed applets reappeared on next plasma run.
Fix:
Manually set isContainment before adding the item to the corona, then
call setIsContainment with a new argument to force the initialization.
svn path=/trunk/KDE/kdelibs/; revision=927886
2009-02-18 13:55:18 +00:00
Marco Martin
699b688de7
don't try to access config here if we don't have a containment, one
...
cause less to have destroyed config files (we should find a better
solution for overlays)
svn path=/trunk/KDE/kdelibs/; revision=927611
2009-02-17 22:06:30 +00:00
Marco Martin
0ee39c6ac2
better paint of the overlay
...
svn path=/trunk/KDE/kdelibs/; revision=927520
2009-02-17 19:07:47 +00:00
Chani Armitage
499fd451b4
make it possible to exclude categories from the appletbrowser
...
svn path=/trunk/KDE/kdelibs/; revision=925892
2009-02-14 13:28:25 +00:00
Chani Armitage
b0e0bb161a
I forgot to forwardport that security fix from 4.2 >.<
...
svn path=/trunk/KDE/kdelibs/; revision=923421
2009-02-08 18:31:43 +00:00
Marco Martin
05577817bf
make a new constructor with arguments to make possible for non-plugin
...
scripted applet to have arguments and a new accessor to have the applet
arguments at any moment
svn path=/trunk/KDE/kdelibs/; revision=923308
2009-02-08 15:24:56 +00:00
Marco Martin
9a905cd11b
appear and disappear animation for the message overlay
...
svn path=/trunk/KDE/kdelibs/; revision=921039
2009-02-04 11:39:22 +00:00
Marco Martin
2046c01a29
messagebox that displays as an overlay over the applet.
...
it has optional buttons or can be shown/closed programmatically by the
applet implementation
svn path=/trunk/KDE/kdelibs/; revision=920367
2009-02-02 19:39:41 +00:00
Alexis Ménard
ef4b6c7187
Add an appletDestroyed signal instead of catching the destruction in containments with qobject destroyed signal.
...
THis fix errors because we give an invalid pointer to public appletRemoved signal.
svn path=/trunk/KDE/kdelibs/; revision=917619
2009-01-28 07:58:17 +00:00
Christophe Giboudeaux
ae301b3718
kaction.h is already included. Just remove the extra ones
...
svn path=/trunk/KDE/kdelibs/; revision=917529
2009-01-28 00:12:02 +00:00
Cédric Borgese
1b12af86cc
Fix compilation : camel case includes of kdelibs headers are not accessible while building kdelibs.
...
svn path=/trunk/KDE/kdelibs/; revision=917525
2009-01-28 00:01:15 +00:00
Chani Armitage
958cc6e953
-fix settings shortcut
...
-QAction->KAction
IMPORTANT: if you need to do things to the keyboard shortcuts of kactions (which means all of plasma's standard actions from now on), make sure you're using a KAction* and not a QAction*
svn path=/trunk/KDE/kdelibs/; revision=917435
2009-01-27 20:50:34 +00:00