KDE/kdelibs/kdecore

Simon Hausmann hausmann at kde.org
Fri Dec 2 22:13:08 GMT 2005


On Friday 02 December 2005 20:19, David Faure wrote:
> On Friday 02 December 2005 17:46, Ian Reinhart Geiser wrote:
> > With the QSettings api, i just have to
> > remember that the value is a valid QVariant.  
>
> I guess Qt apps use QSettings lightly, but KDE apps use KConfig very
> heavily, and QVariant conversions have a non-negligible cost, so I'm not
> sure this solution would be wise for performance.

I don't think it makes a big speed difference whether you let KConfig's code 
convert from its QString map to datetime/rect/size/etc. or whether you let a 
QString constructed QVariant do that.

Simon




More information about the kde-core-devel mailing list