[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Patch: uic honors layout names
From:       Michael Matz <matz () ifh ! de>
Date:       2000-10-13 16:21:49
[Download RAW message or body]

Hi,

On Fri, 13 Oct 2000, Peter Putzer wrote:
> According to the documentation this should have worked, but apparently
> elementsByTagName() returns not only direct descendants, but is
> transitive.

That's the correct implementation of DOM. Qt's documentation should not
mention "childs" but "descendants" to avoid confusion.

> Any hints, or do have to write my own recursive iteration function for
> layouts?

just iterate over the QDomNode::childNodes() list looking for
isElement() and tagName() being the one you search for.


Ciao,
Michael.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic