[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: [Panel-devel] Plasma::Theme
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2007-10-22 10:23:10
Message-ID: 200710220423.13653.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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

[Attachment #5 (application/pgp-signature)]

_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic