diff options
Diffstat (limited to 'doc/man/man3/tqdomnamednodemap.3qt')
-rw-r--r-- | doc/man/man3/tqdomnamednodemap.3qt | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/doc/man/man3/tqdomnamednodemap.3qt b/doc/man/man3/tqdomnamednodemap.3qt index 4ec12f7c8..a9473f1e6 100644 --- a/doc/man/man3/tqdomnamednodemap.3qt +++ b/doc/man/man3/tqdomnamednodemap.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomNamedNodeMap 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomNamedNodeMap 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,52 +7,52 @@ .ad l .nh .SH NAME -QDomNamedNodeMap \- Collection of nodes that can be accessed by name +TQDomNamedNodeMap \- Collection of nodes that can be accessed by name .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqdom.h>\fR +\fC#include <tqdom.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomNamedNodeMap\fR ()" +.BI "\fBTQDomNamedNodeMap\fR ()" .br .ti -1c -.BI "\fBQDomNamedNodeMap\fR ( const QDomNamedNodeMap & n )" +.BI "\fBTQDomNamedNodeMap\fR ( const TQDomNamedNodeMap & n )" .br .ti -1c -.BI "QDomNamedNodeMap & \fBoperator=\fR ( const QDomNamedNodeMap & n )" +.BI "TQDomNamedNodeMap & \fBoperator=\fR ( const TQDomNamedNodeMap & n )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QDomNamedNodeMap & n ) const" +.BI "bool \fBoperator==\fR ( const TQDomNamedNodeMap & n ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QDomNamedNodeMap & n ) const" +.BI "bool \fBoperator!=\fR ( const TQDomNamedNodeMap & n ) const" .br .ti -1c -.BI "\fB~QDomNamedNodeMap\fR ()" +.BI "\fB~TQDomNamedNodeMap\fR ()" .br .ti -1c -.BI "QDomNode \fBnamedItem\fR ( const TQString & name ) const" +.BI "TQDomNode \fBnamedItem\fR ( const TQString & name ) const" .br .ti -1c -.BI "QDomNode \fBsetNamedItem\fR ( const QDomNode & newNode )" +.BI "TQDomNode \fBsetNamedItem\fR ( const TQDomNode & newNode )" .br .ti -1c -.BI "QDomNode \fBremoveNamedItem\fR ( const TQString & name )" +.BI "TQDomNode \fBremoveNamedItem\fR ( const TQString & name )" .br .ti -1c -.BI "QDomNode \fBitem\fR ( int index ) const" +.BI "TQDomNode \fBitem\fR ( int index ) const" .br .ti -1c -.BI "QDomNode \fBnamedItemNS\fR ( const TQString & nsURI, const TQString & localName ) const" +.BI "TQDomNode \fBnamedItemNS\fR ( const TQString & nsURI, const TQString & localName ) const" .br .ti -1c -.BI "QDomNode \fBsetNamedItemNS\fR ( const QDomNode & newNode )" +.BI "TQDomNode \fBsetNamedItemNS\fR ( const TQDomNode & newNode )" .br .ti -1c -.BI "QDomNode \fBremoveNamedItemNS\fR ( const TQString & nsURI, const TQString & localName )" +.BI "TQDomNode \fBremoveNamedItemNS\fR ( const TQString & nsURI, const TQString & localName )" .br .ti -1c .BI "uint \fBlength\fR () const" @@ -65,89 +65,89 @@ All the functions in this class are reentrant when TQt is built with thread supp .br .in -1c .SH DESCRIPTION -The QDomNamedNodeMap class contains a collection of nodes that can be accessed by name. +The TQDomNamedNodeMap class contains a collection of nodes that can be accessed by name. .PP -Note that QDomNamedNodeMap does not inherit from QDomNodeList. QDomNamedNodeMaps do not provide any specific node ordering. Although nodes in a QDomNamedNodeMap may be accessed by an ordinal index, this is simply to allow a convenient enumeration of the contents of a QDomNamedNodeMap, and does not imply that the DOM specifies an ordering of the nodes. +Note that TQDomNamedNodeMap does not inherit from TQDomNodeList. TQDomNamedNodeMaps do not provide any specific node ordering. Although nodes in a TQDomNamedNodeMap may be accessed by an ordinal index, this is simply to allow a convenient enumeration of the contents of a TQDomNamedNodeMap, and does not imply that the DOM specifies an ordering of the nodes. .PP -The QDomNamedNodeMap is used in three places: <ol type=1> +The TQDomNamedNodeMap is used in three places: <ol type=1> .IP 1 -QDomDocumentType::entities() returns a map of all entities described in the DTD. +TQDomDocumentType::entities() returns a map of all entities described in the DTD. .IP 2 -QDomDocumentType::notations() returns a map of all notations described in the DTD. +TQDomDocumentType::notations() returns a map of all notations described in the DTD. .IP 3 -QDomNode::attributes() returns a map of all attributes of an element. +TQDomNode::attributes() returns a map of all attributes of an element. .PP -Items in the map are identified by the name which QDomNode::name() returns. Nodes are retrieved using namedItem(), namedItemNS() or item(). New nodes are inserted with setNamedItem() or setNamedItemNS() and removed with removeNamedItem() or removeNamedItemNS(). Use contains() to see if an item with the given name is in the named node map. The number of items is returned by length(). +Items in the map are identified by the name which TQDomNode::name() returns. Nodes are retrieved using namedItem(), namedItemNS() or item(). New nodes are inserted with setNamedItem() or setNamedItemNS() and removed with removeNamedItem() or removeNamedItemNS(). Use contains() to see if an item with the given name is in the named node map. The number of items is returned by length(). .PP Terminology: in this class we use "item" and "node" interchangeably. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomNamedNodeMap::QDomNamedNodeMap ()" +.SH "TQDomNamedNodeMap::TQDomNamedNodeMap ()" Constructs an empty named node map. -.SH "QDomNamedNodeMap::QDomNamedNodeMap ( const QDomNamedNodeMap & n )" +.SH "TQDomNamedNodeMap::TQDomNamedNodeMap ( const TQDomNamedNodeMap & n )" Constructs a copy of \fIn\fR. -.SH "QDomNamedNodeMap::~QDomNamedNodeMap ()" +.SH "TQDomNamedNodeMap::~TQDomNamedNodeMap ()" Destroys the object and frees its resources. -.SH "bool QDomNamedNodeMap::contains ( const TQString & name ) const" +.SH "bool TQDomNamedNodeMap::contains ( const TQString & name ) const" Returns TRUE if the map contains a node called \fIname\fR; otherwise returns FALSE. -.SH "uint QDomNamedNodeMap::count () const" +.SH "uint TQDomNamedNodeMap::count () const" Returns the number of nodes in the map. .PP This function is the same as length(). -.SH "QDomNode QDomNamedNodeMap::item ( int index ) const" +.SH "TQDomNode TQDomNamedNodeMap::item ( int index ) const" Retrieves the node at position \fIindex\fR. .PP This can be used to iterate over the map. Note that the nodes in the map are ordered arbitrarily. .PP See also length(). -.SH "uint QDomNamedNodeMap::length () const" +.SH "uint TQDomNamedNodeMap::length () const" Returns the number of nodes in the map. .PP See also item(). -.SH "QDomNode QDomNamedNodeMap::namedItem ( const TQString & name ) const" +.SH "TQDomNode TQDomNamedNodeMap::namedItem ( const TQString & name ) const" Returns the node called \fIname\fR. .PP -If the named node map does not contain such a node, a null node is returned. A node's name is the name returned by QDomNode::nodeName(). +If the named node map does not contain such a node, a null node is returned. A node's name is the name returned by TQDomNode::nodeName(). .PP See also setNamedItem() and namedItemNS(). -.SH "QDomNode QDomNamedNodeMap::namedItemNS ( const TQString & nsURI, const TQString & localName ) const" +.SH "TQDomNode TQDomNamedNodeMap::namedItemNS ( const TQString & nsURI, const TQString & localName ) const" Returns the node associated with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR. .PP If the map does not contain such a node, a null node is returned. .PP See also setNamedItemNS() and namedItem(). -.SH "bool QDomNamedNodeMap::operator!= ( const QDomNamedNodeMap & n ) const" +.SH "bool TQDomNamedNodeMap::operator!= ( const TQDomNamedNodeMap & n ) const" Returns TRUE if \fIn\fR and this named node map are not equal; otherwise returns FALSE. -.SH "QDomNamedNodeMap & QDomNamedNodeMap::operator= ( const QDomNamedNodeMap & n )" +.SH "TQDomNamedNodeMap & TQDomNamedNodeMap::operator= ( const TQDomNamedNodeMap & n )" Assigns \fIn\fR to this named node map. -.SH "bool QDomNamedNodeMap::operator== ( const QDomNamedNodeMap & n ) const" +.SH "bool TQDomNamedNodeMap::operator== ( const TQDomNamedNodeMap & n ) const" Returns TRUE if \fIn\fR and this named node map are equal; otherwise returns FALSE. -.SH "QDomNode QDomNamedNodeMap::removeNamedItem ( const TQString & name )" +.SH "TQDomNode TQDomNamedNodeMap::removeNamedItem ( const TQString & name )" Removes the node called \fIname\fR from the map. .PP The function returns the removed node or a null node if the map did not contain a node called \fIname\fR. .PP See also setNamedItem(), namedItem(), and removeNamedItemNS(). -.SH "QDomNode QDomNamedNodeMap::removeNamedItemNS ( const TQString & nsURI, const TQString & localName )" +.SH "TQDomNode TQDomNamedNodeMap::removeNamedItemNS ( const TQString & nsURI, const TQString & localName )" Removes the node with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR from the map. .PP The function returns the removed node or a null node if the map did not contain a node with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR. .PP See also setNamedItemNS(), namedItemNS(), and removeNamedItem(). -.SH "QDomNode QDomNamedNodeMap::setNamedItem ( const QDomNode & newNode )" -Inserts the node \fInewNode\fR into the named node map. The name used by the map is the node name of \fInewNode\fR as returned by QDomNode::nodeName(). +.SH "TQDomNode TQDomNamedNodeMap::setNamedItem ( const TQDomNode & newNode )" +Inserts the node \fInewNode\fR into the named node map. The name used by the map is the node name of \fInewNode\fR as returned by TQDomNode::nodeName(). .PP If the new node replaces an existing node, i.e. the map contains a node with the same name, the replaced node is returned. .PP See also namedItem(), removeNamedItem(), and setNamedItemNS(). -.SH "QDomNode QDomNamedNodeMap::setNamedItemNS ( const QDomNode & newNode )" +.SH "TQDomNode TQDomNamedNodeMap::setNamedItemNS ( const TQDomNode & newNode )" Inserts the node \fInewNode\fR in the map. If a node with the same namespace URI and the same local name already exists in the map, it is replaced by \fInewNode\fR. If the new node replaces an existing node, the replaced node is returned. .PP See also namedItemNS(), removeNamedItemNS(), and setNamedItem(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomnamednodemap.html +.BR http://doc.trolltech.com/tqdomnamednodemap.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |