Kevin Ottens
72ba7b4146
Apply the astyle-kdelibs script
2014-04-26 01:48:37 +02:00
Aurélien Gâteau
43e2b0f670
Unbreak build of code using plasma-framework
...
plasma_export.h is now installed in include/plasma/, not in include/.
Code using plasma-framework does not have include/plasma in its include
directory list, so plasma-framework headers must refer to others using
</plasma/foo.h>, not "foo.h".
CCMAIL: aleixpol@kde.org
2014-03-18 12:01:36 +01:00
Aleix Pol
2ef12f1ee8
More headers tweaking
...
Don't install the camel-case headers twice
Look for the plasma_export.h in the current directory instead of jumping
around in the project.
2014-03-17 16:48:49 +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
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
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
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
Marco Martin
3bfbc31381
remove some not used includes
2013-03-13 11:32:00 +01:00
Marco Martin
aa3652ec86
make svg stylesheet private
...
there isn't anymore the "SVG" magic parameter in Theme:: styleSheet()
2013-03-12 21:45:14 +01:00
Marco Martin
fd97160327
remove the singleton usage from everywhere
2013-03-12 16:29:04 +01:00
Marco Martin
3edbe10c8c
make ThmemePrivate a QObject
...
and remove every reference of ThemePrivate::q, this is needed for
sharing the same ThemePrivate between Thme einstances (there would be more then one q)
2013-03-11 20:20:50 +01:00
Marco Martin
4d71b527dc
move ThmemePrivate in own file
...
it will make easier making it implicitly shared
2013-03-11 19:24:07 +01:00
Marco Martin
44781d4b35
make settingsChanged() private
2013-03-11 18:08:03 +01:00
Marco Martin
b7a079f87d
replace homepage() with pluginInfo()
...
a KPluginInfo will have the homepage from the desktop file but also the other data as well such as author and description
2013-03-11 18:01:22 +01:00
Marco Martin
ae120ba02d
remove useNativeWidgetStyle
2013-03-11 17:44:00 +01:00
Marco Martin
62c8a7b500
don't expose windowTranslucencyEnabled
2013-03-11 17:39:42 +01:00
Marco Martin
bf79616342
get rid of the FontRole enum
2013-03-11 17:15:25 +01:00
Marco Martin
74d1a62bdd
remove fonts from Plasma::Thmeme
...
replace FontProxy with default QFont QML2 bindings
2013-03-11 16:59:39 +01:00
Marco Martin
f07387267a
remove fontMetrics()
2013-03-11 16:08:37 +01:00
Marco Martin
d0b4b462f0
remove properties and invokables from Theme
2013-03-11 16:03:05 +01:00
Aaron Seigo
961dd4d6ce
make setting a custom max cache size work
...
replaces the data member for tooltip, which API has been removed
2013-03-11 14:35:47 +01:00
Sebastian Kügler
f429f83153
typos--
2013-03-11 13:07:54 +01:00
Sebastian Kügler
7dfe957e66
The Big Move
...
All cpp code moves into the src/ subdirectory, as the Frameworks policy
suggests.
Directory structure should now be in line with other, future frameworks.
2013-02-14 17:17:12 +01:00