[Kst] QTextStream to QDomElement

Andrew Walker arwalker at sumusltd.com
Fri Jan 14 18:56:08 CET 2005


The first may be true. Have you actually measured this for the 
kind of files we are saving? The second point I disagree with.
We should not have to be worrying about indentation,
endl, closing tags, delimiters, etc that QTextStream compels
us to. I'll reserve judgment on your third point.

On Friday 14 January 2005 09:38, George Staikos wrote:
> On Friday 14 January 2005 12:32, Andrew Walker wrote:
> > Is there any good reason not to change all the save() routines
> > to use QDomElement instead of QTextStream. The latter is
> > obviously not ideal. Unless I hear back I'll go ahead and make
> > the necessary changes.
>
>    I thought the same, but the performance of QDom is enough to not use it
> right now.  I brought this up with Barth quite a long time ago.  It's also
> a bit more tedious to work with, and there was one last reason not to use
> it that now escapes me.



More information about the Kst mailing list