Aaron Seigo
f5cc98dc8a
make all containment delayed init
...
allows us to remove another method from the public API
2012-12-20 10:48:33 +01:00
Marco Martin
50cf107730
remove qgraphics include
2012-11-08 18:35:03 +01:00
Marco Martin
fde2925c34
replace some qgraphics events with normal ones
2012-11-08 18:34:08 +01:00
Marco Martin
16ee068aba
coronabase becomes corona
...
correctly build all files currently included in libplasma (some will
have to be enabled again)
2012-11-08 18:23:36 +01:00
Marco Martin
64fde089f2
correctly build applet and containment
2012-11-08 18:23:28 +01:00
Marco Martin
7c959ff917
operations completely delegated to coronabase
2012-02-28 20:40:28 +01:00
Stephen Kelly
b1b68adb7d
Don't use the QtGui module name in includes.
...
In Qt5, many of them are moved to QtWidgets, so this is the only
way to be source compatible with both Qt 4 and Qt 5.
2012-02-02 10:35:53 +01:00
David Faure
809bbd7b14
Merge remote-tracking branch 'origin/KDE/4.8' into origin-frameworks
...
Conflicts:
CMakeLists.txt
plasma/corona.h
plasma/data/services/plasma-applet-extenderapplet.desktop
plasma/data/servicetypes/plasma-packagestructure.desktop
2011-12-22 19:53:10 +01:00
Aaron Seigo
e54737c040
promote to public API from protected; needed by desktop scripting
2011-12-22 13:32:51 +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
Aaron Seigo
a665c17a6c
remove some api duplication
2011-07-30 20:05:46 +02:00
Aaron Seigo
05834d8144
Merge remote-tracking branch 'origin/master' into libplasma2
...
Conflicts:
plasma/CMakeLists.txt
plasma/abstractrunner.h
plasma/animator.h
plasma/glapplet.h
plasma/package.h
plasma/packagemetadata.h
plasma/packagestructure.h
plasma/tooltipcontent.cpp
plasma/tooltipcontent.h
plasma/wallpaper.h
2011-07-11 21:56:41 +02:00
Frederik Schwarzer
5c0d0e8e8e
Replace doxygen tag @arg by @param.
...
The @param doxygen tag is formatted way nicer and should be used
throughout our apidox.
REVIEW: 101596
2011-06-13 14:47:29 +02:00
Aaron Seigo
38004e0f9c
remove deprecated version of loadLayout
2011-05-27 12:07:12 +02:00
Aaron Seigo
9bc518295c
make layoutContainments virtual
2011-05-26 19:01:21 +02:00
Aaron Seigo
e834795263
remove some empty overloads
2011-05-26 16:42:41 +02:00
Aaron J. Seigo
cd4e26f59f
FEATURE: configurable default containment plugin name
...
svn path=/trunk/KDE/kdelibs/; revision=1213879
2011-01-12 00:05:13 +00:00
Aaron J. Seigo
9f854b8380
pluging location or loading failure can also cause null returns
...
svn path=/trunk/KDE/kdelibs/; revision=1210956
2011-01-02 19:07:35 +00:00
Shaun Reich
ebe6937516
clarify containment docs a bit, so nobody runs into an issue like mine, especially since it never used to return 0(bug).
...
svn path=/trunk/KDE/kdelibs/; revision=1210954
2011-01-02 19:05:20 +00:00
Aaron J. Seigo
c21986f62d
provide a containmentForScreen implementation that allows adding containments for screens / desktop affinities even in spite of immutabilities
...
svn path=/trunk/KDE/kdelibs/; revision=1198498
2010-11-18 17:17:56 +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
Chani Armitage
25d9f45583
exportLayout function to go with importLayout
...
also, deprecated the old importLayout in favour of one that only accepts
kconfiggroup.
CCBUG: 248386
svn path=/trunk/KDE/kdelibs/; revision=1180338
2010-09-27 18:16:43 +00:00
Marco Martin
02faf90355
new property:
...
preferredToolBoxPlugin(Containment::Type)
used to decide what toolbox plugin dynamically load, only corona
implementations can decide this.
api review anyone? ;)
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=1157190
2010-07-30 12:46:22 +00:00
Giulio Camuffo
2a46966c22
don't call restore() two times when swapping the containment
...
svn path=/trunk/KDE/kdelibs/; revision=1153214
2010-07-22 20:06:06 +00:00
Aaron J. Seigo
bdf9ddee65
split out the loadLayout into a load and an import. works well for importing the default layout, next to test it out against exported layouts to ensure the merging does indeed work
...
svn path=/trunk/KDE/kdelibs/; revision=1126706
2010-05-14 17:00:54 +00:00
Aaron J. Seigo
a8008999c6
allow mapping of animations by the app corona; useful for mapping things like the appear/disappear animations
...
svn path=/trunk/KDE/kdelibs/; revision=1120239
2010-04-28 17:39:44 +00:00
Marco Martin
2466bbd960
AbstractDialogManager: will needed for shells to radically change the applets config dialogs (and possibly other dialogs) look and feel
...
svn path=/trunk/KDE/kdelibs/; revision=1110584
2010-04-03 19:10:32 +00:00
Artur Duque de Souza
060bf4148f
Let corona layout the containments
...
Now corona will layout it's containments instead of letting
them do this task. This was created as a slot so we could preserve
BC. Subclasses of Plasma::Corona must be sure to skip containments
of Panel type during layouting if they wish to reimplement it to
have their own layout.
If subclasses doesn't care about it, just leave it alone and
everything will work just as before. :)
Reviewed-by: aseigo, notmart
svn path=/trunk/KDE/kdelibs/; revision=1095549
2010-02-24 14:24:52 +00:00
Chani Armitage
cfd8409432
make a class to hold a map of default containmentactions plugins
...
svn path=/trunk/KDE/kdelibs/; revision=1031735
2009-10-05 20:50:57 +00:00
Michał Dutkiewicz
4d051d8f86
Added possibility to set pop up (menu, dialog or other widgets) alignment to left, center or right
...
Translate left and right alignment for vertical form factors
Swap right and left alignment in case of RTL layout
Use center alignment for tool tips
svn path=/trunk/KDE/kdelibs/; revision=1028983
2009-09-28 17:28:17 +00:00
Chani Armitage
233e220ad9
safer way of creating actions, according to mjansen
...
svn path=/trunk/KDE/kdelibs/; revision=963095
2009-05-03 22:13:05 +00:00
Chani Armitage
c756fd29c4
configurable keyboard shortcuts
...
svn path=/trunk/KDE/kdelibs/; revision=963051
2009-05-03 20:22:14 +00:00
Marco Martin
875688e040
make corona's offscreenwidgets list accessible, don't reposition
...
containments that are in offscreen widgets
svn path=/trunk/KDE/kdelibs/; revision=950841
2009-04-07 21:22:18 +00:00
Chani Armitage
f406ed1d77
stuff that lets me move "add activity" to plasmaapp:
...
-added enableAction function to corona for convenience
-added immutabilityChanged signal so that plasmaapp can respond to lock/unlock
-removed "add activity" action from containment because it's on its way to plasmaapp
-stopped adding corona actions to the containment toolbox, plasmaapp can do a better job of it
-made lock action actually disable on SystemImmutable; sure it wouldn't have worked, but now there's no worries about it showing up in the UI
svn path=/trunk/KDE/kdelibs/; revision=938383
2009-03-11 18:37:12 +00:00
Chani Armitage
aa34398a80
give corona its own action collection.
...
this is a place for things which shouldn't be duplicated over every single containment, like "lock" and "new activity".
for now we still add the lock action to every containment, so that none of the code lower down notices the change - but we only have one action behind it all :)
svn path=/trunk/KDE/kdelibs/; revision=937923
2009-03-10 19:52:50 +00:00
Alex Merry
9c1570f13e
apidocs fixes.
...
Remember to document ALL parameters to methods. They may seem obvious to you, but I had to look at the code for at least two of the methods in order to document their parameters correctly.
*waves stick of EBN-ness*
svn path=/trunk/KDE/kdelibs/; revision=908604
2009-01-10 00:08:31 +00:00
Urs Wolfer
f320d2e700
* typos--
...
* optimize QString operations
* fix include guard
svn path=/trunk/KDE/kdelibs/; revision=899600
2008-12-21 11:56:01 +00:00
Alessandro Diaferia
3716f6713a
a useful method to retrieve free edges on the screen
...
svn path=/trunk/KDE/kdelibs/; revision=899574
2008-12-21 10:23:45 +00:00
Aaron J. Seigo
c8621101c1
allow for immediate syncs to be required
...
svn path=/trunk/KDE/kdelibs/; revision=898745
2008-12-18 22:12:49 +00:00
Aaron J. Seigo
160e70ccd0
add proper support for virtual desktops, which really requires more than just the View being aware of it; given the default parameters, it's a detail most plasma based apps can ignore (just like screens in general, actually =)
...
svn path=/trunk/KDE/kdelibs/; revision=885330
2008-11-17 04:34:55 +00:00
Aaron J. Seigo
95b97b2a62
provide this signal as well, as it was the only desktopy thing still be relied on that Corona didn't provide
...
svn path=/trunk/KDE/kdelibs/; revision=881720
2008-11-08 21:05:09 +00:00
David Faure
becefa7334
aseigo should use -pedantic :)
...
svn path=/trunk/KDE/kdelibs/; revision=880883
2008-11-06 18:58:15 +00:00
Aaron J. Seigo
0ebbab0cc1
track QGraphicsWidgets in the offscreen layout as they get deleted; prevents a crash in the layout. QGraphicsLayout really ought to track this on its own, but it doesn't (problem is known upstream), so we work around it here.
...
thanks to asraniel for tracking down the culprit..
BUG:174411
svn path=/trunk/KDE/kdelibs/; revision=880873
2008-11-06 18:21:10 +00:00
Aaron J. Seigo
1b523b9054
ok, this time JUST the plasma dir ;)
...
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9
bum-de-dum! plasma to kdelibs.
...
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Guillaume Pothier
bd7e7b10c9
Added screen management methods to Corona and removed usage of QDesktopWidget in plasmalibs.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877451
2008-10-29 15:22:38 +00:00
Allen Winter
e88e2faa63
first batch of small coding style fixes.
...
these were found while testing the Krazy style checker, which I'm adapting
for the kdelibs style.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870051
2008-10-11 16:19:04 +00:00
Frederik Schwarzer
ee8d547da8
let me introduce: typo of the year "the the"
...
mostly seen as
"the the" -> "the"
"the the" -> "to the"
and in its best case
"a the the" -> "" :)
svn path=/trunk/KDE/kdelibs/; revision=864814
2008-09-25 15:05:22 +00:00
Alex Merry
e293d7d785
Specify includes in apidocs, so we get
...
#include <Plasma/Foo>
at the top of the apidocs pages.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Richard Dale
dc878d9033
* Make the multiple inclusion header guard macros all start with PLASMA_
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842922
2008-08-06 09:19:29 +00:00