Marco Martin
60565dafcb
get rid of elementAtPoint()
...
was a stub, never implemented because qtsvg doesn't support it (and never will)
2014-02-14 14:30:58 +01:00
Marco Martin
59dbfeeab6
ask confirmation to delete containments
2014-02-13 15:30:07 +01:00
Martin Gräßlin
bada0c97ba
Ensure that we can build without X11 or XCB
...
* X11 is optional dependency
* XCB is optional dependency
* Qt::X11Extras is only found if both X11 and XCB are found
* switch to HAVE_X11 instead of X11_FOUND in CMakeLists
* remove/fix custom added definitions
* use #if HAVE_X11 instead of #ifdef HAVE_X11 (that is always true)
REVIEW: 115698
2014-02-12 16:20:42 +01:00
Martin Gräßlin
31e301174a
Ensure to not call X11 specific calls if we are not on platform X11
...
This fixes a bunch of possible crashy code when trying to run
applications linking plasma-framework on platform Wayland.
REVIEW: 115641
2014-02-12 16:20:04 +01:00
Aleix Pol
18473c9e9e
Remove KRunner from Plasma-Framework
...
Have it as a separate KRunner framework instead
2014-02-11 18:03:06 +01:00
David Faure
452413ef33
use version strings defined at toplevel - doesn't work though ?
2014-02-11 16:23:33 +01:00
Marco Martin
0573a47e06
tests and autotests in top level dir
2014-02-10 15:17:07 +01:00
Sebastian Kügler
eebfb64d0a
Merge branch 'master' into sebas/themeswitch2
2014-02-06 17:56:28 +01:00
Marco Martin
3858044d25
Merge branch 'mart/AppletAttached'
...
Conflicts:
src/declarativeimports/core/dialog.cpp
src/scriptengines/qml/plasmoid/containmentinterface.cpp
2014-02-06 13:16:11 +01:00
Marco Martin
3bb0e7d3d0
use the config of the applet parent of containment
...
that's the systray specific hack
2014-02-06 12:12:43 +01:00
l10n daemon script
34284e90eb
SVN_SILENT made messages (.desktop file)
2014-02-06 04:12:17 +00:00
Sebastian Kügler
585aa4998a
noise--
2014-02-06 04:00:39 +01:00
Sebastian Kügler
d9e43ff979
Be smarter about contrast effect reading
...
This commit allows the theme designer to just enable and disable the
effect (enable=true). If no color values are set, values are picked
based on the background color. This essentially restores the hardcoded
values in some other places, and makes them available as sensible
defaults to other themes.
Also, make sure colors are read before the effect is applied (as we need
the new bg color to decide whether it's light or dark).
2014-02-06 02:51:46 +01:00
Sebastian Kügler
5dd4b51151
Plasma::Theme gets API for KWS' background contrast effect
...
From its api docs:
This method allows Plasma to enable and disable the background
contrast effect for a given theme, improving readability. The
value is read from the "enabled" key in the "ContrastEffect"
group in the Theme's metadata file.
The configuration in the metadata.desktop file of the theme
could look like this (for a lighter background):
[ContrastEffect]
enabled=true
contrast=0.45
intensity=0.45
saturation=1.7
2014-02-06 00:56:50 +01:00
Marco Martin
3325f24992
appletLoader doesn't depend from Declarativeappletscript
2014-02-05 12:51:31 +01:00
Martin Gräßlin
91e9e401f0
Include config-plasma.h before checking for HAVE_X11
...
Fixes compile warning since kwindowsystem.h doesn't provide HAVE_X11
any more.
Reviewed-by: Marco Martin
2014-02-05 11:10:53 +01:00
Marco Martin
517403096d
port improve cache file dropping to plasma-framework
...
this ports revision c03052935b082 on kdelibs
improve cache file dropping
* fix regression: version the image cache file name
* version the svg elements
* drop old svg elements files
* respond to changes at runtime by watching the theme's metadata.desktop for changes
* move creation of the svg elements file into ThemePrivate::useCache()
REVIEW:115397
2014-02-04 12:06:09 +01:00
Sebastian Kügler
1bfbee809e
const-ref in foreach, clean up debugging
2014-02-04 02:18:28 +01:00
Marco Martin
362a5017b6
support a corona child of an applet
...
this is an ad-hoc thing for the systray, would be better not having something like that
2014-02-03 18:47:51 +01:00
Sebastian Kügler
9e491920e5
Only search for metadata.desktop when necessary
2014-02-02 02:25:08 +01:00
Sebastian Kügler
fa7ae03867
Catch packages zipped into subdirectory
...
This is a pretty common thing, as most zipping tools put the contents
into a subdirectory by default.
Fixes theme package installation.
2014-02-02 02:18:54 +01:00
Sebastian Kügler
174eae6802
Merge branch 'master' into sebas/themeswitch
2014-02-01 22:38:55 +01:00
l10n daemon script
063366d681
SVN_SILENT made messages (.desktop file)
2014-02-01 04:10:47 +00:00
Sebastian Kügler
91a861e3ef
noise--
2014-01-31 03:39:10 +01:00
Sebastian Kügler
e0fbf3473f
Remove unused member
2014-01-31 02:25:25 +01:00
Sebastian Kügler
1c4f14c177
Remove some dead code
2014-01-31 02:06:09 +01:00
Sebastian Kügler
de7558e7f7
Use shared KDirWatch instance
2014-01-31 01:31:09 +01:00
Sebastian Kügler
ffeb585003
Rough version in which theme switching works
...
This aligns the config files and groups, and adds a KDirWatch in the
shared Plasma::Theme private object in order to nofity when the
configured theme changes.
It's a bit rough, doesn't cover all corner cases and needs polishing.
2014-01-31 01:06:43 +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
l10n daemon script
6ecbbd9129
SVN_SILENT made messages (.desktop file)
2014-01-29 04:19:24 +00:00
Sebastian Kügler
b3a5d65580
Complete apidocs for Plasma::Theme
2014-01-27 19:41:39 +01:00
Sebastian Kügler
a70dd8c299
theme.defaultIconSize moves to units.iconSizes.default
2014-01-23 01:47:42 +01:00
Sebastian Kügler
4da01ebce0
spacing hints move from theme to units
2014-01-23 01:26:19 +01:00
Sebastian Kügler
d4902e2df2
Remove icon sizes from Plasma::Theme
...
They've moved into Units
2014-01-23 00:43:21 +01:00
Sebastian Kügler
095469729a
update spacing on font change
...
Also explain the sizing trick in the comment.
2014-01-21 23:46:50 +01:00
Sebastian Kügler
e72b297e48
Use defaultFontChanged notifier for spacing
...
This makes the spacing update when the font changes. This will be handy
for a more dynamic DPI switching in the future.
2014-01-21 23:44:05 +01:00
Sebastian Kügler
ff1d062b47
Skeleton DPI test app
2014-01-21 00:28:40 +01:00
Sebastian Kügler
0a3a236dfb
Merge branch 'sebas/theme'
2014-01-15 12:49:42 +01:00
Marco Martin
85070fc276
Merge branch 'mart/kdeclarativeNamespace'
2014-01-14 22:27:59 +01:00
Alex Richardson
afe17f1dca
Use QExplicitlySharedDataPointer as the replacement of KSharedPtr
...
This should be slightly more efficient than the solution from e7e2eedd
which uses QWeakPointer and QSharedPointer
REVIEW: 114932
2014-01-14 19:41:04 +01:00
Marco Martin
92fe107329
put namespace around KDeclarative
2014-01-13 21:21:14 +01:00
Sebastian Kügler
374d230932
wallpaperForSize moves to Plasma::Theme
2014-01-13 02:11:37 +01:00
Sebastian Kügler
ea2a4db7ab
Move spacing, stylesheet and mSize into Plasma::Theme
2014-01-13 01:31:46 +01:00
Sebastian Kügler
a9b1f2c619
Most of iconSize moves to Plasma::Theme
...
The QQmlPropertyMap isn't moved with this commit, this needs a bit more
changing, so we do a separate one for that, once the more trivial stuff
is moved out.
2014-01-12 20:10:19 +01:00
Sebastian Kügler
25dcdd39a4
Color properties move into Plasma::Theme
...
They're now convenience API in Plasma:Theme, PlasmaCore.Theme is
becoming smaller and smaller. Another nail in its coffin.
2014-01-12 19:49:56 +01:00
Sebastian Kügler
13242c8a5f
Move smallestFont and defaultFont properties into Plasma::Theme
2014-01-12 19:33:56 +01:00
Sebastian Kügler
eba1a79b57
themeName, useGlobalSettings and wallpaperPath move into Plasma::Theme
2014-01-12 19:17:37 +01:00
l10n daemon script
e03580242e
SVN_SILENT made messages (.desktop file)
2014-01-12 04:11:43 +00:00
l10n daemon script
a12184e857
SVN_SILENT made messages (.desktop file)
2014-01-11 04:00:30 +00:00
Aurélien Gâteau
e7e2eeddc0
Plasma::Svg: Replace use of KSharedPtr with QWeakPointer and QSharedPointer
...
This removes the last dependency from plasma-framework on kde4support.
This change is a bit more involved than other kde4support removals because
QSharedPointer does not provide a count() method. I therefore reworked the code
to store the SharedSvgRenderer as a QWeakPointer in s_renderers, making it
possible to detect when the last one goes away by creating a QWeakPointer guard
in SvgPrivate::eraseRenderer().
REVIEW: 114912
2014-01-09 10:13:57 +01:00
Aleix Pol
eb83537f63
Not being able to load an applet is a problem important enough to be a warning
2014-01-07 13:48:00 +01:00
Martin Gräßlin
e50dbc413e
Port EffectWatcher to XCB
...
Saves quite a lot of roundtrips to the XServer. Most important we
fetch the atom only once which means we don't have to refetch when
checking the property notify events.
REVIEW: 112445
2014-01-07 10:39:44 +01:00
David Faure
8b5834c28c
Adapt to newer new ThreadWeaver includes (e3b4312fe9a2 in threadweaver)
2014-01-05 12:03:17 +01:00
Sebastian Kügler
160e97cbba
Adapt to API changes in ThreadWeaver
...
Reviewed-by: Mirko Böhm <mirko@kde.org>
2014-01-05 02:10:24 +01:00
David Faure
e577f4e588
adjust for new (= old) kdnssd header prefix
...
Make sure to update kdnssd-framework first.
2014-01-03 14:45:59 +01:00
Marco Martin
84df832f5c
Merge branch 'mart/modelsInDataEngine'
2014-01-02 11:05:20 +01:00
David Faure
9f6611b73d
remove unused include
2014-01-01 14:19:01 +01:00
Marco Martin
a7470063a0
model()->modelForSource()
2013-12-30 10:42:25 +01:00
Marco Martin
dea7942533
add DataEngine::setModel
2013-12-30 10:22:06 +01:00
Alex Merry
778bf0ac0b
Clean up target_link_libraries for KF5Plasma
...
It is now a single call using PUBLIC and PRIVATE keywords. This removes
a CMake warning about using LINK_INTERFACE_LIBRARIES.
REVIEW: 114683
2013-12-27 16:29:14 +00:00
Marco Martin
0d77298d1b
OR, not AND
...
a source is unused if there anre no relays OR nothing directly connected
2013-12-24 17:35:48 +01:00
Marco Martin
f692b5aa74
crash--
2013-12-24 17:11:27 +01:00
Marco Martin
e272c31300
OR, not AND
...
a source is unused if there anre no relays OR nothing directly connected
2013-12-24 16:58:08 +01:00
Marco Martin
124139c2bf
working models, add an example applet
2013-12-24 15:21:21 +01:00
Marco Martin
c318acb242
make use of the model embedding
2013-12-24 14:29:53 +01:00
Marco Martin
98d8bacf2b
Revert "remove unused typedefs"
...
This reverts commit 104e8d9e1f
.
2013-12-24 14:05:08 +01:00
Marco Martin
80d4ba326e
Revert "remove unused typedefs"
...
This reverts commit 104e8d9e1f
.
2013-12-24 14:02:20 +01:00
Marco Martin
eb47805d72
DataContainer can carry a QAbstractItemModel aroun
...
same rules of sharing and memory management apply.
The model will be shared between all visualizations and deleted when nobody is connected to the source anymore
2013-12-24 13:51:20 +01:00
Marco Martin
35b43f097e
remove some references to graphicsitems
2013-12-24 12:35:24 +01:00
Marco Martin
104e8d9e1f
remove unused typedefs
2013-12-24 11:28:49 +01:00
Aleix Pol
d2992acfa7
Fix QObject::connect() warnings
...
Adapt to changes in Plasma::Corona
2013-12-19 17:31:28 +01:00
Christophe Giboudeaux
09ccb8712b
Forgot to remove the line
...
GIT_SILENT
2013-12-19 15:39:25 +01:00
Christophe Giboudeaux
26948d0cea
Fix includes
2013-12-19 15:23:02 +01:00
Christophe Giboudeaux
d71f581115
Remove unneeded includes
2013-12-19 15:23:02 +01:00
Àlex Fiestas
cddee3cbf2
Use KActionCollection::addAction instead of add<T>
...
I'm not sure for what reason this was changed but it is clearly wrong,
we don't want to create a new action but rather re-add (as the hack says)
the action we took before.
Fixes "Empty action" in toolbox.
2013-12-18 21:36:28 +01:00
Aleix Pol
1e9322500f
Define DNSSD as a dependency
2013-12-18 18:30:54 +01:00
Aleix Pol
32868d73d2
Revert "KDNSSD framework was renamed to DNSSD"
...
This reverts commit 493d19f362
.
My bad, sorry guys
2013-12-18 18:26:00 +01:00
Aleix Pol
493d19f362
KDNSSD framework was renamed to DNSSD
...
Adapt to the change
2013-12-18 18:18:10 +01:00
Alex Merry
de868b6047
Fix build now DNSSD is KDNSSD
2013-12-18 00:05:04 +00: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
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
Sebastian Kügler
c76b5137e2
Fix empty group operations
...
There appears to be a subtle change in KConfig*, which means that if a
config group is empty, it won't be listed in groupsMap. Since operations
files can have empty groups, which are simply calls without arguments,
these would not be listed, and thus not be callable at all.
Fix: Add a dummy item per group, not beautiful, but effectively makes it
work.
2013-08-14 03:29:46 +02:00
Sebastian Kügler
61fc0fece0
replace testcontainment with real desktopcontainment
...
Delete the testcontainment package, which is only one file + metadata
anyway.
This means that in order to run the default plasma-shell, an
installation of kde-workspace[frameworks-scratch] is needed.
2013-08-12 22:59:21 +02:00
Marco Martin
0978d2f73a
Merge branch 'mart/prettyStartupSequence'
...
Conflicts:
src/scriptengines/qml/plasmoid/containmentinterface.cpp
2013-08-12 14:42:58 +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
Sebastian Kügler
59ea65e859
Include QUrl instead of qurlpathinfo.h
...
Fixes build. Thanks to Teo for detective work! :)
CCMAIL:teo@kde.org
2013-08-09 17:06:41 +02:00
Sebastian Kügler
fd3f1eaa35
Reduce KDE4 usage in cmake setup
2013-08-09 05:22:20 +02:00
Sebastian Kügler
db9b0016d1
remove last remains of kdebug
2013-08-09 04:14:26 +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
Sebastian Kügler
7554419e1d
Remove K_EXPORT_PLUGIN macro from plasma/scripting
2013-08-07 02:52:37 +02:00
Sebastian Kügler
606c565f4a
Remove deprecated K_EXPORT_PLUGIN from libplasma
2013-08-07 02:50:20 +02:00
Kevin Ottens
418bcfa75a
Add missing includes
...
The latest changes to KImageCache are slightly source incompatible, so
some types have to be included earlier.
2013-08-06 18:59:47 +02:00
Vishesh Handa
cf445d2cdb
Plasma QueryMatch: Fix documentation about non existing parameter
2013-08-06 18:50:27 +05:30
Marco Martin
d654c68713
don't call a ctor from another
...
this should work with stricter compiler options
2013-08-06 15:06:07 +02:00
Sebastian Kügler
03045bbfd1
Allow a bit more time for copying,
...
should fix spurious failures on our build slaves
2013-08-05 17:59:32 +02:00
Sebastian Kügler
b89451fb25
Merge branch 'master' into sebas/kplugins
2013-08-05 16:30:23 +02:00
Chusslove Illich (Часлав Илић)
2e7c58b987
Temporary fix for translations location binding.
...
insertCatalog calls will not be used either way.
2013-08-05 11:19:11 +02:00
l10n daemon script
07181e036c
SVN_SILENT made messages (.desktop file)
2013-08-02 04:25:21 +00:00
Sebastian Kügler
3e35fe8baa
Fix multiline qDebug
2013-08-01 12:20:29 +02:00
Sebastian Kügler
d9aa851e17
Fix fallout from qDebug -> kDebug porting
...
* Multi-line debug statements were essentially broken
* There's still a bunch of #include "QDebug" in there, which seems wrong
* It's not necessary to comment most occurrences in src/plasma, since
they're wrapped wiht #ifdef NDEBUG already.
CCMAIL:ervin@kde.org
2013-08-01 12:15:38 +02:00
Sebastian Kügler
767cd813ae
Fix qDebug/kDebug port
...
Kevin, this apparently wasn't caught by your script. Just so you know.
:)
CCMAIL:ervin@kde.org
2013-08-01 11:47:01 +02:00
Sebastian Kügler
f034b84daf
add ctor back in that got lost during the merge
2013-07-30 21:31:12 +02:00
Sebastian Kügler
b9dec2cd99
Use kservice test as well
2013-07-30 21:26:47 +02:00
Sebastian Kügler
fd65125a24
Change macro name according to change in kdelibs
2013-07-30 21:26:16 +02:00
Kevin Ottens
0e590217f8
Port away from kdebug
2013-07-30 08:05:09 +02:00
Sebastian Kügler
839c271535
Merge branch 'master' into sebas/kplugins
2013-07-30 01:09:40 +02:00
Sebastian Kügler
33e7bc3f90
QVL is not needed in private parts
2013-07-29 17:25:08 +02:00
Sebastian Kügler
bed3980eba
Add macro for metadata handling, clean up
2013-07-29 17:22:59 +02:00
Sebastian Kügler
8da8375802
brutally add KDE4Attic
2013-07-29 11:50:47 +02:00
Sebastian Kügler
66a0a5d4e7
Clean up some KDE4-specific calls
2013-07-29 00:39:32 +02:00
Sebastian Kügler
6aeac53535
Remove QVariantList from DataEngine ctor
2013-07-28 13:06:32 +02:00
Sebastian Kügler
d3b9cf5f35
merge
2013-07-25 14:45:49 +02:00
Kevin Ottens
c42406cabc
Pull in the KDE4Attic dependency
2013-07-25 11:54:15 +02:00
Martin Gräßlin
20b9d17e4c
Adjust RunnerManager to new ThreadWeaver API using JobPointer
...
ThreadWeaver does not use Job* anymore which made the code compile fail
and some connects being wrong.
This patch adjusts RunnerManager to also use QSharedPointer<FindMatchJob>
instead of FindMatchJob*. It simplifies a few things as we do no longer
have to call e.g. qDeleteAll and fixes the incorrect connects.
REVIEW: 111650
2013-07-25 06:58:21 +02:00
l10n daemon script
07df8225d8
SVN_SILENT made messages (.desktop file)
2013-07-23 04:05:37 +00:00
Sebastian Kügler
1ac357d06b
pimp plugintest -- all work
2013-07-23 03:28:37 +02:00
Sebastian Kügler
7a4a2c438f
Clean up dataengine ctor
2013-07-23 01:49:13 +02:00
Sebastian Kügler
20aab89cd7
test name has changed
2013-07-23 01:30:52 +02:00
Sebastian Kügler
58b0398089
test name streamlined
2013-07-23 00:33:22 +02:00
Sebastian Kügler
f1f2c0518b
Disable non-compiling line, add warning
2013-07-22 23:34:29 +02:00
Sebastian Kügler
c7927b907b
Merge branch 'master' into sebas/kplugins
2013-07-22 16:37:25 +02:00
Sebastian Kügler
3894e8989e
Adapt to new threadweaver API
...
dequeueRaw is not yet in threadweaver, so this commit goes from "doesn't
build" to "almost builds", it will fix itself once Mirko has committed
the dequeueRaw patch to threadweaver, however.
2013-07-22 14:13:45 +02:00
Sebastian Kügler
668a1bc05e
Merge branch 'master' into sebas/kplugins
2013-07-16 17:49:21 +02:00
Benjamin Port
ec8cb5662b
Remove include dirs for ki18n not needed anymore with Target
2013-07-16 11:05:03 +02:00
Benjamin Port
a730d47c3c
fix build (ki18n rename)
2013-07-15 16:01:59 +02:00
Benjamin Port
239d12360c
kprotocolinfo header not in kio/ anymore
2013-07-15 15:24:25 +02:00
l10n daemon script
f8c4a90b14
SVN_SILENT made messages (.desktop file)
2013-07-14 04:18:53 +00:00
Sebastian Kügler
84cd704368
Merge branch 'master' into sebas/kplugins
2013-07-12 10:35:09 +02:00
Alex Neundorf
454bf83be3
-adapt to current changes in kdelibs regarding kde4support: use ${KDE4Support_LIBRARIES} when using it
...
Search for KDE4Support, but after searching KDELibs4, this is hackish, but currentlx necessary due to
cyclic dependencies we still have
Alex
2013-07-11 22:57:04 +02:00
Sebastian Kügler
20e67f4db6
Merge branch 'master' into sebas/kplugins
...
Conflicts:
CMakeLists.txt
2013-07-10 03:48:15 +02:00
Sebastian Kügler
d56bf246de
Port PluginLoader from KStandardDirs to QStandardPaths
2013-07-10 03:27:19 +02:00
Sebastian Kügler
0822e4cb9e
Applet::globalShortcut becomes QKeySequence
...
- Port away from KShortcut
- Use QKeySequence instead of QShortcut (which might be the obvious
choice, for two reasons:
- QKeySequence doesn't require QWidgets
- It's really all we need
This reduces KShortcut and QShortcut usage in plasma-framework to zarro.
2013-07-10 02:33:28 +02:00
Sebastian Kügler
843ad0b429
Remove kmenu include -- reduces warnings
2013-07-10 02:32:30 +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
Sebastian Kügler
fc2afcb9a1
Port global applet shortcut from KAction to QAction
...
- use QAction instead of KAction
- use KGlobalAccel for global shortcut registration and query
2013-07-10 01:45:41 +02:00
Sebastian Kügler
e02925b7b5
Use QAction internally in defaultActions()
2013-07-10 00:15:55 +02:00
Sebastian Kügler
46cbf56226
Use module name in includes
2013-07-10 00:12:26 +02:00
Sebastian Kügler
aff9c00761
KMenu becomes QMenu throughout
2013-07-10 00:12:26 +02:00
Sebastian Kügler
6edfe46e56
Use QAction internally in defaultActions()
2013-07-10 00:11:58 +02:00
Sebastian Kügler
21c04fd3d3
Merge branch 'master' into sebas/kplugins
...
Conflicts:
CMakeLists.txt
2013-07-09 02:34:36 +02:00
Sebastian Kügler
ca3d78dd46
Use module name in includes
2013-07-09 01:50:34 +02:00
Sebastian Kügler
ca5c059ecf
KMenu becomes QMenu throughout
2013-07-09 00:55:03 +02:00
Sebastian Kügler
e9a459a262
Instantiate KPluginInfo from args
...
This uses the new ctor in KPluginInfo, which handles the args passed
from KPluginLoader nicely and constructs a KPluginInfo from them.
2013-07-04 02:58:26 +02:00
Sebastian Kügler
5d41347527
Experiment with loading the KPluginInfo from the plugin's metadata
2013-07-03 05:13:25 +02:00
Sebastian Kügler
8b2eae67c5
Add missing cmake file
2013-07-01 13:51:04 +02:00
Sebastian Kügler
07c17812ca
Merge branch 'master' into plugins
...
Conflicts:
CMakeLists.txt
2013-07-01 04:17:09 +02:00
Sebastian Kügler
a21400096a
Load the time engine from the KService
2013-06-29 05:50:59 +02:00
Sebastian Kügler
9035691567
Adjust test to new api
2013-06-29 05:50:59 +02:00
Sebastian Kügler
6c0a13f3b1
use create factory
2013-06-29 05:50:59 +02:00
Sebastian Kügler
849d0a2b17
header has changed
2013-06-29 05:50:59 +02:00
Sebastian Kügler
dac60f8ab8
Load the time engine and get data out of it.
2013-06-29 05:50:59 +02:00
Kevin Ottens
12b2cdd19a
Now this returns true
2013-06-27 18:36:20 +02:00
Kevin Ottens
c36c625d9c
Port away from KUrl
2013-06-27 16:39:03 +02:00
Sebastian Kügler
dc94c2c83b
Add pluginstest to build
2013-06-24 15:24:33 +02:00
Sebastian Kügler
7830cad43c
small test app for plugin loading
...
Loads a dataengine right now, for testing purposes of KPlugin*
2013-06-24 15:23:45 +02:00
Sebastian Kügler
6389825172
User Q_ macros for signals and slots
2013-06-21 02:22:02 +02:00
Sebastian Kügler
cd7f92e648
Port libplasma unit tests to ECM macros
2013-06-19 02:06:55 +02:00
Andrea Scarpino
0ea93fd3d3
MacroLogFeature has been removed. See ECM_SouceIncompatChanges
...
REVIEW:111074
2013-06-17 21:43:59 +02:00
Sebastian Kügler
22d261759b
Fix up library finding
...
* Generate and install and include PlasmaTargets.cmake file
* set Plasma_LIBRARIES to KF5::plasma
-> kde-workspace build works for me.
2013-06-13 16:01:06 +02:00
Marco Martin
50ee44b70d
Merge branch 'PlasmaTypesClass'
2013-06-12 11:24:03 +02:00
l10n daemon script
6b185d2ba4
SVN_SILENT made messages (.desktop file)
2013-06-08 03:48:30 +00:00
Gregor Tätzner
ad6f58a16c
Fix build error: convert qdatetime to uint
2013-06-05 19:41:58 +02:00
Aaron Seigo
3074728198
missing const
2013-06-05 16:03:54 +02:00
Aaron Seigo
57fc52b385
forward port the cache file versioning so it drops properly in all cases
2013-06-05 15:58:51 +02:00
Kevin Ottens
9d93cb7ccc
Those files are gone, don't try to install them
2013-05-22 11:06:21 +02:00
Marco Martin
e258111e68
remove some services of deleted stuff
...
such as wallpapers and toolboxes
2013-05-21 12:02:42 +02:00
Script Kiddy
8df122a0f6
SVN_SILENT made messages (.desktop file)
2013-05-20 09:04:00 +02:00
Marco Martin
f22e4be172
fix startupcompleted constraints
...
use the new panel toolbox
2013-05-16 13:08:05 +02:00
Alex Merry
98130b33fe
Add the "theme" directory to the plasmoid directory structure
...
This adds an extra step to the lookup of SVG images created with the
Svg() global function: after looking in images/ in the plasmoid and then
in the desktop theme, it looks in theme/$DESKTOP_THEME_NAME and then
theme/ in the plasmoid.
This allows plasmoid authors to add images that they want to allow theme
authors to override.
Forward-port of review request 109857.
2013-05-16 13:05:04 +02:00
Alex Merry
ba1a7d0d35
Fix debug build
...
Fix a pointer-dereference of a non-pointer variable.
2013-05-16 13:05:04 +02:00
Marco Martin
749d8d900c
add private ctor
2013-05-15 19:56:13 +02:00
Marco Martin
aa2c4a6595
add all Q_ENUMS in Plasma::Types
2013-05-15 19:48:44 +02:00
Marco Martin
40fd2f23ca
Rename BackgroundHints
2013-05-14 21:02:54 +02:00
Marco Martin
13045faffa
rename ItemStatus
2013-05-14 20:49:50 +02:00
Marco Martin
6e113e6176
rename MarginEdge
2013-05-14 20:37:16 +02:00
Marco Martin
8f2e5b2375
renamed ComponentType
2013-05-14 20:33:34 +02:00
Marco Martin
7761a995f2
rename ImmutabilityType
2013-05-14 20:27:32 +02:00
Marco Martin
aad4945cf8
rename PopupPlacement
2013-05-14 19:16:37 +02:00
Marco Martin
7b3c29ee07
rename Plasma::Position
2013-05-14 19:08:43 +02:00
Marco Martin
6b4d1f31d1
rename Plasma::Direction
2013-05-14 18:44:12 +02:00
Marco Martin
52b42a247e
rename Plasma::ActionType
2013-05-14 18:39:07 +02:00
Marco Martin
c90e6d23cf
rename Plasma::ContainmentType
2013-05-14 18:34:40 +02:00
Marco Martin
812b9a06ab
get rid of Plasma::Location
2013-05-14 18:27:27 +02:00
Marco Martin
9b9fbf6eb9
get rid of Plasma::FormFactor
2013-05-14 18:19:33 +02:00
Marco Martin
ad2fe77745
get rid of Plasma::Constraint
2013-05-14 18:08:58 +02:00
Marco Martin
bc5d14ddb1
fix startupcompleted constraints
...
use the new panel toolbox
2013-05-13 14:25:57 +02:00
Alex Merry
33d41aea3d
Add the "theme" directory to the plasmoid directory structure
...
This adds an extra step to the lookup of SVG images created with the
Svg() global function: after looking in images/ in the plasmoid and then
in the desktop theme, it looks in theme/$DESKTOP_THEME_NAME and then
theme/ in the plasmoid.
This allows plasmoid authors to add images that they want to allow theme
authors to override.
Forward-port of review request 109857.
2013-05-11 12:30:07 +01:00
Alex Merry
355a95fe92
Fix debug build
...
Fix a pointer-dereference of a non-pointer variable.
2013-05-11 12:24:24 +01: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
Script Kiddy
efd78e230e
SVN_SILENT made messages (.desktop file)
2013-05-09 09:23:56 +02:00
Aaron Seigo
001d88a0a4
bump the v#
2013-05-07 12:32:05 +02:00
Script Kiddy
2160fa2c71
SVN_SILENT made messages (.desktop file)
2013-05-06 09:33:23 +02:00
Script Kiddy
051ed6c8ed
SVN_SILENT made messages (.desktop file)
2013-05-04 09:56:14 +02:00
Sebastian Kügler
a8ac6ab694
Add Plasma/Generic servicetype
...
This irons out an asymmetry: Plasma/Generic was never read from
KService, as the service type wasn't registered, we just looked it up in
the right directory.
This patch allows us to use KService to list packages, the
installPackage cmake macro installs the service files for us already.
Apps that look up the package in the "right path" still work.
2013-05-02 23:54:11 +02:00
Marco Martin
1137b4ea5c
remove associated items/widgets
2013-05-02 19:02:06 +02:00
Marco Martin
8f61ecbe49
remove operationsChanged signal
2013-05-02 18:13:05 +02:00
Marco Martin
4397a6c06d
add operationEnabledChanged signal
2013-05-02 18:11:20 +02:00
Marco Martin
08ed91d7e0
Data is a QVariantmap again
...
this means that DataEngines and the Storage Service are directly usable from QML2 again
2013-05-02 18:02:38 +02:00
Marco Martin
465c202b9b
remove dead code
2013-05-02 17:42:07 +02:00