1QDomNodeList(3qt) QDomNodeList(3qt)
2
3
4
6 QDomNodeList - List of QDomNode objects
7
9 All the functions in this class are reentrant when Qt is built with
10 thread support.</p>
11
12 #include <qdom.h>
13
14 Public Members
15 QDomNodeList ()
16 QDomNodeList ( const QDomNodeList & n )
17 QDomNodeList & operator= ( const QDomNodeList & n )
18 bool operator== ( const QDomNodeList & n ) const
19 bool operator!= ( const QDomNodeList & n ) const
20 virtual ~QDomNodeList ()
21 virtual QDomNode item ( int index ) const
22 virtual uint length () const
23 uint count () const
24
26 The QDomNodeList class is a list of QDomNode objects.
27
28 Lists can be obtained by QDomDocument::elementsByTagName() and
29 QDomNode::childNodes(). The Document Object Model (DOM) requires these
30 lists to be "live": whenever you change the underlying document, the
31 contents of the list will get updated.
32
33 You can get a particular node from the list with item(). The number of
34 items in the list is returned by count() (and by length()).
35
36 For further information about the Document Object Model see
37 http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-
38 Level-2-Core/. For a more general introduction of the DOM
39 implementation see the QDomDocument documentation.
40
41 See also QDomNode::childNodes(), QDomDocument::elementsByTagName(), and
42 XML.
43
46 Creates an empty node list.
47
49 Constructs a copy of n.
50
52 Destroys the object and frees its resources.
53
55 Returns the number of nodes in the list.
56
57 This function is the same as length().
58
60 Returns the node at position index.
61
62 If index is negative or if index >= length() then a null node is
63 returned (i.e. a node for which QDomNode::isNull() returns TRUE).
64
65 See also count().
66
68 Returns the number of nodes in the list.
69
70 This function is the same as count().
71
73 Returns TRUE the node list n and this node list are not equal;
74 otherwise returns FALSE.
75
77 Assigns n to this node list.
78
80 Returns TRUE if the node list n and this node list are equal; otherwise
81 returns FALSE.
82
83
85 http://doc.trolltech.com/qdomnodelist.html
86 http://www.trolltech.com/faq/tech.html
87
89 Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
90 license file included in the distribution for a complete license
91 statement.
92
94 Generated automatically from the source code.
95
97 If you find a bug in Qt, please report it as described in
98 http://doc.trolltech.com/bughowto.html. Good bug reports help us to
99 help you. Thank you.
100
101 The definitive Qt documentation is provided in HTML format; it is
102 located at $QTDIR/doc/html and can be read using Qt Assistant or with a
103 web browser. This man page is provided as a convenience for those users
104 who prefer man pages, although this format is not officially supported
105 by Trolltech.
106
107 If you find errors in this manual page, please report them to qt-
108 bugs@trolltech.com. Please include the name of the manual page
109 (qdomnodelist.3qt) and the Qt version (3.3.8).
110
111
112
113Trolltech AS 2 February 2007 QDomNodeList(3qt)