--nextPart6853980.lB7fthplz7 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, > the how is pretty easy: Solid::PowerManagement. the when is a bit more > involved, particularly figuring out what to put in the user interface for > the user to work with. Nah, it would be easy anyway. That interface contains a signal: appShouldConserveResourcesChanged(bool) We could make this signal be polite and not only difference between AC adap= ter i s (un)plugged, but depending on the battery level also. Another signal coul= d be=20 added for telling if the AC adapter has been plugged or unplugged. > > Before getting this into the public API, I think we should think well > > about this , now changes should be thought twice before committing, > > specially in topics lik e this one. I vote for changing the bool for an > > int, so we don't shoot ourselves on the feet. > > well, an enumeration in any case. =3D) That for sure :) > > How to call those methods, and what values the enum should have ? > > graphicEffectsLevel()? Yup, agreed :) > glamour()? ;) we could have Jenine Gorafalo at the low end and Angelina > Jolie at the high end? (yeah, yeah, i'm joking) LOL, you rock man xD > i'd make it a set of flags (so multiple values can be |'d together), > probably somethin glike: > > GraphicEffect { > NoEffects =3D 0, > GradientEffects =3D 1, > SimpleAnimationEffects =3D 2, > ComplexAnimationEffects =3D 4 }; > Q_DECLARE_FLAGS(GraphicEffects, GraphicEffect) Despite I agree with the values, consider we can get our hands really dirty= with=20 the gradient thing. We have gradients everywhere, and I mean, everywhere. I= cons ider for instance the gradient of systemsettings for categories or with dol= phin=20 with the categorized view, is not harming performance... But if you have di= ffere nt ideas, just speak up :) Bye, Rafael Fern=C3=A1ndez L=C3=B3pez. --nextPart6853980.lB7fthplz7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQBHuu7lck5Abj8B0HARAnfkAKDi76ltG5lmg+njzJ81u3FYMfDlcACfQdw2 mORfaxLcbccTI54grZj+SYk= =Chx/ -----END PGP SIGNATURE----- --nextPart6853980.lB7fthplz7--