[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: Faster saving - new data
From: dirk.schoenberger () sz-online ! de
Date: 2004-04-16 11:07:01
Message-ID: 57548.217.232.122.177.1082113621.squirrel () webmail ! sz-online ! de
[Download RAW message or body]
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Friday 16 April 2004 11:41, dirk.schoenberger@sz-online.de wrote:
>> > But then I realized that setAttribute would make it easier to port
>> QDom
>> > code,
>> > since it uses setAttribute everywhere already.... Hmm, OTOH this is a
>> > simple
>> > search/replace, so I'm ok with addAttribute if that's what you'd
>> prefer.
>>
>> setAttribute and addAttribut sound like they add to a in-memory
>> representation, like a Map or a List, so that it is not clear when the
>> attributes are written to the stream.
>> How about writeAttribute(key, value)?
>
> The API hides the fact that anything is written at all; why is this
> distinction important??
Ok, there exists no other write* methods, so addAttribute is possibly ok.
Regards
Dirk
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic