Bug 164958

Summary: make desktop containment functionality public
Product: [Plasma] plasma4 Reporter: David Palacio <dpalacio>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: CLOSED NOT A BUG    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description David Palacio 2008-06-25 20:38:52 UTC
Version:            (using KDE 4.0.83)
Installed from:    Compiled From Sources

The desktop containment functionality should be made public either by creating «public slots» or «dbus» calls. For example:
* QString currentWallpaper();
* void nextWallpaper();

This would make possible an applet that switches wallpapers.
Comment 1 Chani 2008-06-26 01:38:51 UTC
actually, we're planning to have a plugin system in 4.2 for handling wallpaper.
dbus does sound like a nice idea, although I haven't thought it through and I've no idea how easy/hard it would be with multiple containments and such...
Comment 2 David Palacio 2008-12-02 15:54:03 UTC
«public slots», gah! I actually read Qt's documentation and it does not care about visibility when it is about connections.

I have made a simple applet that changes wallpapers and can deal with a single containment among many.

http://github.com/dpalacio/plasma-nextwallpaper/tree/master

Now to see if it can be translated to QtScript.