Commit Graph

58 Commits

Author SHA1 Message Date
Aaron Seigo
97743420a0 add a wallpaper render that takes a pre-loaded QImage. FAR FAR faster than re-loading from disk if already in memory.
new API (new overload, really), but required to fix iperformance issues elsewhere, so considered a bug fix
2011-10-30 10:24:57 +01:00
Aaron Seigo
064b78d8b1 only allow valid values for the resize method, and add missing getters 2011-09-19 16:18:52 +02:00
Frederik Schwarzer
5c0d0e8e8e Replace doxygen tag @arg by @param.
The @param doxygen tag is formatted way nicer and should be used
throughout our apidox.

REVIEW: 101596
2011-06-13 14:47:29 +02:00
Aaron Seigo
b0ef0e7991 wallpaper thrading simplifications 2011-04-30 17:17:44 +02:00
Patrick Spendrin
77da0f9c15 only deprecate function, do not export twice 2011-01-30 21:04:43 +01:00
Aaron J. Seigo
f721ef40fc see if a wallpaper plugin can handle (import, display, etc) a given mimetype; this may be different from the drop types supported!
svn path=/trunk/KDE/kdelibs/; revision=1217338
2011-01-26 20:08:35 +00:00
Aaron J. Seigo
abae2d7686 provide compat with wallpapers that implement a slot connection to urlDropped
svn path=/trunk/KDE/kdelibs/; revision=1217118
2011-01-25 20:51:53 +00:00
Sinny Kumari
30b570357f Make wallpaper capable of setting particular Image
http://svn.reviewboard.kde.org/r/6375/

svn path=/trunk/KDE/kdelibs/; revision=1216005
2011-01-20 19:50:11 +00:00
Aaron J. Seigo
1217cd2c19 a better name, so that upon reading it is clear that there is a signal called renderCompleted as well as a slot (by changing the name of the (private) slot to something other than renderCompleted)
svn path=/trunk/KDE/kdelibs/; revision=1206548
2010-12-14 22:18:56 +00:00
Marco Martin
0d2681a23d the monitor preview becomes optional, with Wallpaper::setPreviewDuringConfiguration() (default off)
image uses it just for slideshows

together with the previous related commits,
FEATURE: new appearance to the background config dialog

svn path=/trunk/KDE/kdelibs/; revision=1162831
2010-08-12 19:51:39 +00:00
Aaron J. Seigo
786913a995 a complete wtf, don't know how this one got past all of us (esp me :/)
svn path=/trunk/KDE/kdelibs/; revision=1103759
2010-03-15 20:39:24 +00:00
Aaron J. Seigo
35113fd94e SVN_SILENT: missing @since
svn path=/trunk/KDE/kdelibs/; revision=1099154
2010-03-05 01:25:58 +00:00
Aaron J. Seigo
2ca8a1d2ee allow telling the wallpaper that it is in previewing mode
BUG:229450

svn path=/trunk/KDE/kdelibs/; revision=1099127
2010-03-05 00:54:30 +00:00
Davide Bettio
3411b5c8cd This commit adds support to multiple render threads in Plasma::Wallpaper and rendering queuing support.
This commit will fix at least one bug (but it might fix more bugs as side effect).
http://reviewboard.kde.org/r/3092/

svn path=/trunk/KDE/kdelibs/; revision=1098658
2010-03-04 01:33:19 +00:00
Yuen Hoe Lim
296f30394a Added appropriate '@since 4.4' comment to Wallpaper::setContextualActions().
svn path=/trunk/KDE/kdelibs/; revision=1060342
2009-12-08 15:52:54 +00:00
Petri Damstén
289b9ac1eb Add WallpaperScript.
Review: http://reviewboard.kde.org/r/1984/

svn path=/trunk/KDE/kdelibs/; revision=1042086
2009-10-29 05:54:11 +00:00
Carlo Segato
608c6b9492 fix little typo in the doc
svn path=/trunk/KDE/kdelibs/; revision=1034661
2009-10-13 09:48:32 +00:00
Yuen Hoe Lim
2a5325af51 Amendments to Plasma::Wallpaper for wallpaper contextual actions support.
svn path=/trunk/KDE/kdelibs/; revision=1034320
2009-10-12 13:01:51 +00:00
Aaron J. Seigo
860e54d92c support wallpaper drops
svn path=/trunk/KDE/kdelibs/; revision=1019584
2009-09-03 23:22:48 +00:00
Aaron J. Seigo
e41352c6ec move our data files into a common place with some decent organization
svn path=/trunk/KDE/kdelibs/; revision=1019549
2009-09-03 20:40:22 +00:00
Aaron J. Seigo
70b367d7df some more details and clarity
svn path=/trunk/KDE/kdelibs/; revision=981646
2009-06-13 21:49:15 +00:00
Chani Armitage
e0bb0238cd SVN_SILENT grammar
svn path=/trunk/KDE/kdelibs/; revision=973384
2009-05-27 00:14:48 +00:00
Aaron J. Seigo
170e38756f usingDiskCache -> usingRenderingCache; removes the implementation detail that it's caching to a disk from the method names; also revert the eroneous setter i added to Wallpaper, it was already there as isUsingRenderingCache
svn path=/trunk/KDE/kdelibs/; revision=967627
2009-05-13 16:13:56 +00:00
Aaron J. Seigo
ba9927eadf add a getter and a Q_PROPERTY for the caching setting
svn path=/trunk/KDE/kdelibs/; revision=967619
2009-05-13 16:03:59 +00:00
Frederik Gladhorn
02403bf182 add some api dox
svn path=/trunk/KDE/kdelibs/; revision=954563
2009-04-15 22:30:15 +00:00
Jonathan Michael Thomas
f2996a2da2 SVN_SILENT: Fix small typo in apidox
svn path=/trunk/KDE/kdelibs/; revision=953304
2009-04-13 17:33:23 +00:00
Aaron J. Seigo
b2138871bd add a fairly useful detail to the apidox on this method
svn path=/trunk/KDE/kdelibs/; revision=952061
2009-04-10 19:52:16 +00:00
Aaron J. Seigo
9f7edec998 expose the caching for wallpapers that don't use render() to use
svn path=/trunk/KDE/kdelibs/; revision=952060
2009-04-10 19:49:33 +00:00
Benoît Jacob
094aa403cd typo
svn path=/trunk/KDE/kdelibs/; revision=951160
2009-04-08 15:06:47 +00:00
Aaron J. Seigo
affc3e90aa allow setting of rendering hints, follow them in the package
svn path=/trunk/KDE/kdelibs/; revision=950429
2009-04-07 07:18:58 +00:00
Aaron J. Seigo
8a527b7b09 * move Wallpaper::Private to its own class
* introduce a default ctor for Wallpaper
* allow associating a Wallpaper PackageStructure with a Wallpaper object so that the structure can pull info from the paper

svn path=/trunk/KDE/kdelibs/; revision=950410
2009-04-07 05:45:20 +00:00
Aaron J. Seigo
bb5a57bc26 we can't queue signals with our own enum type, but since this is all internal to the lib and doesn't ever escape into the public API, just pass it around as an int.
svn path=/trunk/KDE/kdelibs/; revision=948269
2009-04-02 17:21:42 +00:00
Aaron J. Seigo
1f1600e406 * renderComplete -> renderCompleted
* remove some unused members

svn path=/trunk/KDE/kdelibs/; revision=948068
2009-04-02 06:48:30 +00:00
Aaron J. Seigo
ef99d85b29 better method names; kisses to ervin
svn path=/trunk/KDE/kdelibs/; revision=948067
2009-04-02 06:43:40 +00:00
Aaron J. Seigo
1c62ca5b79 introduce wallpaper image rendering into libplasma so it can be shared amongst all wallpaper plugins; most of the plugins are duplicating this code which can't be good. :)
next up is to port the Image wallpaper plugin to this and make sure it all still works and then look at bringing the wallpaper listing model/view somewhere all the plugins can share it for their configuration needs

svn path=/trunk/KDE/kdelibs/; revision=948064
2009-04-02 06:31:37 +00:00
Aaron J. Seigo
04f8e295b7 make the wallpaper stuff a bit more robust and integrated around configuration issues
svn path=/trunk/KDE/kdelibs/; revision=948052
2009-04-02 04:15:50 +00:00
Aaron J. Seigo
5d29960ad8 @since; and why do i keep wanting to put 4.4?
svn path=/trunk/KDE/kdelibs/; revision=947637
2009-04-01 00:04:57 +00:00
Aaron J. Seigo
89b70374c3 abstract the bit of data engine management code out into a small class that the private classes can then subclass, and add dataEngine(const QString &) to Wallpaper
svn path=/trunk/KDE/kdelibs/; revision=947636
2009-03-31 23:51:52 +00:00
Alex Merry
9c1570f13e apidocs fixes.
Remember to document ALL parameters to methods.  They may seem obvious to you, but I had to look at the code for at least two of the methods in order to document their parameters correctly.

*waves stick of EBN-ness*


svn path=/trunk/KDE/kdelibs/; revision=908604
2009-01-10 00:08:31 +00:00
Aaron J. Seigo
4b08c03726 change KDE includes to use the .h style now that we're in libs
svn path=/trunk/KDE/kdelibs/; revision=879795
2008-11-04 02:04:34 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Aaron J. Seigo
390f76d33a prepare Wallpaper for delay init: add a setRenderingMode and an isInitialized
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872753
2008-10-18 01:30:52 +00:00
Allen Winter
e88e2faa63 first batch of small coding style fixes.
these were found while testing the Krazy style checker, which I'm adapting
for the kdelibs style.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870051
2008-10-11 16:19:04 +00:00
Richard Dale
99c4e2d034 * The Plasma::Wallpaper class has two properties called 'boundingRect', so drop
one of them

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860368
2008-09-12 20:14:51 +00:00
Aaron J. Seigo
72aff55a52 it's wheelEvent, not mouseWheelEvent
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857248
2008-09-05 04:33:40 +00:00
Benoît Jacob
6d24078bc7 Forward wheel events to the wallpaper
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857101
2008-09-04 18:11:46 +00:00
Aaron J. Seigo
02c5028f8c make it possible for the wallpaper to accept mouse clicks, thereby getting mouse moves
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856723
2008-09-03 16:46:01 +00:00
Alex Merry
e293d7d785 Specify includes in apidocs, so we get
#include <Plasma/Foo>
at the top of the apidocs pages.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Aaron J. Seigo
ab52f8c294 make save take a KConfigGroup by ref, like all the other save methods in the library
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849909
2008-08-20 13:11:01 +00:00