A few questions

Nicolas Deschildre nicolasdchd at ifrance.com
Sat May 3 21:18:26 BST 2003


Hi,
Still about kafka, i'd like to ask you some little things, mainly about
khtml's internal:
To build the DOM::Node tree, i use the Quanta tree, and for each Quanta
Node, i create a DOM::Node and inserts it. This method is very slow (it
takes 750 ms to load an 50 lines HTML file whereas khtml rendering is
instantaneous) : i believe each time a DOM::Node is inserted, the
rendering is updated and that is what make it very slow. Am i right?
One solution could be do add all the child nodes to the root node first
and then insert it in the tree (not yet tested)? Else, does one method
exist to turn off/on rendering?

Have yo an idea why i couldn't insert "special" character like é, è,
ù,... with the method DOM::Node::setNodeValue(QString); ??

How do i turn off buttons and links?? In fact, it is already turn off (i
don't know how), but i get the message "Warning: Your data is about to
be transmitted across the network unencrypted ...". It's not important,
but if an method already exist to turn this off...

Does one method exists to create a DOM::Document object directly instead
of using KHTMLPart::write("<html></html>"); ? It's not important, but
just to know...

Thanks very much for the answers
++
Nicolas

_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France





More information about the kfm-devel mailing list