Plasma Containment default setting

Aaron J. Seigo aseigo at kde.org
Sun Jun 17 17:17:51 UTC 2012


On Saturday, June 16, 2012 21:30:54 Varun Herale wrote:
> I am trying to load the current desktop containment info from a
> KConfigGroup object. But because by default the isContainment member is set
> as false I am not able to do this.

how exactly are you doing this? can you share some code with us?

> Why is the isContainment member inherited from AppletPrivate class set as
> false for an object of Containment Class ?

it is only set to false when it is loaded as an applet rather than a 
containment.

remember: containments are also plasmoids! that's how folderview can do its 
magic.

> Also, is there any other way to load current desktop containment
> information into a Containment object ?

no. what are you trying to accomplish? (there may be a better way to do 
whatever it is you are trying to do..)

-- 
Aaron J. Seigo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20120617/fcf722fb/attachment.sig>


More information about the Plasma-devel mailing list