Commit Graph

80 Commits

Author SHA1 Message Date
Aaron J. Seigo
e93021bbb8 don't exec the job, rely on the app to do the right thing (KGlobal ref/deref);
also don't bother with empty keys (mandelbrot paper was pulling that stunt ;)

svn path=/trunk/KDE/kdelibs/; revision=953897
2009-04-14 17:37:40 +00:00
Aaron J. Seigo
e58c7051ab if targetSize is in lock step with the boundingRect size, then change them together
svn path=/trunk/KDE/kdelibs/; revision=953300
2009-04-13 17:01:12 +00:00
Aaron J. Seigo
dc7bd9bbb5 exec the job; it's a simple operation (remove a file) and this works when the application is about to quit. i wonder if there's a way to manually flush kio jobs on app exit? i don't really want this to be exec'd, i just want to be sure that the job is started!
svn path=/trunk/KDE/kdelibs/; revision=953292
2009-04-13 16:39:42 +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
Aaron J. Seigo
16e41bf2be only mark it as initialized after the first run of init()
svn path=/trunk/KDE/kdelibs/; revision=951209
2009-04-08 17:26:22 +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
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
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
a7aebfa60a a bunch more coding style fixes. still some lines longer than 100 chars.
this is definitely helping me find false positives in the Krazy style checker.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870161
2008-10-11 22:48:38 +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
ddf2c2cf5d we actually need to set the d->mode member here; background selector works again
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849986
2008-08-20 15:21:53 +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
Aaron J. Seigo
fae3b85557 * make init just take the KConfigGroup, make it protected
* introduce restore, which takes both the KConfigGroup and the mode to use and calls init; this is public and retains the save/restore symmetry seen elsewhere in the library

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849899
2008-08-20 12:44:39 +00:00
Petri Damstén
0a2eb79e61 Wallpaper API changes:
- modes -> renderingModes
- remove modeName & modeIcon
- add config group to init for reading config
- add save for config saving

Update containment for api changes.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849801
2008-08-20 08:06:34 +00:00
Aaron J. Seigo
0e22094ff0 build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845850
2008-08-12 13:58:26 +00:00
Aaron J. Seigo
fe4c7f7a09 clarity in the api
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845846
2008-08-12 13:53:58 +00:00
Laurent Montel
37c674d93d Fix mem leak
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842877
2008-08-06 06:45:23 +00:00
Aaron J. Seigo
5c9c48ef75 forward mouse move, press and release events to the wallpaper
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842825
2008-08-06 01:59:44 +00:00
Aaron J. Seigo
b46dd9832f make consistent with Applet API
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842643
2008-08-05 17:37:42 +00:00
Petri Damstén
0183db7d30 Base for Plasma::Wallpaper plugins.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842590
2008-08-05 15:27:48 +00:00