Commit Graph

6114 Commits

Author SHA1 Message Date
Marco Martin
c2d8eee98a save the last size for formfactor, helps when the applet changes containment and back again
BUG:241857

svn path=/trunk/KDE/kdelibs/; revision=1138648
2010-06-16 12:26:23 +00:00
Aaron J. Seigo
404981d52b the app is no longer "plasma" and we have several of them, so fix this matching
svn path=/trunk/KDE/kdelibs/; revision=1138352
2010-06-15 20:08:46 +00:00
Aaron J. Seigo
5df21d2137 provide a short-circuit path for checking the js anims so we don't check over and over again
svn path=/trunk/KDE/kdelibs/; revision=1138329
2010-06-15 18:02:44 +00:00
Script Kiddy
3e4c38bbf4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1138157
2010-06-15 08:45:03 +00:00
Marco Martin
6f8d808068 event->button() is usually empty, do drags only with the left buttons (and find the down position with that too) instead
BUG:198814

svn path=/trunk/KDE/kdelibs/; revision=1137301
2010-06-12 09:51:42 +00:00
Marco Martin
c77396e412 update the return to source button visibility based on the hostapplet immutability rather than sourceapplet, works also if not all containments have the same immutability (netbook)
BUG:235949

svn path=/trunk/KDE/kdelibs/; revision=1137192
2010-06-11 22:02:54 +00:00
Marco Martin
b959b74d36 this animtion is a slide, is not an absolute position target
svn path=/trunk/KDE/kdelibs/; revision=1137131
2010-06-11 18:38:58 +00:00
Aaron J. Seigo
e07a9c88bb if we don't have a PlasmaView, then ask QDesktopWidget which screen it thinks we are tipping on
BUG:241278

svn path=/trunk/KDE/kdelibs/; revision=1137109
2010-06-11 17:20:29 +00:00
Aaron J. Seigo
6300946727 cleanup
svn path=/trunk/KDE/kdelibs/; revision=1137108
2010-06-11 17:18:34 +00:00
Aaron J. Seigo
0b877bdbb8 unused
svn path=/trunk/KDE/kdelibs/; revision=1137107
2010-06-11 17:18:06 +00:00
Marco Martin
6e51a2bc2e fix text cutting here too
BUG:241330

svn path=/trunk/KDE/kdelibs/; revision=1136835
2010-06-10 21:42:26 +00:00
Aaron J. Seigo
94bcb2a621 access the member directly
svn path=/trunk/KDE/kdelibs/; revision=1136832
2010-06-10 21:32:10 +00:00
Sebastian Kügler
daf79ebe98 fix signal / slot
svn path=/trunk/KDE/kdelibs/; revision=1136817
2010-06-10 20:38:36 +00:00
Aaron J. Seigo
1cca6c7d02 foreach takes a copy, use a mutable iterator. prevents crashes. also make a few more sanity checks in places to be ++sure about the health when executing those methods.
BUG:235851
BUG:240996

svn path=/trunk/KDE/kdelibs/; revision=1136808
2010-06-10 20:10:49 +00:00
André Wöbbeking
6ef91dbdce -pedantic
svn path=/trunk/KDE/kdelibs/; revision=1136805
2010-06-10 19:57:01 +00:00
Andreas Hartmetz
c7b2aa9134 Compile, and use the usual spacing between operators
svn path=/trunk/KDE/kdelibs/; revision=1136794
2010-06-10 19:05:16 +00:00
Nicolas Lécureuil
c40ea8e691 Fix pushbutton text
BUG: 192988

svn path=/trunk/KDE/kdelibs/; revision=1136786
2010-06-10 18:05:00 +00:00
Aaron J. Seigo
35e856e4de set the cursor explicitly on the buttons so that we don't get a hand over the buttons, only over teh draggable bits
svn path=/trunk/KDE/kdelibs/; revision=1136780
2010-06-10 17:46:08 +00:00
Aaron J. Seigo
4c3f1104b3 when initializing the applets, restore from config, then init, then flush the containment's constraints, then flush the applet's constraints. ensures that constraint events always happen after both restoration and initialization of the applet
BUG:241298

svn path=/trunk/KDE/kdelibs/; revision=1136767
2010-06-10 17:07:50 +00:00
Aaron J. Seigo
fd535c68e1 pass on the screen constraint to applets when changing the screen of a containment. thanks to Sebas for figuring out what was triggering it (lack of constraints events being passed on)
BUGS:201247,233054

svn path=/trunk/KDE/kdelibs/; revision=1136747
2010-06-10 16:30:54 +00:00
Aaron J. Seigo
c0c3ccabe3 set the last screen/desktop even in the panel case
svn path=/trunk/KDE/kdelibs/; revision=1136743
2010-06-10 16:22:36 +00:00
Aaron J. Seigo
f7c28b7ebb differentiate loadLayout from importLayout by making loadLayout set what the configuration file to use is while import simply brings the data from the config file in without changing the target config file to save to for the corona. open vs import, iow.
svn path=/trunk/KDE/kdelibs/; revision=1136734
2010-06-10 15:59:53 +00:00
Aaron J. Seigo
81ac415af6 don't pay the penalty of checking through the collection when we removed it ourselves; use the iterator we already have when erasing on container deletion instead of making the hash do another lookup based on key
svn path=/trunk/KDE/kdelibs/; revision=1136422
2010-06-09 19:09:13 +00:00
Laurent Montel
ec543102a2 Fix iterator
svn path=/trunk/KDE/kdelibs/; revision=1136417
2010-06-09 18:41:23 +00:00
Marco Martin
3e3fd09aab clean up from the sources if somebody deletes a DataContainer
BUG:235881

svn path=/trunk/KDE/kdelibs/; revision=1136398
2010-06-09 18:04:28 +00:00
Marco Martin
85d9343669 add a toolBoxOpen getter to complete the property
svn path=/trunk/KDE/kdelibs/; revision=1136303
2010-06-09 13:18:04 +00:00
Aaron J. Seigo
118e9c8394 revert this commit, it breaks the dataengine usge pattern and introduces memory leaks (which can be worked around, but at a cpu penalty for the common case)
svn path=/trunk/KDE/kdelibs/; revision=1136118
2010-06-09 01:17:16 +00:00
Aaron J. Seigo
7ef4c10667 SVN_SILENT: ws
svn path=/trunk/KDE/kdelibs/; revision=1136117
2010-06-09 01:16:45 +00:00
Aaron J. Seigo
2b262cc1bf don't need to check for deletion
svn path=/trunk/KDE/kdelibs/; revision=1136116
2010-06-09 01:16:12 +00:00
Beat Wolf
8d20822a09 small doc update reflecting a past commit
svn path=/trunk/KDE/kdelibs/; revision=1136034
2010-06-08 18:35:41 +00:00
Marco Martin
a5dc1e58fd correctly resize the svg element
svn path=/trunk/KDE/kdelibs/; revision=1136012
2010-06-08 17:16:01 +00:00
Marco Martin
6191e5c9ee show only a wrench icon as configuration button when in panel (and it's not a popupappllet)
BUG:240963

svn path=/trunk/KDE/kdelibs/; revision=1136000
2010-06-08 16:20:15 +00:00
Marco Martin
5b2983c17e animate from the current value, not from 0
BUG:231292

svn path=/trunk/KDE/kdelibs/; revision=1135492
2010-06-07 12:50:06 +00:00
Shaun Reich
b1b93f5047 be more explicit in docs, on when/how to delete services
svn path=/trunk/KDE/kdelibs/; revision=1135278
2010-06-07 02:54:57 +00:00
Aaron J. Seigo
1f216930ce quiet up some debug that isn't really needed and only gives people concern :)
svn path=/trunk/KDE/kdelibs/; revision=1134913
2010-06-05 17:35:12 +00:00
John Layt
fb07bcab0a Don't throw away multiple values per key when doing deep copy.
See http://reviewboard.kde.org/r/4235/


svn path=/trunk/KDE/kdelibs/; revision=1134838
2010-06-05 13:09:48 +00:00
Script Kiddy
8c604eb73b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1134733
2010-06-05 06:22:14 +00:00
Aaron J. Seigo
1f0ecedca3 put all the applet restore/init code in one place so that the order of ops is more obvious when debugging
svn path=/trunk/KDE/kdelibs/; revision=1134668
2010-06-04 21:36:28 +00:00
Aaron J. Seigo
1d23580ea7 a binary slipped into kdelibs/plasma; move it to kdebase/runtime/
svn path=/trunk/KDE/kdelibs/; revision=1134613
2010-06-04 17:58:38 +00:00
Aaron J. Seigo
9d3ea73544 move the applet service .desktop file into its own dir; it isn't a servicetype
svn path=/trunk/KDE/kdelibs/; revision=1134608
2010-06-04 17:44:54 +00:00
Aaron J. Seigo
d6e1845d3e use the previously undocument (and not working) in-memory-only KConfig mode
svn path=/trunk/KDE/kdelibs/; revision=1134604
2010-06-04 17:28:07 +00:00
Aaron J. Seigo
89efdef96c bounds checks
BUG:240724

svn path=/trunk/KDE/kdelibs/; revision=1134602
2010-06-04 17:20:57 +00:00
Marco Martin
2729b466df extender items can't return to source if the desktop is locked
BUG:215230

svn path=/trunk/KDE/kdelibs/; revision=1134489
2010-06-04 12:40:34 +00:00
Aaron J. Seigo
637555e477 a bit redundant, really
svn path=/trunk/KDE/kdelibs/; revision=1134325
2010-06-03 22:08:18 +00:00
Marco Martin
935e4cb57c don't draw the background if the state is not hover or pressed
BUG:240570

svn path=/trunk/KDE/kdelibs/; revision=1134320
2010-06-03 22:04:55 +00:00
Marco Martin
7aa44c8d93 this return is wrong
svn path=/trunk/KDE/kdelibs/; revision=1134141
2010-06-03 14:16:03 +00:00
Marco Martin
13113abbf4 check alpha channels too
svn path=/trunk/KDE/kdelibs/; revision=1133527
2010-06-01 21:58:05 +00:00
Marco Martin
35537630f6 repaint the pixmaps even if they are the same size, but one hasn't alpha channel
svn path=/trunk/KDE/kdelibs/; revision=1133522
2010-06-01 21:41:59 +00:00
Marco Martin
76ead449e5 repaint the pixmap over transparency if it doesn't have an alpha cannel
svn path=/trunk/KDE/kdelibs/; revision=1133517
2010-06-01 21:21:15 +00:00
Aaron J. Seigo
bbc72390b9 only capture the left clicks
CCBUG:240215

svn path=/trunk/KDE/kdelibs/; revision=1133494
2010-06-01 20:42:24 +00:00