This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[KDE4][C++/Qt] Change wallpaper

Tags: None
(comma "," separated)
Chaser
Registered Member
Posts
6
Karma
0
OS

[KDE4][C++/Qt] Change wallpaper

Wed Feb 10, 2010 12:49 pm
Hi!
I am writing an application on C++/Qt to automatically change the wallpaper on your desktop in different DE. So, how can I change the wallpaper to the simplest method from my program?
I found information that I need to use
Code: Select all
class PLASMA_EXPORT Wallpaper: QObject
{
public:
...
  static Wallpaper* load(...);
...
}


in #include <Plasma/Wallpaper>

but I do not fully understand, how I must use this. Somebody know?

P.S. Sorry for my bad English
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: [KDE4][C++/Qt] Change wallpaper

Wed Feb 10, 2010 8:03 pm
I would recommend asking in #plasma on Freenode regarding this.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

Re: [KDE4][C++/Qt] Change wallpaper

Fri Feb 12, 2010 9:05 pm
The old KDE desktop implementation, kdesktop, had a DCOP interface for doing that.
Plasma-desktop could have a similar D-Bus interface.

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
Chaser
Registered Member
Posts
6
Karma
0
OS

Re: [KDE4][C++/Qt] Change wallpaper

Fri Feb 12, 2010 9:24 pm
anda_skoa wrote:The old KDE desktop implementation, kdesktop, had a DCOP interface for doing that.
Plasma-desktop could have a similar D-Bus interface.

Cheers,
_


I know, but I can not find the D-Bus method of changing the wallpaper.
pinotree
KDE Developer
Posts
222
Karma
7
OS

Re: [KDE4][C++/Qt] Change wallpaper

Fri Feb 12, 2010 10:42 pm
anda_skoa wrote:Plasma-desktop could have a similar D-Bus interface.

But it does not have it, yet.


Pino Toscano
Chaser
Registered Member
Posts
6
Karma
0
OS

Re: [KDE4][C++/Qt] Change wallpaper

Thu May 20, 2010 10:35 am
Who know, when will be added support D-Bus in Plasma?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]