Commit Graph

4028 Commits

Author SHA1 Message Date
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
583b829b33 no to be shown
svn path=/branches/KDE/4.2/kdelibs/; revision=935626
2009-03-05 20:37:52 +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
Script Kiddy
1bbfa8724f SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=935438
2009-03-05 07:48:14 +00:00
Jacopo De Simoi
0d12d6b3b8 Uff, I guess we will live with duplicates for some more time. My previous commit breaks krunner as it *only* runs stuff which is autocompleted. Will backrevert -
svn path=/trunk/KDE/kdelibs/; revision=935428
2009-03-05 06:02:11 +00:00
Aaron J. Seigo
366a44bf0e deprecate this method as it's superfluous now
svn path=/trunk/KDE/kdelibs/; revision=935388
2009-03-04 23:16:01 +00:00
Aaron J. Seigo
dd4eeb685c dfaure is my hero for making sycoca stuff thread safe :)))
svn path=/trunk/KDE/kdelibs/; revision=935383
2009-03-04 23:09:16 +00:00
David Faure
d33e884393 Fix compilation of plasma with enable-final --- yet another X define conflicting with a Qt enum.
svn path=/trunk/KDE/kdelibs/; revision=935354
2009-03-04 21:28:02 +00:00
Jacopo De Simoi
aed33b30e2 "And they lived happily ever after with no more duplicate matches =)"
A local copy of the context is now created in the FindMatchesJob ctor, not anymore in AbstractRunner, this prevents old queries to be run with a valid dptr

svn path=/branches/KDE/4.2/kdelibs/; revision=935345
2009-03-04 21:05:24 +00:00
Jacopo De Simoi
8aa4045953 "...and they lived happily ever after with no more duplicate matches =)"
A local copy of the context is now created in the FindMatchesJob ctor, not anymore in AbstractRunner, this prevents old queries to be run with a valid dptr 

svn path=/trunk/KDE/kdelibs/; revision=935342
2009-03-04 21:03:33 +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
a409afab79 better syncing between dialog graphicswidget and the dialog
(popups shows up at a sane size now)

svn path=/trunk/KDE/kdelibs/; revision=935167
2009-03-04 15:47:59 +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
Marco Martin
ca820f5770 SVN_SILENT: forgotten @since :D
svn path=/trunk/KDE/kdelibs/; revision=934746
2009-03-03 18:11:33 +00:00