Aaron Seigo
dc07293b90
don't show configuration on failed applets
2011-09-22 22:43:16 +02:00
Aaron Seigo
9f03a10b4d
call Applet::sceneEventFilter; otherwise applet handles are broken on Applets that are also Containments
...
BUG:277467
2011-07-19 09:38:44 +02:00
Aaron Seigo
c2cdb2bf8f
now that containment no longer installs event filters on the applets, no need to remove them either
2011-05-28 00:33:55 +02:00
Aaron Seigo
dd122bc011
move applet handle handling (*cough*) to applet instead of contaiment
...
much cleaner and eliminates the possibility of odd crashes
BUG:253421
2011-05-28 00:23:37 +02:00
Aaron Seigo
fe1a615cc4
make this even more painfully clear
2011-04-26 13:04:50 +02:00
Aaron Seigo
fbb50df067
ensure that the containment configChanged() routine always happens
2011-04-25 16:43:48 +02:00
Alex Fiestas
d09061f758
Add KAuthorize containment_context_menu into createToolBox
...
Having the posibility of avoid the context_menu while we're
allowing the cashew has no sense. So let's use the same action
to lockdown both.
2011-04-11 15:08:29 +02:00
Marco Martin
e385737203
remove eventfilters if type is no more Desktop
...
sceneeventfilters are used just for applet handles, that shouldn't exist in custom contaiments or panel containments
2011-02-25 22:34:53 +01:00
Aaron J. Seigo
56fc44f841
various cleanups
...
svn path=/trunk/KDE/kdelibs/; revision=1217825
2011-01-28 22:30:54 +00:00
Aaron J. Seigo
8c65e607b8
slight simplification :)
...
svn path=/trunk/KDE/kdelibs/; revision=1217341
2011-01-26 20:10:14 +00:00
Aaron J. Seigo
1cbd777478
if the current wallpaper plugin supports the mimetype being dropped, offer that; otherwise look for something new
...
svn path=/trunk/KDE/kdelibs/; revision=1217339
2011-01-26 20:09:18 +00:00
Aaron J. Seigo
f338cf6a16
use setUrls rather than emit the signal
...
svn path=/trunk/KDE/kdelibs/; revision=1217119
2011-01-25 20:52:33 +00:00
Marco Martin
71d8ad6a41
* Don't pass the event to the applet superclass if it has already been accepted
...
* in the paste plugin, accept mouse press events
BUG:262650
svn path=/trunk/KDE/kdelibs/; revision=1213457
2011-01-10 12:37:04 +00:00
Aaron J. Seigo
b221146758
SVN_SILENT: hush
...
svn path=/trunk/KDE/kdelibs/; revision=1209285
2010-12-26 10:44:28 +00:00
Marco Martin
3e57946f66
if the containment it's an offscreen widget, don't allow to claim a screen, after all it's *off*screen
...
fixes the switch to a dashboard with an independent widget set
svn path=/trunk/KDE/kdelibs/; revision=1207374
2010-12-17 18:01:44 +00:00
Giulio Camuffo
3534c4fc0e
look for the containment in the QObject hierarchy if it could not be find in the QGraphicsItem one. This is needed to
...
make the applet which are offscreen find their containment.
svn path=/trunk/KDE/kdelibs/; revision=1207068
2010-12-16 20:08:16 +00:00
Aaron J. Seigo
77cc19fa47
SVN_SILENT: ocd
...
svn path=/trunk/KDE/kdelibs/; revision=1203357
2010-12-03 18:24:00 +00:00
Aaron J. Seigo
3366e28e72
work around mouse plugins that return a single menu.
...
svn path=/trunk/KDE/kdelibs/; revision=1203343
2010-12-03 17:03:18 +00:00
Aaron J. Seigo
2b2fb47e20
clean up a bit
...
svn path=/trunk/KDE/kdelibs/; revision=1200096
2010-11-23 22:21:24 +00:00
Aaron J. Seigo
3d1e047e41
correct connection
...
svn path=/trunk/KDE/kdelibs/; revision=1198591
2010-11-19 04:00:09 +00:00
Aaron J. Seigo
c1f8c20bfd
don't take the value of a temporary
...
svn path=/trunk/KDE/kdelibs/; revision=1197047
2010-11-14 19:10:06 +00:00
Chani Armitage
31e2c5a0d4
shared containmentactions
...
svn path=/trunk/KDE/kdelibs/; revision=1195744
2010-11-11 22:22:39 +00:00
Kevin Ottens
d85c4cc7ff
Include cleanup.
...
Based on a patch by Marijn Kruisselbrink.
svn path=/trunk/KDE/kdelibs/; revision=1194730
2010-11-09 17:22:22 +00:00
Kevin Ottens
c09422cc8c
Remove deprecated symbols from the build (if KDE_NO_DEPRECATED is defined).
...
svn path=/trunk/KDE/kdelibs/; revision=1192863
2010-11-04 08:06:43 +00:00
Ivan Čukić
125193b9f1
prevent infinite recursion
...
svn path=/trunk/KDE/kdelibs/; revision=1190859
2010-10-29 08:25:57 +00:00
Aaron J. Seigo
8dcc569fba
implement a default configChanged() for Containment that reloads the wallpaper
...
svn path=/trunk/KDE/kdelibs/; revision=1185912
2010-10-14 15:46:05 +00:00
Kevin Ottens
c0f66faad7
Allow to build libplasma without KIO. Only issue is that the
...
copying/moving/removal of folders is defunct (so is the package
install/uninstall).
svn path=/trunk/KDE/kdelibs/; revision=1185865
2010-10-14 12:27:15 +00:00
Giulio Camuffo
37c3cf4d1c
do not do the appear animation when dropping an extender item
...
svn path=/trunk/KDE/kdelibs/; revision=1181208
2010-09-30 12:47:45 +00:00
Aaron J. Seigo
b5b4ea581a
allow setting a bogus desktop value on startup; prevents containments kept around due to desktops disappearing on us from becoming activity spawners
...
BUG:252264
svn path=/trunk/KDE/kdelibs/; revision=1179185
2010-09-24 19:03:45 +00:00
Aaron J. Seigo
f90ee4e28d
add the separator in a slightly more appropriate moment
...
svn path=/trunk/KDE/kdelibs/; revision=1173978
2010-09-11 00:48:15 +00:00
Aaron J. Seigo
23ebeb3bf6
* appletActions -> addAppletActions
...
* containmentActions -> addContainmentActions
* make both take an event for positioning purposes
* make prepareContainmentActions a more generic so that one code path for handling setting up a ContainmentActions plugin is used everywhere; this also shrinks addContainmentActions down to just being a permissions checker
* make PopupApplet use ContainmentPrive::addAppletActions directly; fewer code paths to track, as it allows removal of ContainmentPrivate::showApplContextMenu
svn path=/trunk/KDE/kdelibs/; revision=1173567
2010-09-09 18:37:28 +00:00
Aaron J. Seigo
d436911241
simplify/clarify the handling of context menu events; ensure it _always_ goes via the context menu event, and clean up the helper methods in the private class
...
svn path=/trunk/KDE/kdelibs/; revision=1173182
2010-09-08 21:51:22 +00:00
Aaron J. Seigo
5ef4d99a6b
always call the (virtual) contextMenuEvent
...
svn path=/trunk/KDE/kdelibs/; revision=1172750
2010-09-08 00:00:19 +00:00
Aaron J. Seigo
54e3837b10
now that handles are children of the applet, this shouldn't even be necessary
...
BUG:250137
svn path=/trunk/KDE/kdelibs/; revision=1171752
2010-09-05 00:33:35 +00:00
Aaron J. Seigo
f02786e31a
SVN_SILENT: ease giulio's pain in generate diffs
...
svn path=/trunk/KDE/kdelibs/; revision=1171395
2010-09-03 18:09:18 +00:00
Jaime Torres Amate
57bbfe755c
delete some uneeded if (pointer not null)
...
http://reviewboard.kde.org/r/5021/
svn path=/trunk/KDE/kdelibs/; revision=1167869
2010-08-25 14:48:41 +00:00
Marco Martin
72a06cdd14
The Desktop ToolBox and the Panel ToolBox becomes plugins, shipped with
...
Plasma-Desktop (so shells have to implement their own plugins or pick
one already installed)
Unfortunately, 3 virtuals were needed in AbstractToolBox
void restore(const KConfigGroup &group);
void save(const KConfigGroup &group);
void reposition();
since this is not possible for obvious BC reasons, they are "faked" with
slots, not really nice butthe most painless way.
There shouldn't be significant regressions, but wise to keep an eye on
it in the immediate future
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=1157537
2010-07-31 13:02:07 +00:00
Aaron J. Seigo
6dfeeb5fe9
uncessary to call it here; restore takes care of this
...
svn path=/trunk/KDE/kdelibs/; revision=1152622
2010-07-21 15:58:25 +00:00
Aaron J. Seigo
836e012dd4
set the target widget, and reverse the flow of the animation (temporary workaround for 4.5 release)
...
svn path=/trunk/KDE/kdelibs/; revision=1148348
2010-07-10 10:49:34 +00:00
Aaron J. Seigo
bf60c264ac
restore; usually not needed as this path is usually for new applets (and so the values won't do anything) but can also be used for applets created elsewhere; will be useful for the kpart work
...
svn path=/trunk/KDE/kdelibs/; revision=1141866
2010-06-23 17:50:16 +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
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
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
Chani Armitage
fcd713f149
don't emit nonsense :)
...
svn path=/trunk/KDE/kdelibs/; revision=1128641
2010-05-19 20:11:37 +00:00
Aaron J. Seigo
7c64c65251
ensure we don't multiply connect
...
svn path=/trunk/KDE/kdelibs/; revision=1128635
2010-05-19 20:02:10 +00:00
Chani Armitage
3a10a5c507
added lastScreen and lastDesktop, to remember where things belong
...
svn path=/trunk/KDE/kdelibs/; revision=1128358
2010-05-19 02:43:07 +00:00
Aaron J. Seigo
5247459859
SVN_SILENT: ws
...
svn path=/trunk/KDE/kdelibs/; revision=1126401
2010-05-13 21:48:13 +00:00
Chani Armitage
5d68a5bc56
don't save containment stuff if you're not a containment
...
svn path=/trunk/KDE/kdelibs/; revision=1126393
2010-05-13 21:40:02 +00:00
Chani Armitage
67180894e9
write the activity ID on save.
...
svn path=/trunk/KDE/kdelibs/; revision=1126391
2010-05-13 21:39:45 +00:00