Marco Martin
7e3b2ae8af
move the applet configScheme to the new group
...
after migration
2014-04-10 20:41:34 +02:00
Marco Martin
10f0dc51b9
don't emit activate on reactToScreenChange
...
this makes the delete dialog *not* freeze palsma
2014-04-08 19:47:50 +02:00
Marco Martin
e27a2512af
make :screen() not crash if is child of an applet
2014-02-21 11:13:14 +01:00
Marco Martin
50a584d0bc
rename Applet::activate() with Applet::activated()
...
activate() is a name that suggests a slot more than a signal
2014-02-14 14:40:53 +01:00
David Edmundson
f5618db949
Remove unused property drawWallpaper
...
As suggested here: http://community.kde.org/Plasma/libplasma2/API_Review/Containment
kde-workspace doesn't use it.
REVIEW: 115224
2014-01-30 15:34:45 +01:00
Marco Martin
35b43f097e
remove some references to graphicsitems
2013-12-24 12:35:24 +01:00
David Edmundson
a26913ccac
Move screen management logic in ShellCorona
...
Previously shells, activities, shellcorona and corona all tried to
manage
which screen a containment was on.
This version moves all screen management into ShellCorona so we have a
central place for keeping tracking of containments, activities and
screens.
2013-12-16 15:30:13 +01:00
David Edmundson
ef58fdbf6f
Remove Applet::Private::isContainment
...
Instead determine by introspecting if this inherits from Containment
REVIEW: 114405
2013-12-11 15:50:48 +01:00
Marco Martin
800e5ec91c
use the ctivity class and Kactivities
...
just building, issues with linking with kactivities, not used yet
2013-10-16 21:01:39 +02:00
Marco Martin
4767f3a8d0
emit appletadded only when manually added
...
when the containment's component.oncompleted is hitted, the applet list is guaranteed to be completely correctly restored from config
we may want to support both cases in the future to make writing containment easier
2013-09-20 18:18:46 +02:00
Sebastian Kügler
2817591bee
kcoreauthorized.h -> kauthorized.h
2013-09-16 16:16:52 +02:00
Marco Martin
bfbeae9969
propagate containmentTypeChanged
2013-09-10 12:43:25 +02:00
Marco Martin
6bbc8cb420
propagate drawWallpaperChanged
2013-09-10 12:38:41 +02:00
Marco Martin
9a9ac9f9e5
containment actions config ui fully working
2013-08-26 21:22:06 +02:00
Marco Martin
0a3eae6806
correctly show configuration ui
...
but kded5 goes berserk when it gets closed
2013-08-26 17:50:17 +02:00
Marco Martin
902f98ed6e
make sure the plugin config gets restored
2013-08-14 15:13:35 +02:00
Marco Martin
834f73a101
fix loading of containmentactions plugins
2013-08-14 14:09:01 +02:00
Marco Martin
04650605e5
don't emit uireadychanged if not changed
2013-08-12 13:38:31 +02:00
Marco Martin
8750d01f40
move the tracking of uiReady into libplasma
...
doesn't still have nothing about ui, is completely bookkeeping, but is
easier to have it correct there
2013-08-09 21:51:13 +02:00
Marco Martin
5d4f1b381f
load the wallpaper before setting the screen
...
we want the wallpaper showing before the plasmoids.
we still need to load the wallpaper only after a screen has been
assigned, but will be done after
2013-08-08 17:59:30 +02:00
Marco Martin
0ed6b09e85
remove relkeaseVisualFocus, was unused and not belonging to Applet
...
anymore
2013-08-08 13:37:36 +02:00
Kevin Ottens
0e590217f8
Port away from kdebug
2013-07-30 08:05:09 +02:00
Sebastian Kügler
946a800a7a
Replace QAction with KAction in containment
...
With this commit, plasma-framework is free from (direct) usage of
KAction. \o/
Removes any left-over KAction includes and fw-declarations.
2013-07-10 01:59:39 +02:00
Marco Martin
13045faffa
rename ItemStatus
2013-05-14 20:49:50 +02:00
Marco Martin
7761a995f2
rename ImmutabilityType
2013-05-14 20:27:32 +02:00
Marco Martin
c90e6d23cf
rename Plasma::ContainmentType
2013-05-14 18:34:40 +02:00
Marco Martin
9b9fbf6eb9
get rid of Plasma::FormFactor
2013-05-14 18:19:33 +02:00
Marco Martin
e07600a83f
Put all Plasma emums in a Types class
...
This makes possible to use them directly frmo QML
as a minus, is not pretty and requires tons of search and replace in old
c++ code
2013-05-10 19:29:13 +02:00
Stephen Kelly
d8258866f4
Fix build in debug mode.
...
It seems some plasma API has changed, so I just commented it out. It
can be uncommented by someone who knows what to change it to.
2013-03-16 12:19:54 +01:00
Marco Martin
4219697fcb
remove Corona::defaultContainmentActionsPlugins()
2013-03-13 11:32:00 +01:00
Marco Martin
af6e538fa4
make the desktop scripting finally work
...
completely migrate to X-Plasma-ContainmentType from the desktop file, use it to set the containment type as soon as possible (in Containment::init())
in this way the desktop script can recognize panels as what they are immediately
2013-03-07 21:25:30 +01:00
Aaron Seigo
3edcbc51a3
better name for the method, and the setter will be replaced by package content
2013-03-04 13:51:13 +01:00
Marco Martin
c3924c75b7
remove createConfigurationInterface
...
configuration interface stuff is done right now in the ConfigView class, right now in the qml scriptengine (may be moved to the shell eventually)
2013-03-01 11:36:58 +01:00
Marco Martin
b88339cb4a
attempt to load different page set for containments
2013-02-28 16:33:44 +01:00
Marco Martin
0b6770e2b2
Containment::addApplet -> Containment::createApplet
2013-02-28 13:32:47 +01:00
Aaron Seigo
9ab4acd23a
get rid of constructors which take QVariantList args as much as possible
...
was used to pass in URLs to construct the applet with ... which is
not the nicest of APIs as it is entirely undocumentable
2013-02-25 18:08:12 +01:00
Marco Martin
e00f0b10bb
remove ContainmentActions::ContainmentActionsSource
...
all containmentactions are global separed by containment type
2013-02-25 16:55:28 +01:00
Aaron Seigo
1649761e0d
remove enableAction API; just use the KActionCollection
2013-02-25 16:43:06 +01:00
Aaron Seigo
a674a7b894
expose the KActionCollection rather than wrap its API
2013-02-25 16:36:27 +01:00
Aaron Seigo
c9ff91fb0f
expose the KActionCollection instead of wrapping its API
2013-02-25 16:31:26 +01:00
Aaron Seigo
0db4b9b870
don't add actions from the corona -> keyboard shortcuts aren't handled here anyways
2013-02-25 16:19:16 +01:00
Aaron Seigo
f2f96c507e
remove actions related to focus; that belongs in script engine
2013-02-25 16:19:16 +01:00
Aaron Seigo
6122c2d2d1
get rid of associated widgets -> one less QWidget usage!
...
was still being used for global shortcuts .. turns out that isn't
necessary
2013-02-25 16:19:16 +01:00
Marco Martin
2f2039ed23
remove ContainmentPrivate::globalContainmentActionPlugins
2013-02-25 15:58:31 +01:00
Marco Martin
342146b2fc
get rid of ContainmentActionsPluginConfig
...
expose directly the hash of default plugins from Corona for the default plugins to use as containmentActions, getting rid of this class that is in the end just a wrapper
2013-02-25 15:47:16 +01:00
Marco Martin
c3a536a7a4
replace name, pluginName and icon with pluginInfo()
...
add ContainmentAction::pluginInfo()
2013-02-25 14:49:42 +01:00
Marco Martin
f4a4bb55de
sync panel position to containment location
2013-02-21 17:49:52 +01:00
Marco Martin
0a587eae5e
compare only applet ids, because geometries are not here anymore
2013-02-19 14:19:08 +01:00
Marco Martin
f5b51c7c54
Containment::Type -> Plasma::ContainmentType
2013-02-19 13:52:32 +01:00
Marco Martin
444d49709b
move in PluginLoader metadata-related methods
...
listContainments
listContainmentsOfType
listContainmentTypes
listContainmentsForMimeType
2013-02-19 13:09:33 +01:00