[Panel-devel] Implementing a wrapper facility for bool Solid::PowerManager::appShouldConserveResources()

Aaron J. Seigo aseigo at kde.org
Fri Dec 21 22:19:12 CET 2007


On Friday 21 December 2007, Riccardo Iaconelli wrote:
> Related question: do we also want to react to the signal emitted by solid
> when this propriety changes?

yes.

> Then, I must say that I'm not overly happy with polluting Plasma::Applet
> with all those facility methods.

agreed.

> So, post 4.0, do we want to move this and other similar features in a
> Plasma::Facility (or better name) class?

well, we do have just Plasma, but then we can't have signals there (which is a 
pity ..) maybe as we come up with a set of other methods that would belong to 
this grab bag of miscelany we will gain a better understanding of what it 
really should be.

> Including font(), colorScheme(), 
> maybe also config(), etc...

font and colorScheme belong to the theme (obviously).

config() is not necessarily global to an instance of libplasma, either. this 
is why we have it in Corona. if it isn't specific to Corona, then the app 
config should be used.

any others?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071221/0855fbfd/attachment.pgp 


More information about the Panel-devel mailing list