Commit Graph

616 Commits

Author SHA1 Message Date
David Faure
7f31106729 Move mimeData methods from KUrl::List to a new namespace KUrlMimeData.
Deprecate mimeData methods in KUrl::List and KUrl, port all of kdelibs
to KUrlMimeData.
2012-02-11 10:43:07 +01:00
David Faure
9057ce0c70 Fix compilation with the new cmake automoc stuff. 2012-02-08 23:34:07 +01:00
Stephen Kelly
51dafbe2e9 Use QUrl::scheme() instead of KUrl::protocol().
The former lowercases internally in Qt5, so no need
to rely on KUrl API.
2012-02-07 23:42:32 +01:00
Stephen Kelly
8d37df4b8f Remove moc includes that can be omitted.
Mostly these are "<name>.moc" style includes which are incorrect
compared to qmake and cmake automoc behaviour.
2012-01-31 22:44:36 +01:00
David Faure
c7ab521ee7 Merge remote-tracking branch 'origin/KDE/4.7' into origin-frameworks
Conflicts:
	experimental/libkactivities/
	plasma/applet.h
	plasma/theme.cpp
	staging/libkcoreaddons/src/jobs/kjob.cpp
2011-12-08 19:06:24 +01:00
Marco Martin
b332cfade6 clip children
prevent from desktop vigets going into the panel
2011-12-06 21:11:30 +01:00
Aaron Seigo
3c55a5489a Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
Conflicts:
	plasma/runnermanager.cpp
2011-11-22 12:56:16 +01:00
Aaron Seigo
2bcc53419e don't count custom panel contaiments (e.g. the grouping desktop) the same as a desktop containment
from the "useful things missing from bug reports" and "wondering wtf is wrong with people
while trying to get the useful bits out of a bug report" files ...

BUG:260360
2011-11-20 18:56:06 +01:00
Aaron Seigo
90b02f3973 massive step towards QGraphicsView being separated from libplasma
* remove extenders (never panned out, used by exactly two components that we can find .. anywhere)
* move animations to libplasmagqv
* schedule js anims to be put into the js scriptengine
* move all QGraphicsProxyWidgets, except for IconWidget which is still used by PopupApplet, into libplasmaqgv
* create a subclass-able private class for Applet

TODO: move out icon widget, address FIXMES in graphicswidgetappletprivate.cpp and decide how to register the "right" private class for instantiation in Applet ctors
2011-11-17 14:43:37 +01:00
David Faure
108536cb93 Port from KTemporaryFile to QTemporaryFile, and deprecate KTemporaryFile.
My merge request (qtbase/57) for the missing feature in QTemporaryFile
(naming the temp file after the application, to be able to sort out which
app is leaking temp files), has been merged, so we don't need KTemporaryFile
anymore.
2011-10-04 16:52:38 +02:00
David Faure
685bebaed9 Merge remote branch 'origin/KDE/4.7' into origin-frameworks
Conflicts:
	kdecore/tests/kservicetest.cpp
	plasma/framesvg.cpp
2011-09-28 17:44:59 +02:00
Aaron Seigo
dc07293b90 don't show configuration on failed applets 2011-09-22 22:43:16 +02:00
Aaron Seigo
82eee5c3b7 avoid compiling in debug strings when compiled without debug 2011-07-29 15:46:52 +02:00
Aaron Seigo
35898d57f1 get rid of all Class:load(..) methods, use PluginLoader directrly. --apiBloat; 2011-07-19 22:04:22 +02:00
Aaron Seigo
d010143b6f use PluginLoader directly for ContainmentActions 2011-07-19 21:40:57 +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
adde5d32d1 remove deprecaed toolBoxItem() 2011-05-28 00:42:22 +02:00
Aaron Seigo
9f3a67df08 Merge remote-tracking branch 'origin/master' into libplasma2 2011-05-28 00:34:50 +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
a4dbbf60ea remove some empty reimplemented methods 2011-05-28 00:33:12 +02:00
Aaron Seigo
4cc44f6a92 Merge remote-tracking branch 'origin/master' into libplasma2
Conflicts:
	plasma/package.cpp
2011-05-28 00:25:07 +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
23ee4d2f31 direct calls now that layoutContainments is virtual 2011-05-26 19:01:31 +02:00
Aaron Seigo
26a9c30d47 direct calls now that these are virtuals 2011-05-26 18:58:17 +02:00
Aaron Seigo
5717088b57 remove references to Context classes, activity stored by id 2011-05-20 09:41:19 +02:00
Aaron Seigo
cfdccb7968 addUrls becomes virtual, setUrls is dropped 2011-05-18 16:04:50 +02:00
Aaron Seigo
1040d71ad0 mimetype -> mimeType 2011-05-06 12:17:08 +02:00
Aaron Seigo
9b31c61d29 proper capitalization of MimeType 2011-05-06 12:12:47 +02:00
Aaron Seigo
bed4711fa9 remove an empty virtual method 2011-05-05 14:26:05 +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