Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 1995

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QDomNodeList" doc="/**
&lt;p&gt;The &lt;a href=&quot;QDomNodeList.html#QDomNodeList(com.trolltech.qt.xml.QDomNodeList)&quot;&gt;&lt;tt&gt;QDomNodeList&lt;/tt&gt;&lt;/a&gt; class is a list of &lt;a href=&quot;QDomNode.html&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; objects.&lt;/p&gt;
&lt;p&gt;Lists can be obtained by QDomDocument::elementsByTagName() and QDomNode::childNodes(). The Document Object Model (DOM) requires these lists to be &amp;quot;live&amp;quot;: whenever you change the underlying document, the contents of the list will get updated.&lt;/p&gt;
&lt;p&gt;You can get a particular node from the list with &lt;a href=&quot;QDomNodeList.html#item(int)&quot;&gt;&lt;tt&gt;item&lt;/tt&gt;&lt;/a&gt;. The number of items in the list is returned by &lt;a href=&quot;QDomNodeList.html#length()&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For further information about the Document Object Model see &lt;a href=&quot;http://www.w3.org/TR/REC-DOM-Level-1/&quot;&gt;Level 1&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;http://www.w3.org/TR/DOM-Level-2-Core/&quot;&gt;Level 2 Core&lt;/tt&gt;&lt;/a&gt;. For a more general introduction of the DOM implementation see the &lt;a href=&quot;QDomDocument.html&quot;&gt;&lt;tt&gt;QDomDocument&lt;/tt&gt;&lt;/a&gt; documentation.&lt;/p&gt;

@see &lt;tt&gt;QDomNode::childNodes&lt;/tt&gt;
@see &lt;tt&gt;QDomDocument::elementsByTagName&lt;/tt&gt; */">
    <method name="public QDomNodeList()" doc="/**
&lt;p&gt;Creates an empty node list.&lt;/p&gt;
 */"/>
    <method name="public QDomNodeList(com.trolltech.qt.xml.QDomNodeList arg__1)" doc="/**
&lt;p&gt;Constructs a copy of &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode at(int index)" doc="/**
&lt;p&gt;This function is provided for Qt API consistency. It is equivalent to &lt;a href=&quot;QDomNodeList.html#item(int)&quot;&gt;&lt;tt&gt;item&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;index&lt;/tt&gt; is negative or if &lt;tt&gt;index&lt;/tt&gt; &amp;gt;= &lt;a href=&quot;QDomNodeList.html#length()&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt; then a null node is returned (i.e&amp;#x2e; a node for which QDomNode::isNull() returns true).&lt;/p&gt;
 */"/>
    <method name="public final int count()" doc="/**
&lt;p&gt;This function is provided for Qt API consistency. It is equivalent to &lt;a href=&quot;QDomNodeList.html#length()&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
    <method name="public final boolean isEmpty()" doc="/**
&lt;p&gt;Returns true if the list contains no items; otherwise returns false. This function is provided for Qt API consistency.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode item(int index)" doc="/**
&lt;p&gt;Returns the node at position &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;index&lt;/tt&gt; is negative or if &lt;tt&gt;index&lt;/tt&gt; &amp;gt;= &lt;a href=&quot;QDomNodeList.html#length()&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt; then a null node is returned (i.e&amp;#x2e; a node for which QDomNode::isNull() returns true).&lt;/p&gt;

@see &lt;a href=&quot;QDomNodeList.html#length()&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int length()" doc="/**
&lt;p&gt;Returns the number of nodes in the list.&lt;/p&gt;
 */"/>
    <method name="public final int size()" doc="/**
&lt;p&gt;This function is provided for Qt API consistency. It is equivalent to &lt;a href=&quot;QDomNodeList.html#length()&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
</class>