summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqdomelement.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqdomelement.3qt')
-rw-r--r--doc/man/man3/tqdomelement.3qt106
1 files changed, 53 insertions, 53 deletions
diff --git a/doc/man/man3/tqdomelement.3qt b/doc/man/man3/tqdomelement.3qt
index 0ae2d95e..916e7b0f 100644
--- a/doc/man/man3/tqdomelement.3qt
+++ b/doc/man/man3/tqdomelement.3qt
@@ -30,31 +30,31 @@ Inherits QDomNode.
.BI "\fB~QDomElement\fR ()"
.br
.ti -1c
-.BI "QString \fBattribute\fR ( const QString & name, const QString & defValue = QString::null ) const"
+.BI "TQString \fBattribute\fR ( const TQString & name, const TQString & defValue = TQString::null ) const"
.br
.ti -1c
-.BI "void \fBsetAttribute\fR ( const QString & name, const QString & value )"
+.BI "void \fBsetAttribute\fR ( const TQString & name, const TQString & value )"
.br
.ti -1c
-.BI "void \fBsetAttribute\fR ( const QString & name, int value )"
+.BI "void \fBsetAttribute\fR ( const TQString & name, int value )"
.br
.ti -1c
-.BI "void \fBsetAttribute\fR ( const QString & name, uint value )"
+.BI "void \fBsetAttribute\fR ( const TQString & name, uint value )"
.br
.ti -1c
-.BI "void \fBsetAttribute\fR ( const QString & name, long value )"
+.BI "void \fBsetAttribute\fR ( const TQString & name, long value )"
.br
.ti -1c
-.BI "void \fBsetAttribute\fR ( const QString & name, ulong value )"
+.BI "void \fBsetAttribute\fR ( const TQString & name, ulong value )"
.br
.ti -1c
-.BI "void \fBsetAttribute\fR ( const QString & name, double value )"
+.BI "void \fBsetAttribute\fR ( const TQString & name, double value )"
.br
.ti -1c
-.BI "void \fBremoveAttribute\fR ( const QString & name )"
+.BI "void \fBremoveAttribute\fR ( const TQString & name )"
.br
.ti -1c
-.BI "QDomAttr \fBattributeNode\fR ( const QString & name )"
+.BI "QDomAttr \fBattributeNode\fR ( const TQString & name )"
.br
.ti -1c
.BI "QDomAttr \fBsetAttributeNode\fR ( const QDomAttr & newAttr )"
@@ -63,52 +63,52 @@ Inherits QDomNode.
.BI "QDomAttr \fBremoveAttributeNode\fR ( const QDomAttr & oldAttr )"
.br
.ti -1c
-.BI "virtual QDomNodeList \fBelementsByTagName\fR ( const QString & tagname ) const"
+.BI "virtual QDomNodeList \fBelementsByTagName\fR ( const TQString & tagname ) const"
.br
.ti -1c
-.BI "bool \fBhasAttribute\fR ( const QString & name ) const"
+.BI "bool \fBhasAttribute\fR ( const TQString & name ) const"
.br
.ti -1c
-.BI "QString \fBattributeNS\fR ( const QString nsURI, const QString & localName, const QString & defValue ) const"
+.BI "TQString \fBattributeNS\fR ( const TQString nsURI, const TQString & localName, const TQString & defValue ) const"
.br
.ti -1c
-.BI "void \fBsetAttributeNS\fR ( const QString nsURI, const QString & qName, const QString & value )"
+.BI "void \fBsetAttributeNS\fR ( const TQString nsURI, const TQString & qName, const TQString & value )"
.br
.ti -1c
-.BI "void \fBsetAttributeNS\fR ( const QString nsURI, const QString & qName, int value )"
+.BI "void \fBsetAttributeNS\fR ( const TQString nsURI, const TQString & qName, int value )"
.br
.ti -1c
-.BI "void \fBsetAttributeNS\fR ( const QString nsURI, const QString & qName, uint value )"
+.BI "void \fBsetAttributeNS\fR ( const TQString nsURI, const TQString & qName, uint value )"
.br
.ti -1c
-.BI "void \fBsetAttributeNS\fR ( const QString nsURI, const QString & qName, long value )"
+.BI "void \fBsetAttributeNS\fR ( const TQString nsURI, const TQString & qName, long value )"
.br
.ti -1c
-.BI "void \fBsetAttributeNS\fR ( const QString nsURI, const QString & qName, ulong value )"
+.BI "void \fBsetAttributeNS\fR ( const TQString nsURI, const TQString & qName, ulong value )"
.br
.ti -1c
-.BI "void \fBsetAttributeNS\fR ( const QString nsURI, const QString & qName, double value )"
+.BI "void \fBsetAttributeNS\fR ( const TQString nsURI, const TQString & qName, double value )"
.br
.ti -1c
-.BI "void \fBremoveAttributeNS\fR ( const QString & nsURI, const QString & localName )"
+.BI "void \fBremoveAttributeNS\fR ( const TQString & nsURI, const TQString & localName )"
.br
.ti -1c
-.BI "QDomAttr \fBattributeNodeNS\fR ( const QString & nsURI, const QString & localName )"
+.BI "QDomAttr \fBattributeNodeNS\fR ( const TQString & nsURI, const TQString & localName )"
.br
.ti -1c
.BI "QDomAttr \fBsetAttributeNodeNS\fR ( const QDomAttr & newAttr )"
.br
.ti -1c
-.BI "virtual QDomNodeList \fBelementsByTagNameNS\fR ( const QString & nsURI, const QString & localName ) const"
+.BI "virtual QDomNodeList \fBelementsByTagNameNS\fR ( const TQString & nsURI, const TQString & localName ) const"
.br
.ti -1c
-.BI "bool \fBhasAttributeNS\fR ( const QString & nsURI, const QString & localName ) const"
+.BI "bool \fBhasAttributeNS\fR ( const TQString & nsURI, const TQString & localName ) const"
.br
.ti -1c
-.BI "QString \fBtagName\fR () const"
+.BI "TQString \fBtagName\fR () const"
.br
.ti -1c
-.BI "void \fBsetTagName\fR ( const QString & name )"
+.BI "void \fBsetTagName\fR ( const TQString & name )"
.br
.ti -1c
.BI "virtual QDomNamedNodeMap \fBattributes\fR () const"
@@ -120,7 +120,7 @@ Inherits QDomNode.
.BI "virtual bool \fBisElement\fR () const"
.br
.ti -1c
-.BI "QString \fBtext\fR () const"
+.BI "TQString \fBtext\fR () const"
.br
.in -1c
.SH DESCRIPTION
@@ -138,14 +138,14 @@ If you want to access the text of a node use text(), e.g.
.br
//...
.br
- QString s = e.text()
+ TQString s = e.text()
.br
.fi
The text() function operates recursively to find the text (since not all elements contain text). If you want to find all the text in all of a node's children, iterate over the children looking for QDomText nodes, e.g.
.PP
.nf
.br
- QString text;
+ TQString text;
.br
QDomElement element = doc.documentElement();
.br
@@ -178,19 +178,19 @@ Constructs a copy of \fIx\fR.
The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode().
.SH "QDomElement::~QDomElement ()"
Destroys the object and frees its resources.
-.SH "QString QDomElement::attribute ( const QString & name, const QString & defValue = QString::null ) const"
+.SH "TQString QDomElement::attribute ( const TQString & name, const TQString & defValue = TQString::null ) const"
Returns the attribute called \fIname\fR. If the attribute does not exist \fIdefValue\fR is returned.
.PP
See also setAttribute(), attributeNode(), setAttributeNode(), and attributeNS().
-.SH "QString QDomElement::attributeNS ( const QString nsURI, const QString & localName, const QString & defValue ) const"
+.SH "TQString QDomElement::attributeNS ( const TQString nsURI, const TQString & localName, const TQString & defValue ) const"
Returns the attribute with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR. If the attribute does not exist \fIdefValue\fR is returned.
.PP
See also setAttributeNS(), attributeNodeNS(), setAttributeNodeNS(), and attribute().
-.SH "QDomAttr QDomElement::attributeNode ( const QString & name )"
+.SH "QDomAttr QDomElement::attributeNode ( const TQString & name )"
Returns the QDomAttr object that corresponds to the attribute called \fIname\fR. If no such attribute exists a null attribute is returned.
.PP
See also setAttributeNode(), attribute(), setAttribute(), and attributeNodeNS().
-.SH "QDomAttr QDomElement::attributeNodeNS ( const QString & nsURI, const QString & localName )"
+.SH "QDomAttr QDomElement::attributeNodeNS ( const TQString & nsURI, const TQString & localName )"
Returns the QDomAttr object that corresponds to the attribute with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR. If no such attribute exists a null attribute is returned.
.PP
See also setAttributeNode(), attribute(), and setAttribute().
@@ -200,17 +200,17 @@ Returns a QDomNamedNodeMap containing all this element's attributes.
See also attribute(), setAttribute(), attributeNode(), and setAttributeNode().
.PP
Reimplemented from QDomNode.
-.SH "QDomNodeList QDomElement::elementsByTagName ( const QString & tagname ) const\fC [virtual]\fR"
+.SH "QDomNodeList QDomElement::elementsByTagName ( const TQString & tagname ) const\fC [virtual]\fR"
Returns a QDomNodeList containing all descendent elements of this element that are called \fItagname\fR. The order they are in the node list is the order they are encountered in a preorder traversal of the element tree.
.PP
See also elementsByTagNameNS() and QDomDocument::elementsByTagName().
-.SH "QDomNodeList QDomElement::elementsByTagNameNS ( const QString & nsURI, const QString & localName ) const\fC [virtual]\fR"
+.SH "QDomNodeList QDomElement::elementsByTagNameNS ( const TQString & nsURI, const TQString & localName ) const\fC [virtual]\fR"
Returns a QDomNodeList containing all the descendent elements of this element with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR. The order they are in the node list is the order they are encountered in a preorder traversal of the element tree.
.PP
See also elementsByTagName() and QDomDocument::elementsByTagNameNS().
-.SH "bool QDomElement::hasAttribute ( const QString & name ) const"
+.SH "bool QDomElement::hasAttribute ( const TQString & name ) const"
Returns TRUE if this element has an attribute called \fIname\fR; otherwise returns FALSE.
-.SH "bool QDomElement::hasAttributeNS ( const QString & nsURI, const QString & localName ) const"
+.SH "bool QDomElement::hasAttributeNS ( const TQString & nsURI, const TQString & localName ) const"
Returns TRUE if this element has an attribute with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR; otherwise returns FALSE.
.SH "bool QDomElement::isElement () const\fC [virtual]\fR"
Returns TRUE.
@@ -224,11 +224,11 @@ Reimplemented from QDomNode.
Assigns \fIx\fR to this DOM element.
.PP
The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode().
-.SH "void QDomElement::removeAttribute ( const QString & name )"
+.SH "void QDomElement::removeAttribute ( const TQString & name )"
Removes the attribute called name \fIname\fR from this element.
.PP
See also setAttribute(), attribute(), and removeAttributeNS().
-.SH "void QDomElement::removeAttributeNS ( const QString & nsURI, const QString & localName )"
+.SH "void QDomElement::removeAttributeNS ( const TQString & nsURI, const TQString & localName )"
Removes the attribute with the local name \fIlocalName\fR and the namespace URI \fInsURI\fR from this element.
.PP
See also setAttributeNS(), attributeNS(), and removeAttribute().
@@ -236,35 +236,35 @@ See also setAttributeNS(), attributeNS(), and removeAttribute().
Removes the attribute \fIoldAttr\fR from the element and returns it.
.PP
See also attributeNode() and setAttributeNode().
-.SH "void QDomElement::setAttribute ( const QString & name, const QString & value )"
+.SH "void QDomElement::setAttribute ( const TQString & name, const TQString & value )"
Adds an attribute called \fIname\fR with value \fIvalue\fR. If an attribute with the same name exists, its value is replaced by \fIvalue\fR.
.PP
See also attribute(), setAttributeNode(), and setAttributeNS().
-.SH "void QDomElement::setAttribute ( const QString & name, int value )"
+.SH "void QDomElement::setAttribute ( const TQString & name, int value )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-.SH "void QDomElement::setAttribute ( const QString & name, uint value )"
+.SH "void QDomElement::setAttribute ( const TQString & name, uint value )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-.SH "void QDomElement::setAttribute ( const QString & name, long value )"
+.SH "void QDomElement::setAttribute ( const TQString & name, long value )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-.SH "void QDomElement::setAttribute ( const QString & name, ulong value )"
+.SH "void QDomElement::setAttribute ( const TQString & name, ulong value )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-.SH "void QDomElement::setAttribute ( const QString & name, double value )"
+.SH "void QDomElement::setAttribute ( const TQString & name, double value )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-.SH "void QDomElement::setAttributeNS ( const QString nsURI, const QString & qName, const QString & value )"
+.SH "void QDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, const TQString & value )"
Adds an attribute with the qualified name \fIqName\fR and the namespace URI \fInsURI\fR with the value \fIvalue\fR. If an attribute with the same local name and namespace URI exists, its prefix is replaced by the prefix of \fIqName\fR and its value is repaced by \fIvalue\fR.
.PP
Although \fIqName\fR is the qualified name, the local name is used to decide if an existing attribute's value should be replaced.
.PP
See also attributeNS(), setAttributeNodeNS(), and setAttribute().
-.SH "void QDomElement::setAttributeNS ( const QString nsURI, const QString & qName, int value )"
+.SH "void QDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, int value )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-.SH "void QDomElement::setAttributeNS ( const QString nsURI, const QString & qName, uint value )"
+.SH "void QDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, uint value )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-.SH "void QDomElement::setAttributeNS ( const QString nsURI, const QString & qName, long value )"
+.SH "void QDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, long value )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-.SH "void QDomElement::setAttributeNS ( const QString nsURI, const QString & qName, ulong value )"
+.SH "void QDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, ulong value )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-.SH "void QDomElement::setAttributeNS ( const QString nsURI, const QString & qName, double value )"
+.SH "void QDomElement::setAttributeNS ( const TQString nsURI, const TQString & qName, double value )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.SH "QDomAttr QDomElement::setAttributeNode ( const QDomAttr & newAttr )"
Adds the attribute \fInewAttr\fR to this element.
@@ -278,11 +278,11 @@ Adds the attribute \fInewAttr\fR to this element.
If the element has another attribute that has the same local name and namespace URI as \fInewAttr\fR, this function replaces that attribute and returns it; otherwise the function returns a null attribute.
.PP
See also attributeNodeNS(), setAttributeNS(), and setAttributeNode().
-.SH "void QDomElement::setTagName ( const QString & name )"
+.SH "void QDomElement::setTagName ( const TQString & name )"
Sets this element's tag name to \fIname\fR.
.PP
See also tagName().
-.SH "QString QDomElement::tagName () const"
+.SH "TQString QDomElement::tagName () const"
Returns the tag name of this element. For an XML element like this:
.PP
.nf
@@ -293,8 +293,8 @@ Returns the tag name of this element. For an XML element like this:
the tagname would return "img".
.PP
See also setTagName().
-.SH "QString QDomElement::text () const"
-Returns the element's text or QString::null.
+.SH "TQString QDomElement::text () const"
+Returns the element's text or TQString::null.
.PP
Example:
.PP