On Friday 03 August 2007 10:54:20 Dmitry Suzdalev wrote:
> Second. I forgot to mention that there is a method
> KStandardDirs::findDirs(resource, relativePath) which will return a
> list of directories ending with relativePath. It can be used instead
> of findResourceDir() solution I suggested above, but the drawback is
> that it can't be simple one-liner embedded in *.kcfg, because we'll
> need to extract returned directory from QStringList. Or is this ok?
>
> Using findDirs theoretically eliminates the need for putting files in
> dirs, although it adds some code, i.e. extracting actual path from
> QStringList.

I like this, because as Dmitry pointed out on IRC, we can move from storing 
the absolute path to the style in the config to just storing the style name, 
which is more flexible, since we determine the real path at runtime.

Will
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to