[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: readEntry and booleans
From: Daniel Molkentin <molkentin () kde ! org>
Date: 2006-01-03 23:49:52
Message-ID: 200601040049.59694.molkentin () kde ! org
[Download RAW message or body]
Am Dienstag, 3. Januar 2006 23:59 schrieb David Faure:
> 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?
In case of bool, I'd be all for a readEntry() overload, unless I am missing a
design problem going with it.
Cheers,
Daniel
[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