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

List:       kde-devel
Subject:    Re: multiple entries inside KSimpleConfig
From:       Frerich Raabe <raabe () kde ! org>
Date:       2002-07-30 20:00:50
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 30 July 2002 21:40, Yannick Koehler wrote:
> > I'd declare operator<< and operator>> for that class so that you can
> > easily store and retrieve objects from a QDataStream. Reading that file
> > becomes a matter of
> >
> > while ( !stream.eof() )
> > 	filter << stream;
>
> But doing this will not correctly handle case were the end-user edit the
> config file by end and do a mistake by incorrectely ordering the tags.

I doubt the user's going to edit that file by hand because QDataStream doesn't 
write plain text but a binary format.

- - Frerich
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9RvByKrbzRexv2VkRAnNOAJ4xUsJk1rtElu2nKB1bC3lMzZFCigCfX707
6eNnQtyV0/q4lXaPFJNTfw8=
=v1Sh
-----END PGP SIGNATURE-----


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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