Marco Martin
47dfda75c0
introduce the signal Corona::startupCompleted()
...
when emitted we are sure all containments *graphics objects*
have been created
2014-04-22 14:58:12 +02:00
Marco Martin
d8731d7806
re-add Corona::createContainmentDelayed()
...
unfortunate, but necessary for on the fly containment plugin switch
2014-04-09 22:15:46 +02:00
Martin Klapetek
6a1fa18986
Add availableScreenRect(int id) to Corona base class
...
This is already implemented in ShellCorona and is quite handy too
Reviewed-by: Marco Martin
2014-03-11 15:30:45 +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
Aleix Pol
d2992acfa7
Fix QObject::connect() warnings
...
Adapt to changes in Plasma::Corona
2013-12-19 17:31:28 +01:00
David Edmundson
37840b1490
Add default screenForContainment implementation
2013-12-17 15:46:57 +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
60e5a57c23
don't double signal containmentAdded
2013-10-23 22:38:41 +02:00
Martin Klapetek
17e95850fa
Use proper default containment name
...
Fixes the case when loading the default containment would fail because
the default one couldn't be found
Reviewed-by: Sebastian Kügler
2013-10-23 15:25:02 +02: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
de6d0f12d0
Corona::packageChanged() signal
...
views listen to it to know when to reload theirview qml file
2013-09-02 21:06:35 +02:00
Marco Martin
b32a42c8e8
Corona::setPackage(QString) uses a Package
...
* symmetrical api in Corona
* there is no default package
2013-09-02 18:04:22 +02:00
Ivan Čukić
f786c74020
Ported the broken branch to a new one
2013-08-31 17:47:29 +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
Sebastian Kügler
af46f93a57
Corona's lock action becomes a QAction
2013-07-10 01:49:59 +02:00
Marco Martin
f22e4be172
fix startupcompleted constraints
...
use the new panel toolbox
2013-05-16 13:08:05 +02:00
Marco Martin
7761a995f2
rename ImmutabilityType
2013-05-14 20:27:32 +02:00
Marco Martin
812b9a06ab
get rid of Plasma::Location
2013-05-14 18:27:27 +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
Sebastian Kügler
b1ce94159d
KDE::icon becomes QIcon::fromTheme
2013-04-02 12:55:37 +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
7abd6d81d5
remove s_positioningContainments
2013-03-13 11:32:00 +01:00
Marco Martin
d884d396ec
remove offscreenWidgets
2013-03-13 11:32:00 +01:00
Marco Martin
45c55b22b2
remove preferredToolBoxPlugin
2013-03-13 11:32:00 +01:00
Marco Martin
054f443469
remove defaultContainmentPlugin
2013-03-13 11:32:00 +01:00
Marco Martin
9e2240bd8c
get shell package from config
2013-03-05 16:44:13 +01:00
Marco Martin
8646393758
shell package partly working
2013-03-05 13:58:18 +01:00
Marco Martin
e49b58c95d
remove initializeLayout()
2013-03-04 16:48:17 +01:00
Marco Martin
759780ce3f
remove releaseVisualFocus
2013-03-04 16:33:59 +01:00
Marco Martin
55add92bf8
remove actionCollections and shortcut config dlg
2013-03-04 16:28:51 +01:00
Marco Martin
9f6fbec2f3
remove updateShortcuts() and addShortcut()
2013-03-04 16:25:37 +01:00
Marco Martin
bc3c23187d
remove containmentForScreen(int, QString, QVariantList)
...
this function is redundant, you can use containmentForScreen(int) then create a containment if returns 0
2013-03-04 16:18:06 +01:00
Marco Martin
585c1ec21e
remove appletMimeType()
...
addContainment becomes createContainment
2013-03-04 16:15:04 +01:00
Marco Martin
f4de55af67
use KAction from kde4support
...
it should buld again, usingkaction as type for kactioncollection
2013-03-04 15:46:47 +01:00
Marco Martin
79256d9931
remove AbstractDialogManager
2013-03-04 15:21:26 +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
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
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
3ce3048ad1
Containment::ToolType -> Plasma::ActionType
...
actions categories are no more Toolbox-specific, but generic properties for actions
2013-02-19 14:04:20 +01:00
Marco Martin
f5b51c7c54
Containment::Type -> Plasma::ContainmentType
2013-02-19 13:52:32 +01:00
Marco Martin
d3448c01d6
remove Containment::destroy()
2013-02-18 18:59:47 +01:00
Marco Martin
bb005f1cc5
remove perVirtualdesktop views
...
remove any desktop reference from setScreen and containmentForScreen
along with lastScreen and lastDesktop
2013-02-18 18:05:45 +01:00
Marco Martin
0e8115b697
get rid of desktop and lastScreen accessors
...
remove Containment::desktop() lastDesktop(), lastScreen()
2013-02-18 17:57:05 +01:00
Aaron Seigo
1303008ee6
clearContainments is unused and ACTUALLY remove the containments when init'ing
2013-02-18 13:17:48 +01:00
Marco Martin
dc5ccd2d76
be quiet
2013-02-14 19:56:36 +01:00
Marco Martin
4e44bc4c31
support for containment type in the desktop file
...
add a test panel containment
2013-02-14 19:12:11 +01:00