Commit Graph

3680 Commits

Author SHA1 Message Date
Chani Armitage
73073b7a54 deleteLater is safer. doh.
svn path=/trunk/KDE/kdelibs/; revision=941579
2009-03-20 00:23:21 +00:00
Aaron J. Seigo
04b65db3c8 add configNeedsSaving to View as with Applet and what not
svn path=/trunk/KDE/kdelibs/; revision=941552
2009-03-19 22:49:34 +00:00
Andrew Coles
624ebc8759 Function implementation changed to match prototype - code now compiles again.
svn path=/trunk/KDE/kdelibs/; revision=941551
2009-03-19 22:45:03 +00:00
Marco Martin
9f2d445d19 SVN_SILENT: @since and const&
svn path=/trunk/KDE/kdelibs/; revision=941546
2009-03-19 22:31:44 +00:00
Marco Martin
13ddc52057 support for multiple windows thumbnails in a tooltip
svn path=/trunk/KDE/kdelibs/; revision=941541
2009-03-19 22:15:29 +00:00
Alexander Neundorf
7abc872ac3 DL_LIBRARY should be "advanced", since it is nothing which usually has ot be set by the user
Alex



svn path=/trunk/KDE/kdelibs/; revision=941171
2009-03-19 00:44:10 +00:00
Olivier Goffart
9264bd3e76 Plasma::Svg: Round the drawing size to the pixmap size, otherwise we can get bad arctefacts.
(noticable on the eyes applet)


svn path=/trunk/KDE/kdelibs/; revision=941021
2009-03-18 18:06:56 +00:00
Arthur Renato Mello
827f5f19be Add support to check with file timestamp if cache for Plasma::Svg is still valid.
svn path=/trunk/KDE/kdelibs/; revision=940638
2009-03-17 21:08:48 +00:00
Aaron J. Seigo
be9dc1758a hm, just found out that \w includes _
svn path=/trunk/KDE/kdelibs/; revision=940553
2009-03-17 16:43:21 +00:00
Aaron J. Seigo
e74e51a285 underscore is ok
svn path=/trunk/KDE/kdelibs/; revision=940245
2009-03-16 23:46:54 +00:00
Marco Martin
ce6ac2d4d3 fix extenders appearance broken in the last commit
svn path=/trunk/KDE/kdelibs/; revision=939772
2009-03-15 17:31:19 +00:00
Marco Martin
9b4cc44046 set the margins correctly
svn path=/trunk/KDE/kdelibs/; revision=939760
2009-03-15 16:51:05 +00:00
Aaron J. Seigo
9024aa28bb don't automatically add a remove action to custom containments
svn path=/trunk/KDE/kdelibs/; revision=939041
2009-03-13 17:07:58 +00:00
David Faure
9117a796eb fix mistake detected by f_aichele on irc.
svn path=/trunk/KDE/kdelibs/; revision=938778
2009-03-12 23:25:45 +00:00
Aaron J. Seigo
5ac8aefd50 don't lower the number of threads if someone else has raised it higher already
svn path=/trunk/KDE/kdelibs/; revision=938756
2009-03-12 22:04:01 +00:00
Aaron J. Seigo
a96782cd4b if we have no more jobs, delete ourselves later
svn path=/trunk/KDE/kdelibs/; revision=938755
2009-03-12 22:02:31 +00:00
Aaron J. Seigo
8c30031635 * let the weaver own the jobs, so we can cean up successfully without crashing when the manager is deleted
* listen to jobDone's in the clean up class

svn path=/trunk/KDE/kdelibs/; revision=938752
2009-03-12 22:01:22 +00:00
Aaron J. Seigo
3ecfa9f6d5 if the RunnerManager is deleted but jobs are still processing, create a helper object to wait it out and clean them up when possible
svn path=/trunk/KDE/kdelibs/; revision=938728
2009-03-12 20:25:52 +00:00
David Faure
02f16ea848 So, yeah, nobody cares about unit tests.
Fixed up this one so that it passes (obviously some config keys were changed since it was written),
I guess this is ok and not covering a bug, please double-check the requiredVersion stuff.
CCMAIL: b.broeksema@kdemail.net

svn path=/trunk/KDE/kdelibs/; revision=938715
2009-03-12 19:28:14 +00:00
Aaron J. Seigo
50166207b9 need to clear this list when we delete all in it
svn path=/trunk/KDE/kdelibs/; revision=938709
2009-03-12 18:54:57 +00:00
Aaron J. Seigo
592ddc4e6e * emit a signal when our jobs are done but we have no matches
* use QSets instead of QLists where we are doing lots of random access and no sequential
* get rid of the stale marking as all items in the oldMatches list are, by definition, stale

svn path=/trunk/KDE/kdelibs/; revision=938708
2009-03-12 18:53:22 +00:00
Rob Scheepmaker
0f57196266 Insert new extender items at the top of the extender, if the extender is located in a popup at the bottom of the screen.
svn path=/trunk/KDE/kdelibs/; revision=938706
2009-03-12 18:45:45 +00:00
Jacopo De Simoi
25a80b322c Create local copy of runnerContext in the runnerjob ctor
svn path=/trunk/KDE/kdelibs/; revision=938690
2009-03-12 17:25:13 +00:00
Rob Scheepmaker
766bca2524 Addition of the hasItem(...) function to Extender. And usage of this function in libplasmaclock. This function allows for checking if items exist, even if that item hasn't been instantiated yet.
svn path=/trunk/KDE/kdelibs/; revision=938688
2009-03-12 17:19:45 +00:00
Marco Martin
ddc3a4b978 snap in the center of the screen
svn path=/trunk/KDE/kdelibs/; revision=938474
2009-03-11 22:33:46 +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
Marco Martin
2236b76ee4 ability to have different vertical and horizontal background
svn path=/trunk/KDE/kdelibs/; revision=938426
2009-03-11 21:03:50 +00:00
Marco Martin
5f49bb2333 fix the borders calculation when the top border doesn't exists
svn path=/trunk/KDE/kdelibs/; revision=938414
2009-03-11 20:11:31 +00:00
Chani Armitage
f406ed1d77 stuff that lets me move "add activity" to plasmaapp:
-added enableAction function to corona for convenience
-added immutabilityChanged signal so that plasmaapp can respond to lock/unlock
-removed "add activity" action from containment because it's on its way to plasmaapp
-stopped adding corona actions to the containment toolbox, plasmaapp can do a better job of it
-made lock action actually disable on SystemImmutable; sure it wouldn't have worked, but now there's no worries about it showing up in the UI

svn path=/trunk/KDE/kdelibs/; revision=938383
2009-03-11 18:37:12 +00:00
Rob Scheepmaker
e1730c4704 Move the showing of the dropzone from panelview to containment. Leads to less code duplication and makes showing dropzones when dragging extenderitems to the panel work. Also don't hide the extenderapplet and panel when detaching the last item from an extenderapplet, and move extenderitems off screen before creating the pixmap to avoid other items appearing in the pixmap.
svn path=/trunk/KDE/kdelibs/; revision=938242
2009-03-11 14:41:37 +00:00
Chani Armitage
9af884bad7 update the lock action once, instead of having every containment do it
svn path=/trunk/KDE/kdelibs/; revision=938042
2009-03-11 04:46:13 +00:00
Aaron J. Seigo
14869d0fb8 don't put the popup applet group in the widget's Configuration group; that's for the subclasses alone
svn path=/trunk/KDE/kdelibs/; revision=937998
2009-03-10 23:03:38 +00:00
Marco Martin
893093b85c initialize a value
svn path=/trunk/KDE/kdelibs/; revision=937990
2009-03-10 22:44:46 +00:00
Chani Armitage
aa34398a80 give corona its own action collection.
this is a place for things which shouldn't be duplicated over every single containment, like "lock" and "new activity".
for now we still add the lock action to every containment, so that none of the code lower down notices the change - but we only have one action behind it all :)

svn path=/trunk/KDE/kdelibs/; revision=937923
2009-03-10 19:52:50 +00:00
Marco Martin
324b6f11d4 set a write only property for the url
svn path=/trunk/KDE/kdelibs/; revision=936994
2009-03-08 20:08:27 +00:00
Script Kiddy
b5d5ce50ec SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdelibs/; revision=936835
2009-03-08 14:29:26 +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
Marco Martin
61a1ba4c92 add a bit of extra space
svn path=/trunk/KDE/kdelibs/; revision=935859
2009-03-06 12:52:21 +00:00
Marco Martin
2878bb98e5 remove useless debug output
svn path=/trunk/KDE/kdelibs/; revision=935822
2009-03-06 10:56:38 +00:00
Marco Martin
0b69364e0c unbreak on multi monitor
svn path=/trunk/KDE/kdelibs/; revision=935821
2009-03-06 10:55:33 +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
Aaron J. Seigo
655f63d1fb allow custom containment types to utilize the toolboxes if they wish
svn path=/trunk/KDE/kdelibs/; revision=935732
2009-03-06 01:41:01 +00:00
Marco Martin
8fd655c54b desktop toolbox is more tiny and shows the activity name if any is set
an experiment, let's see how it goes

svn path=/trunk/KDE/kdelibs/; revision=935674
2009-03-05 22:15:06 +00:00
Aaron J. Seigo
2e6aae87be this is internal, not for users to see
BUG:186260

svn path=/trunk/KDE/kdelibs/; revision=935625
2009-03-05 20:37:04 +00:00
Marco Martin
a219e97dae correct shadow color
svn path=/trunk/KDE/kdelibs/; revision=935565
2009-03-05 16:24:12 +00:00
Marco Martin
d43926b2ca add stretch factors again
svn path=/trunk/KDE/kdelibs/; revision=935558
2009-03-05 16:14:34 +00:00
Matthias Fuchs
4088e89973 Adds comment to the constructor.
svn path=/trunk/KDE/kdelibs/; revision=935551
2009-03-05 15:41:01 +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