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

List:       kde-core-devel
Subject:    Re: readEntry and booleans
From:       Olivier Goffart <ogoffart () tiscalinet ! be>
Date:       2006-01-03 23:42:03
Message-ID: 200601040042.08904.ogoffart () tiscalinet ! be
[Download RAW message or body]


Le Mardi 3 Janvier 2006 23:59, David Faure a =E9crit=A0:
> On Tuesday 03 January 2006 23:00, Cornelius Schumacher wrote:
> > compare
> >   readEntry( "key", QVariant( false ) ).toBool()
> > to
> >   readBoolEntry( "key", false )
>
> Since booleans convert so badly to QVariant, maybe we should keep
> readBoolEntry or add a readEntry( key, bool ) overload?

I agree

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

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

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