Commit Graph

3746 Commits

Author SHA1 Message Date
Aaron J. Seigo
acaa4108df provide a way for runners to define their syntax; may experience some small api shifts yet, but nothing major and it works.
svn path=/trunk/KDE/kdelibs/; revision=944088
2009-03-25 01:08:08 +00:00
Marco Martin
4f20cfe5a6 try again to show the toolbox as a circle in the corners, but more
important fix the dragging quirkiness (by not changing the
boundingRect(), only paint it as if it had a different geometry)

svn path=/trunk/KDE/kdelibs/; revision=944004
2009-03-24 20:37:28 +00:00
Aaron J. Seigo
f2ba0859cb SVN_SILENT: i'm sure one pair of parens is enough. this isn't lisp.
svn path=/trunk/KDE/kdelibs/; revision=943975
2009-03-24 18:51:29 +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
Marco Martin
1427ff946c leak--
svn path=/trunk/KDE/kdelibs/; revision=943740
2009-03-24 11:45:53 +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
Pino Toscano
345738e8e6 repeat after me:
Qt includes in public headers must go in the form <QtModule/QFoo>

svn path=/trunk/KDE/kdelibs/; revision=943469
2009-03-23 21:41:13 +00:00
Jacopo De Simoi
282ee1b508 Compressing events timeout to 50ms; improves consistency of the resultScene
svn path=/trunk/KDE/kdelibs/; revision=943326
2009-03-23 17:11:53 +00:00
Rob Scheepmaker
c47d34bcba Yay! Add support for grouping in extenders. Expect this feature used for grouping jobs in systemtray soon: I'll commit that as soon as I figured out the last problem that patch has (an atm seemingly random crash that happens incidentally).
svn path=/trunk/KDE/kdelibs/; revision=943303
2009-03-23 16:30:32 +00:00
Script Kiddy
7d63d161c7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=943250
2009-03-23 14:55:27 +00:00
Marco Martin
4f9f85cee9 don't let the popups escape from their containment
resolves part of 184983
CCBUG:184983

svn path=/trunk/KDE/kdelibs/; revision=942063
2009-03-20 22:17:44 +00:00
Marco Martin
47a6a491d7 popups aligned with the exact pixel of the panel
svn path=/trunk/KDE/kdelibs/; revision=941938
2009-03-20 18:45:21 +00:00
Script Kiddy
09124a85aa SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=941842
2009-03-20 14:52:58 +00:00
André Wöbbeking
7479e79f40 -pedantic
CCMAIL:notmart@gmail.com

svn path=/trunk/KDE/kdelibs/; revision=941672
2009-03-20 10:27:31 +00:00
Laurent Montel
72e29219f2 use ref
svn path=/trunk/KDE/kdelibs/; revision=941649
2009-03-20 08:25:20 +00:00
Chani Armitage
111e6a60c3 zoomout is moving to desktop/plasmaapp
svn path=/trunk/KDE/kdelibs/; revision=941581
2009-03-20 00:36:04 +00:00
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