Commit Graph

6101 Commits

Author SHA1 Message Date
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
Aaron J. Seigo
ff45696e8b if we have a popup associated with our icon, show it
BUG:240265

svn path=/trunk/KDE/kdelibs/; revision=1133021
2010-05-31 22:42:51 +00:00
Script Kiddy
307ccdd39b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1132277
2010-05-30 06:53:30 +00:00
Marco Martin
fac1870bc2 is the dialog that we are sure i doesn't exist when the popupapplet is expanded, not the icon.
this unscrews size hints (and therefore unscrews the newspaper containment too)

svn path=/trunk/KDE/kdelibs/; revision=1132102
2010-05-29 18:20:01 +00:00
Script Kiddy
1c3a928ee8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1131895
2010-05-29 06:54:59 +00:00
Script Kiddy
dea517afa8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1131891
2010-05-29 06:53:39 +00:00
Marco Martin
d386d44a1b commit this piece too
svn path=/trunk/KDE/kdelibs/; revision=1131710
2010-05-28 19:02:15 +00:00
Marco Martin
4d23421690 don't try to update the labels when the extender is in its destructor
crash--

svn path=/trunk/KDE/kdelibs/; revision=1131699
2010-05-28 18:12:13 +00:00
Marco Martin
f99d57fdc1 support drag in vertical tabbars
BUG:239020

svn path=/trunk/KDE/kdelibs/; revision=1131253
2010-05-27 20:30:05 +00:00
Marco Martin
b8893a8044 too much classes clobbers with the Extender's private, protect d->applet behind a QWeakPointer
BUG:195369
BUG:232408
CCBUG:233563
BUG:239022

svn path=/trunk/KDE/kdelibs/; revision=1131248
2010-05-27 19:59:15 +00:00
Chani Armitage
653fdbbfb6 allow setting an empty id
(activities are allowed to divorce their containments)

svn path=/trunk/KDE/kdelibs/; revision=1131003
2010-05-26 23:59:45 +00:00
Aaron J. Seigo
ac465edd15 ws fix
svn path=/trunk/KDE/kdelibs/; revision=1130848
2010-05-26 16:02:18 +00:00
Aaron J. Seigo
0f956bc95e make this painfully clear
svn path=/trunk/KDE/kdelibs/; revision=1130847
2010-05-26 15:58:56 +00:00
Ignat Semenov
b006cfd82a Do not show the defaut button as it does not work yet
svn path=/trunk/KDE/kdelibs/; revision=1130741
2010-05-26 07:55:37 +00:00