QDomElement pitfal (Was: comment in rc file affects line below)

Frerich Raabe raabe at kde.org
Wed May 12 12:17:16 BST 2004


On Tuesday 11 May 2004 23:24, Waldo Bastian wrote:

[ QDomElement pitfall ]

On related news, don't use QDomElement::elementsByTagName unless you really 
want a recursive search. Often one just wants a list of immediate child nodes 
with a given name, in which case a 'nextSibling'-style loop is probably more 
appropriate.

- Frerich




More information about the kde-core-devel mailing list