[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: multiple entries inside KSimpleConfig
From: Yannick Koehler <yannick.koehler () colubris ! com>
Date: 2002-07-30 20:14:15
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On July 30, 2002 04:00 pm, Frerich Raabe wrote:
> 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.
Arg.... not very friendly. Better with my system then...
- --
Yannick Koehler
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9RvOXfuKOJNEyL1URAlj6AJwItw+tAELnjgaa4CxDXyzrKKoyXQCfavg9
mCzEPjh0Hfc5JiBQ8TuZ1lg=
=GQCA
-----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