Commit Graph

765 Commits

Author SHA1 Message Date
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
bdf1f5c2dc Merge remote-tracking branch 'origin/KDE/4.7' into origin-frameworks
Conflicts:
	tier1/libkcoreaddons/src/io/kdirwatch.cpp
2011-11-16 14:44:08 +01:00
Aaron Seigo
67651e12bb git rid of the shortcuts dialog on reduced functionality builds 2011-11-14 21:20:18 +01:00
David Faure
e2d14f15d1 Merge remote branch 'origin/KDE/4.7' into origin-frameworks
Conflicts:
	kdeui/kernel/kglobalsettings.cpp
	plasma/CMakeLists.txt
2011-11-03 20:40:26 +01:00
Aaron Seigo
f38425761a a missing include 2011-11-03 12:15:52 +01:00
Aaron Seigo
9a4825380f improve loading of system kcms
* don't use libkutils on reduced footprint profile builds
* load the kcms even if there isn't a configLoader for the package
2011-11-02 17:24:25 +01:00
Marco Martin
02eeddf931 correct type dekstop->desktop
please test before committing ;)
CCMAIL:viranch.mehta@gmail.com
2011-11-01 20:33:13 +01:00
Viranch Mehta
6c19c0b3c4 Aaron's patch for loading system KCMs in scripted plasmoids config dialog by specifying them in the plasmoid's .desktop file 2011-10-31 22:24:39 +05:30
Aaron Seigo
ca320eb0d4 clarity in variable naming 2011-08-17 13:12:45 +02:00
Aaron Seigo
82eee5c3b7 avoid compiling in debug strings when compiled without debug 2011-07-29 15:46:52 +02:00
Aaron Seigo
bd10c7175e Merge remote-tracking branch 'origin/master' into libplasma2
Conflicts:
	plasma/containment.cpp
	plasma/package.cpp
	plasma/packagestructure.cpp
	plasma/private/package_p.h
	plasma/scripting/scriptengine.cpp
2011-07-21 15:31:07 +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
e40bb1bcdd adapt to changes in PackageStructure api 2011-07-19 21:53:03 +02:00
Aaron Seigo
3fc19683fa remove the event filter if we're a containment, don't return too early from the filter 2011-07-19 09:39:01 +02:00
Aaron Seigo
d65132f92f don't remove the applet itself from the scenevent filter when deregistering as a drag handle
the event filter is also used for things like the applet handle
2011-07-19 09:39:01 +02:00
Aaron Seigo
b35d410deb remove the event filter if we're a containment, don't return too early from the filter 2011-07-19 09:38:44 +02:00
Aaron Seigo
239b5a5d10 don't remove the applet itself from the scenevent filter when deregistering as a drag handle
the event filter is also used for things like the applet handle
2011-07-19 09:38:44 +02:00
Aaron Seigo
4b3b687088 no longer provide access to the package from the class, let Package do that; adapt to Package merge 2011-07-15 12:59:51 +02:00
Aaron Seigo
db0e72bf77 don't use Package for isPublished 2011-07-13 20:07:19 +02:00
Aaron Seigo
53085973b3 don't use Package for unpublishing 2011-07-13 20:05:56 +02:00
Aaron Seigo
d83433557e stop relying on Package for Plasmoid publishing help 2011-07-13 20:04:13 +02:00
Aaron Seigo
bf17cc308a move BackgroundHints to Plasma::, make it a plain enum 2011-06-24 16:35:09 +02:00
Aaron Seigo
49e64279f3 remove this no-longer-relevant FIXME 2011-06-03 11:16:51 +02:00
Aaron Seigo
c19238fdab much more straightforward way of publishing 2011-05-31 01:02:08 +02:00
Aaron Seigo
acbe5b960e const consistency in setupScript 2011-05-31 00:12:57 +02:00
Aaron Seigo
2b771e41ed remove another usage of PackageMetadata 2011-05-31 00:06:12 +02:00
Aaron Seigo
b01348aa84 rely on AppletPrivate::remoteLocation (removing the need for PackageMetadata) and make it a proper KUrl 2011-05-31 00:04:03 +02:00
Aaron Seigo
cd32321b68 Merge branch 'libplasma2_signedpackages' into libplasma2
Conflicts:
	plasma/package.cpp
2011-05-30 23:41:53 +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
0043de0ae9 remove references to Context 2011-05-20 09:21:36 +02:00
Aaron Seigo
d7e13e62ae remove geometryChanged, it's in QGraphicsWidget these days 2011-05-20 08:53:53 +02:00
Aaron Seigo
9b31c61d29 proper capitalization of MimeType 2011-05-06 12:12:47 +02:00
Aaron Seigo
8a41ab7051 comment not accurate afaict 2011-05-06 12:02:46 +02:00
Aaron Seigo
d76ceec0ca remove another unimplemented virtual 2011-05-05 14:27:34 +02:00
Aaron Seigo
9cdbf422ff consolidate remoting files, add signing gsoc 2011-04-29 15:18:35 +02:00
Artur Duque de Souza
97b37637fa Export icon information to package metadata for remote service
Get the original package metadata's icon and inject this information
into the package metadata that is going to be sent to the remote targets.

This way we are able to use the icon in several UIs which makes things
more beautiful ;)

CCMAIL:ervin@kde.org
Signed-off-by: Artur Duque de Souza <asouza@kde.org>
2011-04-28 18:52:34 -03:00
Aaron Seigo
fbb50df067 ensure that the containment configChanged() routine always happens 2011-04-25 16:43:48 +02:00
Aaron Seigo
175d9961ff cache formFactor(), simplify the min size check branch 2011-03-28 10:06:53 +02:00
Marco Martin
beb1f9b6cf use pointers instead of string comparison
use pointers instead of string comparison to figure out what button was pressed
2011-02-09 20:35:15 +01:00
Marco Martin
ab8ec8f17a correct the text used to fugure out the button
button have text like &Ok &Yes
This way to detect what button was pressed of course is horrible and will have to be changed
CCBUG:265738
2011-02-09 19:20:16 +01:00
Marco Martin
11d3b789a4 emit cancel signal
both when clicking cancel and pressing esc
CCBUG:265738
2011-02-09 00:11:25 +01:00
Marco Martin
e193b7eab0 pass clicks trough the busy spinner 2011-02-07 10:49:44 +01:00
Aaron Seigo
318119ef46 remove some well dead code 2011-02-01 10:07:05 -08:00
Aaron Seigo
81c7addc40 a small hack to give us the enabled button 2011-02-01 00:52:07 -08:00
Aaron J. Seigo
ae4f0579b9 only check the config for immutability if we actually have it; immutability() gets called from setHasConfigurationInterface which gets called from AppletPrivate::init() which meant it was trying to access the configuration group too early, resulting in it being misplaced; for most applets this wouldn't matter, but for applets-in-applets (it's always the sinners) it causes problems
BUG:261264

svn path=/trunk/KDE/kdelibs/; revision=1209283
2010-12-26 10:42:57 +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
Marco Martin
c8f2e0cc8e don't completely steal the filtered event, still pass to the drag handle
svn path=/trunk/KDE/kdelibs/; revision=1203605
2010-12-04 20:58:52 +00:00
Giulio Camuffo
ccb599572e use QGraphicsScene::sendEvent instead of simply calling the event handler. this allow the containments to have more
control on the moving of the applets installing event filters on them and fixes the moving of the applet Icon in some 
containments

svn path=/trunk/KDE/kdelibs/; revision=1202445
2010-11-30 22:20:34 +00:00