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
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
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
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
718251466a
Needs KGlobalAccel
2013-12-10 08:25:23 +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
David Edmundson
66094ef733
Remove X-Plasma-DefaultSize from applet service type
2013-11-27 17:04:17 +01:00
l10n daemon script
7726bc82e9
SVN_SILENT made messages (.desktop file)
2013-11-24 04:10:26 +00:00
Aleix Pol
f187db1e86
Remove KDE4Support dependency from plasma-frameworks (almost)
...
Stop using classes from kde4support:
- KComponentData is deprecated, it will be using QCoreApplication::
applicationName() and QCoreApplication::applicationVersion(). Of course,
this means that the existing shells will have to be ported. I have no
problem with doing that port myself, if I'm told where to look into.
- Drop usage of KLocale, ported to QLocale
- Drop usage of KStandardDirs, ported to QStandardPaths
- Drop usage of KIcon, ported to QIcon
Furthermore, there's a module in src/declarativeimports/locale that IIUC
exposes KLocale bindings to QML. A specific plan to port it should happen
as well.
REVIEW: 113920
2013-11-22 13:03:29 +01:00
Aleix Pol
f97f506acb
Remove unused variables from the cmake scripts
2013-11-15 17:00:56 +01:00
Aleix Pol
2cb4ebd6f5
Code cleanup
...
Remove unused includes
Remove void code logic (KCMUTILS_LIBS was always empty anyway)
2013-11-15 16:56:17 +01:00
Aleix Pol
0fa21b4af5
Iterate over the cmake scripts
...
Prefer using imported targets rather than cmake variables.
2013-11-15 16:46:59 +01:00
Aleix Pol
7088c9eb0d
Deprecate plasma_add_plugin
2013-11-14 17:42:26 +01:00
Aleix Pol
3ef13c53dc
Remove predicates on cmake end commands
...
http://techbase.kde.org/Policies/CMake_Coding_Style#End_commands
2013-11-14 17:25:10 +01:00
Bhushan Shah
80cb807aaa
Make plasma-framework build without tests
...
REVIEW: 113831
2013-11-13 12:04:22 +05:30
Aleix Pol
392fa639b6
Only include QCA includes where needed
...
There's no need to make all the framework look for the QCA includes while
they're only being used by the remote part. It could possibly be made more
specific, but I don't think those are yet being used anyway.
2013-11-11 18:29:32 +01:00
Marco Martin
67f459609a
make apidocs reflect reality
2013-11-04 13:11:54 +01:00
l10n daemon script
130ccfb50d
SVN_SILENT made messages (.desktop file)
2013-11-02 03:45:23 +00:00
Christoph Feck
f114f7310d
Fix build with latest ThreadWeaver
...
REVIEW: 113535
2013-11-01 19:08:45 +01:00
Kevin Ottens
8507084d62
Use the target now that KDE4Support exports one
2013-10-28 12:56:13 +01:00
l10n daemon script
beb8322c3d
SVN_SILENT made messages (.desktop file)
2013-10-27 04:03:10 +00: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
Kevin Ottens
c61c65d8e7
Make it link
2013-10-22 21:56:11 +02:00
Kevin Ottens
ce00ca976e
KDE4Attic is gone
2013-10-22 18:02:39 +02:00
Marco Martin
d7aa34cc6c
implement uninstall()
2013-10-22 11:20:42 +02:00
Aleix Pol
af8a7bad7d
Stop using Qt5Transitional in Plasma Frameworks
...
Removes the find_package(Qt5Transitional) and does the proper
find_package(Qt5) with the list of modules.
Most of the porting is about using the Qt5:: targets.
REVIEW: 113345
2013-10-22 00:40:17 +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
Sebastian Kügler
0417906b60
Target names instead of vars
2013-10-16 01:40:50 +02:00
Sebastian Kügler
d5bef21f7b
Rename target plasma to Plasma
...
This is in line with the frameworks naming policy, camelcasing. Up until
now, libplasma was the only library being KF5::plasma, that is now
KF5::Plasma.
2013-10-16 00:47:47 +02:00
Sebastian Kügler
cd5ee90d0e
Clean up libplasma cmake
2013-10-16 00:28:02 +02:00
Sebastian Kügler
c7c9e8fefc
Put steve's changes back in
...
CCMAIL:steveire@gmail.com
2013-10-13 02:00:32 +02:00
Sebastian Kügler
c2be5b6b12
Revert bef789642e
...
That commit breaks the build, not finding qtest_kde.h, and cascading
errors from there.
CCMAIL:steveire@gmail.com
2013-10-12 21:47:07 +02:00
Stephen Kelly
53f12ccdde
Add the dir for the plasma_export.h file.
2013-10-12 15:55:19 +02:00
Stephen Kelly
383660433c
Try to fix the plasma include dirs failure on bko.
...
I can't reproduce it.
2013-10-12 15:49:47 +02:00
Stephen Kelly
bef789642e
Remove obsolete include_directories use.
2013-10-12 15:25:19 +02:00
Aleix Pol
a3c7a9690f
Make the runners API compile again
...
Recently there's been some big changes in the ThreadWeaver API.
So big that they break the source compatibility we were supposed to
maintain, big time.
This patch tries to port plasma-framework to that new API.
REVIEW: 113179
2013-10-10 20:28:46 +02:00
Stephen Kelly
badeec199d
Add the include/KDE dir to the needed incude directories.
2013-10-10 13:03:14 +02:00
Sebastian Kügler
bf03242380
Disable krunner-related code from the build
2013-10-08 17:37:15 +02:00
Sebastian Kügler
36dfe61309
Disable krunner-related classes from libplasma
...
They will be rethought, but would be blocking a threadweaver merge right
now
CCMAIL:me@vhanda.in
2013-10-08 13:47:16 +02:00
Ben Cooksley
1757ef8899
Reverse accidental change
2013-10-07 23:49:28 +13:00
Ben Cooksley
d2115ae938
Set an include path with the KF5::plasma target.
...
REVIEW: 113139
2013-10-07 23:48:05 +13:00
David Faure
f432b46fbd
script-ported with kde-dev-scripts/kf5/convert-kstandarddirs.pl
2013-10-05 12:49:18 +02:00
Sebastian Kügler
f83e8f421a
remove unneeded includes
2013-10-05 06:19:51 +02:00
Sebastian Kügler
c244c5a24a
Port theme away from KGlobalSettings
2013-10-05 06:19:51 +02:00
Sebastian Kügler
18c12fb520
Port Plasma::Svg away from KGlobalSettings
2013-10-05 06:19:51 +02:00
Sebastian Kügler
2ca0e0eff2
find KDELibs4
2013-10-05 04:30:19 +02:00
Sebastian Kügler
38fb14baaa
KGlobalSettings replaced by QFontDatabase for smallestReadableFont
2013-10-05 02:48:09 +02:00
Sebastian Kügler
1d42fdb7a0
use lowercase includes
2013-10-05 02:48:09 +02:00
Sebastian Kügler
0aa6247dd9
Use target instead of var for KF5::KI18n
2013-10-04 23:44:36 +02:00
Sebastian Kügler
47a38c5edd
Use target instead of var for KF5::KService and KCoreAddons
2013-10-04 23:42:16 +02:00
Sebastian Kügler
80a4e61a4e
Use target instead of var for KF5::Solid
2013-10-04 23:40:30 +02:00
Sebastian Kügler
b2121c1e06
cmake fixes
...
- finally remove KDE4_KIO_LIBS
- change KDeclarative to KF5::KDeclarative
- add KService where needed
2013-10-04 19:18:34 +02:00
Aleix Pol
1891066fc2
Adapt to kdelibs ab56e2f.
2013-10-04 18:40:47 +02:00
Stephen Kelly
0e8f31644b
Add some missing links.
...
The
2013-10-01 14:12:29 +02:00
Martin Gräßlin
ea376016c0
Add notify signal for Svg::imagePath property
...
The missing notify signal was causing problems in QtQuick2:
"depends on non-NOTIFYable properties".
Reviewed-By: Marco Martin
2013-10-01 11:34:39 +02:00
Sebastian Kügler
8dcfa386d0
Fix test
2013-09-26 02:00:03 +02:00
Sebastian Kügler
c49c093573
Merge branch 'master' into sebas/pluginlocator
2013-09-26 01:38:16 +02:00
Sebastian Kügler
5b33844a0b
Look up dataengines in kf5/plasma/dataengines
...
This changes the path where to find dataengines to the
subdirectory-per-servicetype setup.
Note: You'll need to update and reinstall kde-workspace/plasma, to
install the dataengines into the new path.
CCMAIL:plasma-devel@kde.org
2013-09-26 01:34:27 +02:00
Sebastian Kügler
8c93578acf
Adjust to new API
2013-09-25 17:57:12 +02:00
Eike Hein
7f10a19acd
Fix build.
2013-09-25 09:36:33 +02:00
Marco Martin
fab4818c92
allow plasmoids to change icon
...
changing icon will change the icon of the default compact representation
2013-09-23 16:44:31 +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
786bd7b7af
emit uiready also for empty containments
2013-09-13 20:03:25 +02:00
Aaron Seigo
5903d97966
regexps are expensive to create, we ask for packages a lot, cache the re
2013-09-13 16:29:29 +02:00
Sebastian Kügler
2d46621818
Test for loading a dataengine
2013-09-12 02:29:33 +02:00
Sebastian Kügler
cd5be142ed
Use KPluginTrader to load dataengine
2013-09-12 02:29:09 +02:00
Sebastian Kügler
5e845c7c4b
Add more tests, esp for containment loading
2013-09-12 02:04:32 +02:00
Sebastian Kügler
e81b635406
Use KPluginTrader to locate the dataengine.
2013-09-12 02:03:52 +02:00
Sebastian Kügler
58a2a8d6bb
Tests for Plasma::PluginLoader
2013-09-12 01:31:37 +02:00
Marco Martin
f4d222c9c4
very crude support for a string default in choices
...
still a long way to real enums
2013-09-11 18:52:05 +02:00
Martin Gräßlin
91d306d2e8
QQuick item for live updating window thumbnails
...
New qquick item in PlasmaCore to render a live updating window
thumbnail. The implementation uses XCB to redirect the specified
window using the composite extension. This means a running compositor
is not required. Through the damage extension the item tracks changes
to the window and triggers updates of the texture. Furthermore the
item tracks geometry changes of the window to recreate the window
pixmap.
If the pixmap of the window is valid, a texture is generated from it
using the glx texture from pixmap extension. For this a new optional
dependency for glx is added. On platform where glx is not available
(e.g. Windows, Linux with OpenGL ES) this will not get compiled and
the window's icon is used instead as a fallback.
REVIEW: 112142
2013-09-11 09:45:47 +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
Wojciech Kapuscinski
ea835ccdb1
remove all links to kdeqt5staging
...
QCommandLineParser is now in qt5
REVIEW: 112558
2013-09-10 10:13:05 +02:00
Sebastian Kügler
8915fd4004
Show package path in warning
2013-09-03 03:25:24 +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
03b812ea06
move ShellPackage in libplasma
...
the shell plugin loader only has the look and feel package now
2013-09-02 19:25:03 +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
Marco Martin
68a693af67
adapt to api change
2013-08-28 21:08:23 +02:00
Sebastian Kügler
9b1b090159
Install header for dataengineconsumer
2013-08-28 03:52:14 +02:00
Marco Martin
39b49bf464
get rid of containmentActions::config()
2013-08-27 12:10:51 +02:00
Sebastian Kügler
bcbfea3576
Less debug
2013-08-27 04:27:48 +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
b768f17c14
get rid of paintInterface
2013-08-20 18:19:39 +02:00
Marco Martin
590cb7baa7
a property in Applet to tell if the user is configuring
...
pure model, doesn't actually carry the config dialog, but serves as bookkeeping
2013-08-20 18:17:20 +02:00
Martin Gräßlin
531e6c3db5
Fix linking
...
KDEUI is dead which caused quite some collateral damage in our
CMakeLists.
2013-08-20 07:47:09 +02:00
l10n daemon script
c3742a068c
SVN_SILENT made messages (.desktop file)
2013-08-20 04:24:25 +00:00
l10n daemon script
3880ffb13f
SVN_SILENT made messages (.desktop file)
2013-08-17 04:14:06 +00: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
Aaron Seigo
55d6c78c9a
forward port of patch from master to fix crash due to non-existing theme
2013-08-14 14:07:19 +02:00
Marco Martin
6be0228694
export containmentactions plugins in the new way
2013-08-14 11:45:12 +02:00
Sebastian Kügler
0d909073c5
noise--
2013-08-14 05:48:03 +02:00