[Panel-devel] Plasma::Theme

Aaron J. Seigo aseigo at kde.org
Mon Oct 22 12:23:10 CEST 2007


On Monday 22 October 2007, Ivan Čukić wrote:
> So, we have a function that returns the location of .svg file inside the
> theme directory (QString Theme::image(const QString &)).
>
> What do you think about adding a QString Theme::file(const QString &)
> method that would return the path to any file in the theme. For example, if
> a theme needs to have a configuration file?

what is the use case for having a configuration file? (not saying there isn't 
one, just that i'm not aware of one right now =)

if you are thinking about making a specific applet themable and it has custom 
components, then this should probably be stored in the applet's configuration 
(either the local one if it is per-applet or the applet global config if it 
should aply to all applets)

(and speaking of which, i suppose we'll want / need a way to notify all 
running instances of an applet when the global config gets changed? hmm...)

-- 
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/20071022/384dc4fb/attachment.pgp 


More information about the Panel-devel mailing list