Commit Graph

68 Commits

Author SHA1 Message Date
David Faure
2365f2c657 Some KUrl-QUrl porting. 2012-03-11 10:34:38 +01:00
Aaron Seigo
2c7751ccef Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
Conflicts:
	CMakeLists.txt
	kio/kio/kfileitem.cpp
	plasma/datacontainer.cpp
	plasma/datacontainer.h
	plasma/private/wallpaper_p.h
	plasma/private/wallpaperrenderthread.cpp
2011-10-30 10:44:59 +01:00
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
David Faure
23d42f2724 Remove unused include 2011-09-25 18:55:05 +02:00
Stephen Kelly
9fca702bb0 Merge remote-tracking branch 'origin/KDE/4.7' into frameworks 2011-09-22 17:04:54 +02:00
Aaron Seigo
064b78d8b1 only allow valid values for the resize method, and add missing getters 2011-09-19 16:18:52 +02:00
Aaron Seigo
8d5cd041c0 no longer provide access to the package from the class, let Package do that; adapt to Package merge 2011-07-15 12:58:06 +02:00
Aaron Seigo
05834d8144 Merge remote-tracking branch 'origin/master' into libplasma2
Conflicts:
	plasma/CMakeLists.txt
	plasma/abstractrunner.h
	plasma/animator.h
	plasma/glapplet.h
	plasma/package.h
	plasma/packagemetadata.h
	plasma/packagestructure.h
	plasma/tooltipcontent.cpp
	plasma/tooltipcontent.h
	plasma/wallpaper.h
2011-07-11 21:56:41 +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
cfdccb7968 addUrls becomes virtual, setUrls is dropped 2011-05-18 16:04:50 +02:00
Aaron Seigo
3e236c281a remove the dropUrls approach 2011-05-18 15:08:07 +02:00
Aaron Seigo
5aa1e5865b mimetype -> MimeType 2011-05-06 12:23:42 +02:00
Aaron Seigo
6112778ca1 remove protected member 2011-05-06 11:57:49 +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