power management settings mockup

Kevin Ottens ervin at kde.org
Mon Sep 15 23:13:10 CEST 2008


Le Friday 12 September 2008, Aaron J. Seigo a écrit :
> On Friday 12 September 2008, Sebastian Kügler wrote:
> > Hm, now you mention it ... dunno where it is.  It should probably be in
> > the Solid powermanagement classes (not sure if it's in there already, or
> > if we need to poke Kevin :). It's in the FDO powermanagement API, at
> > least.
>
> ok, i'll see if i can get Kevin to give me a hint on it and then i'll add
> it to KPC.

The API is already there but not working yet (I need to connect the right bits 
of libsolid leading to powerdevil first). Basically what you need is to look 
at:
Solid::PowerManagement::beginSuppressingSleep()
Solid::PowerManagement::stopSuppressinggSleep()

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20080915/2f16f0e5/attachment.sig 


More information about the Plasma-devel mailing list