list separator in config entries

Oswald Buddenhagen ossi at kde.org
Wed Oct 10 11:25:27 BST 2007


On Wed, Oct 10, 2007 at 04:47:45AM -0500, Thomas Braxton wrote:
> if KConfigGroup treats null and empty the same then how do you
> differentiate between an entry that was stored empty and an entry that
> does not exist (i.e.  deleted or never eixisted)?
> 
it is one thing how you store the "deleted" state internally and another
how you expose it in the api. if you want to use isNull() to save an
additional "deleted" flag (i would do that, too), then writeEntry must
have a check if (val.isNull()) val = ""; or something to that effect.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list