Commit Graph

12061 Commits

Author SHA1 Message Date
Sebastian Kügler
04fd5d719a Use visible property from QQuickWindow
Don't override it anymore, but react to the changed signal to do our
magic.
2013-12-17 01:21:59 +01:00
Sebastian Kügler
714042904f Abuse flags
Interestingly, this hack yields the correct behaviour in my system. We
quickly set the always on top hint once we're supposed to hide, so the
window stays on top for the duration of the animation -- without
apparent side effects on the positioning and resizability.

CCMAIL:mgraesslin@kde.org
2013-12-17 01:10:58 +01:00
David Edmundson
36e4a45377 Set the panel config to the same screen as the panel 2013-12-16 19:17:32 +01:00
David Edmundson
4336262d31 Connect to the right geometrychanged signal 2013-12-16 16:52:46 +01:00
David Edmundson
5baf0c8554 Use convenience method insertContainment in ShellCorona 2013-12-16 16:51:02 +01:00
David Edmundson
547f356edd Return valid screenForContainment on panels 2013-12-16 15:30:13 +01:00
David Edmundson
e5ef979ba1 Simplify assigning panels to screens 2013-12-16 15:30:13 +01:00
David Edmundson
be021453a2 Make it possible to modify PanelView screen property 2013-12-16 15:30:13 +01:00
David Edmundson
906caec817 Expose screen to MouseEventListener events 2013-12-16 15:30:13 +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
56b2e75b2b Removed unused variable 2013-12-16 15:30:13 +01:00
David Edmundson
fb4d79e566 Remove unused signalWhenExists argument
It's unused and it's a hack.
2013-12-16 15:30:13 +01:00
David Edmundson
98e8731910 Remove unused "force" argument
force is always false. We don't need an argument
2013-12-16 15:30:12 +01:00
David Edmundson
1b9225491d Remove unused commented code 2013-12-16 15:30:12 +01:00
David Edmundson
51890d1337 Check if shell needs updating when a handler is deregistered 2013-12-16 15:30:03 +01:00
David Edmundson
c95642caec Add documentation on ShellManager 2013-12-16 15:30:02 +01:00
Aleix Pol
d9a4c3e0eb Adapt scripts to changes in kdelibs 2013-12-14 16:38:48 +01:00
Aleix Pol
361a1eebbe More macros to port 2013-12-14 14:32:03 +01:00
Aleix Pol
b0f9e8c773 fix scripts
ki18n_wrap_ui now exists
make kde4_add_plugin detection more flexible
2013-12-14 13:43:04 +01:00
l10n daemon script
acd85836bd SVN_SILENT made messages (.desktop file) 2013-12-13 04:39:08 +00:00
Sebastian Kügler
6b4ca35897 hideOnWindowDeactivate property for plasmoid object
This allows to control whether to automatically close panel popups when
they lose focus. Applets can set this to false in case they want to keep
the popup open (even temporarily).
2013-12-12 00:22:47 +01:00
Aurélien Gâteau
78276bd589 Treat *Config.cmake files as well 2013-12-11 23:12:48 +01:00
Aurélien Gâteau
7c74c27a25 Add missing alias 2013-12-11 21:40:54 +01:00
Aurélien Gâteau
02d6b37976 Renames for the KF5 prefix 2013-12-11 21:40:54 +01:00
Aurélien Gâteau
175204c453 KF5 prefix fixes 2013-12-11 21:40:54 +01:00
Antonis Tsiapaliokas
4efb85e5d2 Replace tab with spaces 2013-12-11 21:40:54 +01:00
Martin Klapetek
3214bd8132 Add KF5 prefix to plasma framework
This changes the lib name and package names to follow other frameworks

libFoo -> libKF5Foo
find_package(KFoo) -> find_package(KF5Foo)

REVIEW: 114389
2013-12-11 21:40:54 +01:00
Martin Klapetek
98df4984d0 Add PlasmaQuick to kf5-prefix porting script 2013-12-11 17:40:41 +01:00
Aurélien Gâteau
09b49b48e9 Fix KDESu, add KDocTools 2013-12-11 17:08:31 +01:00
Aurélien Gâteau
410292bf3e Add Style and KDE4Support 2013-12-11 16:33:06 +01:00
Aurélien Gâteau
bb207fa68f kf5-lib-prefix-rename: replace more frameworks 2013-12-11 16:33:06 +01:00
Aurélien Gâteau
71326a33df kf5-lib-prefix-rename: macros, and use whole words 2013-12-11 16:33:06 +01:00
Aurélien Gâteau
acfcc7d3d1 Add test files for kf5-lib-prefix-rename 2013-12-11 16:33:06 +01:00
Aurélien Gâteau
dae4e77d41 Rewrite in Python
I can't seem to get proper multiline search and replace with either sed or perl
-i. But I know how to do it in Python.
2013-12-11 16:33:06 +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
David Edmundson
1f83fdcc3c Reduce warnings starting the pixmap save timer from other threads
REVIEW: 114382
2013-12-11 14:05:40 +01:00
Martin Gräßlin
86d030efac Add a hideOnWindowDeactivate property to PlasmaCore.Dialog
This property is meant to bring back the functionality provided by
PopupApplet. If the property is set to true the dialog gets hidden
when it loses focus.

REVIEW: 114378
2013-12-11 11:15:07 +01:00
l10n daemon script
358b834455 SVN_SILENT made messages (.desktop file) 2013-12-11 04:00:00 +00:00
Sebastian Kügler
6b56bfcd3e Fix parsing of crashes commandlineoption 2013-12-11 04:03:58 +01:00
Aurélien Gâteau
0187f2b125 Do not list KConfigWidgets twice 2013-12-11 00:09:54 +01:00
Aurélien Gâteau
4e2979bc20 Add script to fix cmake files after the KF5 prefix has been added to frameworks 2013-12-10 22:48:45 +01:00
Antonis Tsiapaliokas
1ebb352a76 Replace tab with spaces 2013-12-10 18:36:30 +02:00
Martin Gräßlin
718251466a Needs KGlobalAccel 2013-12-10 08:25:23 +01:00
l10n daemon script
0dab746e5c SVN_SILENT made messages (.desktop file) 2013-12-10 04:06:05 +00:00
Aleix Pol
d79162b6d9 Make sure that panels are properly placed upon resize
Recalculate position when screen has changed or when the location changes.
Recalculate position when the thickness changes, otherwise it grows outside
of the window when a bottom panel thickness changes (we change it through
setHeight).
2013-12-09 19:29:11 +01:00
Àlex Fiestas
a18b1ee448 Add a plasma-shell.desktop file to autostart
This basically makes KLauncher execute plasma-shell on startup.
2013-12-09 18:08:27 +01:00
Àlex Fiestas
9afa18b8a6 Use org.kde.kded5 instead of org.kde.kded 2013-12-09 18:08:27 +01:00
Aleix Pol
6c82a1ee86 Reduce compiler warnings
Remove unused and deprecated headers
Port some K_GLOBAL_STATIC to Q_GLOBAL_STATIC
2013-12-09 16:50:18 +01:00
Aleix Pol
51fa49f002 Properly place the panels in a multiscreen environment
Ues QScreen::geometry instead of QScreen::virtualGeometry. The virtual
geometry is, according to the documentation and empirical experience, the
geometry of all the virtualDesktop.

REVIEW: 114362
2013-12-09 16:41:19 +01:00
Sebastian Kügler
011fd24f57 Minor cleanup, add my copyright 2013-12-08 17:02:17 +01:00