From kde-devel Wed Mar 25 19:39:00 2009 From: David Boosalis Date: Wed, 25 Mar 2009 19:39:00 +0000 To: kde-devel Subject: ? about Plasma::Container.setWallpaper(); Message-Id: <870c99310903251239qa68a5a4m6eff92158f6af83a () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-devel&m=123801000827321 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0791820102==" --===============0791820102== Content-Type: multipart/alternative; boundary=0016e64135bcba4a240465f6a6ba --0016e64135bcba4a240465f6a6ba Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit The arguments for the method of Plasma::Container.setWallpaper(QString &pluginName,QString &mode=QString()) are a bit vague in the api documentation. The first argument is pluginName, being that the method is setWallpaper, I thought it was something like "Air", but in looking at the .cpp for the containment class it looks like you first must read a config entry for wallpaper plugin and then pass it as this argument. If I want a container to have a customized wallpaper do I use the setWallpaper? If so how do I specify my own wallpaper like "/usr/share/wallpapers/mywallpaper.jpg" As always, thanks for any help -David --0016e64135bcba4a240465f6a6ba Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The=A0 arguments for the method of Plasma::Container.setWallpaper(QString &= amp;pluginName,QString &mode=3DQString()) are a bit vague in the api do= cumentation.

The first argument is pluginName, being that the method= is setWallpaper, I thought it was something like "Air", but in l= ooking at the .cpp for the containment class it looks like you first must r= ead a config entry for wallpaper plugin and then pass it as this argument. = =A0=A0

If I want a container to have a customized wallpaper do I use the setWa= llpaper?=A0 If so how do I specify my own wallpaper like
"/usr/sha= re/wallpapers/mywallpaper.jpg"

As always, thanks for any help -David
--0016e64135bcba4a240465f6a6ba-- --===============0791820102== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0791820102==--