Commit Graph

2776 Commits

Author SHA1 Message Date
Alex Merry
20af95eee1 Bogus foreach.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853577
2008-08-27 22:17:28 +00:00
Olivier Goffart
8e96263a52 Optimisation: createMaskFromColor is slow, and PanelSvg::mask() is called quite often.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853506
2008-08-27 19:59:12 +00:00
Alex Merry
7ee88a1007 We shouldn't be doing this. Containment deletes us itself.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853474
2008-08-27 19:15:59 +00:00
Aaron J. Seigo
16ee834701 set signal relays to be queued upon creation, so that if they are not immediately updated (e.g. the first relay) but then data becomes immediately available afterwards, an update still occurs. this addresses the connecting-using-a-relay-to-an-async-process issue; it's a bit of an odd case, but we've found at least one use case for it and there's no reason not to make it work in the code.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853470
2008-08-27 19:08:46 +00:00
Script Kiddy
c64b91b9d3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853252
2008-08-27 12:41:04 +00:00
Alessandro Diaferia
813647bdbd reverting to previous revision since aaron dislikes the patch as it is.. hoping for a better new one =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853143
2008-08-27 10:45:43 +00:00
Alessandro Diaferia
f58ae0fbc4 * added setAlwaysIconified(bool) to allow using the
applet iconified even on the desktop (useful for Kickoff)
* added bool alwaysIconified()


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853100
2008-08-27 07:41:29 +00:00
Sebastian Kügler
9d5e4b488e Correct these calls, even if they're commented, one might still want to have this correct
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853024
2008-08-27 01:06:40 +00:00
Sebastian Kügler
ef72738960 Correct include guards name
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853013
2008-08-27 00:38:26 +00:00
Alex Merry
9ce3660816 * rename operationIsEnabled to isOperationEnabled
* add disassociateWidget() methods
* don't allow a widget to associated with more than one operation
* set the enabled status properly when we associate a widget


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852983
2008-08-26 23:04:53 +00:00
Alex Merry
8355e9e027 operationIsEnabled() should be public.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852940
2008-08-26 21:42:23 +00:00
Aaron J. Seigo
3d6b183011 try to keep updateSourcEvents to a minimum by only triggering an immediate update from the SignalRelay object if it is not the first visualization connected to the source
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852899
2008-08-26 20:37:53 +00:00
Alex Merry
df4423255f Move the clearFocus() fix to before "delete d", since we delete containments in ~CoronaPrivate
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852814
2008-08-26 17:25:04 +00:00
Alex Merry
d362e7989c When should you or shouldn't you emit sourceAdded and sourceRemoved yourself? This is when.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852803
2008-08-26 16:47:34 +00:00
Alex Merry
f202c3af80 Better main page for the libplasma api docs.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852791
2008-08-26 16:06:05 +00:00
Alex Merry
d3b6dfab61 Make the authors list in alphabetical order, rather than vaguely sort-of alphabetical order.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852775
2008-08-26 15:14:59 +00:00
Alex Merry
22e5a4d36a I supposed I've probably done enough in libplasma to merit a mention here...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852774
2008-08-26 15:12:14 +00:00
Andreas Hartmetz
d65308eb0a Fix build breakage done by infidels trying to make this holy codebase compile on non-blessed systems. Yes SaroEngels, I'm looking at you ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852583
2008-08-26 02:13:29 +00:00
Patrick Spendrin
72b392a650 fix if DL_LIBRARY is not set
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852552
2008-08-25 23:55:52 +00:00
Rob Scheepmaker
3127a7be81 Add some much needed apidox to PopupApplet.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852548
2008-08-25 23:46:00 +00:00
Rob Scheepmaker
56fc76d150 Detaching ExtenderItems from a Plasma::Dialog works now, but resizing the dialog isn't
always done correctly yet. I'm still looking into that.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852535
2008-08-25 23:16:18 +00:00
Script Kiddy
dd7f1d815c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852518
2008-08-25 23:01:08 +00:00
Aaron J. Seigo
364aabf073 drop the requirement of a containment on construction
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852337
2008-08-25 19:25:15 +00:00
Alex Merry
e293d7d785 Specify includes in apidocs, so we get
#include <Plasma/Foo>
at the top of the apidocs pages.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Alex Merry
71fec1c364 Improve apidocs, get rid of a commented-out line, fix an indent.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852237
2008-08-25 16:03:56 +00:00
Rob Scheepmaker
60a62db177 Make attached ExtenderItems non persistent, since that is more logical default behavior.
Fixed the screwed up positioning of the ExtenderItem toolbox.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852222
2008-08-25 15:17:54 +00:00
Rob Scheepmaker
27cdeadb03 Some changes to PopupApplet to make it a useful base class for extender using applets,
and some changes to libplasmaclock to make it's dialog get the correct size.
Works quite well, but for some reason dragging extender items from the dialog doesn't 
work correctly right now, I'm working on that.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852189
2008-08-25 13:55:26 +00:00
Aaron J. Seigo
9244760edb make this connectable outside of libplasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852177
2008-08-25 13:16:31 +00:00
Petri Damstén
6c2ca9a337 Don't move applets from old containment to the new one, since restore recreates them.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852160
2008-08-25 12:44:03 +00:00
Dirk Mueller
05a1658faa better return something
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852090
2008-08-25 10:27:53 +00:00
Marco Martin
3f3b9eddcc documentation and qproperties
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851721
2008-08-24 12:24:36 +00:00
Marco Martin
a4704a44fc #ifndef PLASMA_SCROLLBAR_H
wooops :)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851706
2008-08-24 11:55:39 +00:00
Petri Damstén
25435b35fb - use setContainment before restore so screen gets set correctly
- copy configuration from the old containment to a new one

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851622
2008-08-24 07:43:04 +00:00
Andreas Hartmetz
c15e001ff9 goldLinkAmd64++
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851546
2008-08-23 23:27:03 +00:00
Alex Merry
7d47005103 Hopefully fix bug 165051. It seems to be quite elusive, so I can't check whether it will for certain.
Clears the focus on the Corona before ~QGraphicsView runs.  See comment for more info.

BUG: 165051


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851511
2008-08-23 21:59:27 +00:00
Marco Martin
1a321f0df1 contentsRect() function, consistent with QGraphicsWidget::contentsRect()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851491
2008-08-23 20:36:09 +00:00
Alex Merry
053ba4f683 Use parenting.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851464
2008-08-23 17:47:50 +00:00
Alex Merry
61c4bc59b5 SVN_SILENT: looks neater
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851463
2008-08-23 17:44:14 +00:00
Alex Merry
9293cbaba6 memory leak--
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851461
2008-08-23 17:42:36 +00:00
Alex Merry
ffd9d8f796 SVN_SILENT:
Looks a little cleaner like this.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851458
2008-08-23 17:35:23 +00:00
Alex Merry
240e0b4309 QIcons are implictly shared. There's no need to pass pointers to them around and leak memory everywhere.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851452
2008-08-23 17:22:26 +00:00
Alex Merry
6f4ccf03c9 Use parenting where appropriate.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851451
2008-08-23 17:21:55 +00:00
Alex Merry
4e1a2de897 Fix memory leak.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851434
2008-08-23 16:37:04 +00:00
Alex Merry
1aec75e5e6 SVN_SILENT:
whitespace fixes


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851432
2008-08-23 16:27:52 +00:00
Alex Merry
15b36b0bfe SVN_SILENT:
Source files shouldn't be executable


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851428
2008-08-23 16:23:09 +00:00
Alex Merry
bfe6bd2906 Stack allocation is better than heap.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851427
2008-08-23 16:21:49 +00:00
Alex Merry
1edb8aab86 Clean up tooltips a little, and fix some memory leaks.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851425
2008-08-23 16:17:04 +00:00
Alex Merry
c6531619cf Unnecessary test
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851370
2008-08-23 15:37:47 +00:00
Alex Merry
4a3e5e97fa Whitespace and docs cleanup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851367
2008-08-23 15:35:10 +00:00
Marco Martin
0d8fbe145b ask for a repaint of the area that is scrolled
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851011
2008-08-22 18:38:50 +00:00