summaryrefslogtreecommitdiffstats
path: root/doc/html/qdomelement.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qdomelement.html')
-rw-r--r--doc/html/qdomelement.html58
1 files changed, 29 insertions, 29 deletions
diff --git a/doc/html/qdomelement.html b/doc/html/qdomelement.html
index fe6fb07b4..7d6da1994 100644
--- a/doc/html/qdomelement.html
+++ b/doc/html/qdomelement.html
@@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }
<p>The TQDomElement class represents one element in the DOM tree.
<a href="#details">More...</a>
<p>All the functions in this class are <a href="threads.html#reentrant">reentrant</a> when TQt is built with thread support.</p>
-<p><tt>#include &lt;<a href="qdom-h.html">qdom.h</a>&gt;</tt>
+<p><tt>#include &lt;<a href="qdom-h.html">ntqdom.h</a>&gt;</tt>
<p>Inherits <a href="qdomnode.html">TQDomNode</a>.
<p><a href="qdomelement-members.html">List of all member functions.</a>
<h2>Public Members</h2>
@@ -96,7 +96,7 @@ functions, i.e. <a href="#setAttributeNS">setAttributeNS</a>(), <a href="#setAtt
<pre>
TQDomElement e = //...
//...
- <a href="qstring.html">TQString</a> s = e.<a href="#text">text</a>()
+ <a href="ntqstring.html">TQString</a> s = e.<a href="#text">text</a>()
</pre>
The text() function operates recursively to find the text (since
@@ -104,7 +104,7 @@ 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
<a href="qdomtext.html">TQDomText</a> nodes, e.g.
<pre>
- <a href="qstring.html">TQString</a> text;
+ <a href="ntqstring.html">TQString</a> text;
TQDomElement element = doc.documentElement();
for( <a href="qdomnode.html">TQDomNode</a> n = element.<a href="qdomnode.html#firstChild">firstChild</a>(); !n.<a href="qdomnode.html#isNull">isNull</a>(); n = n.<a href="qdomnode.html#nextSibling">nextSibling</a>() )
{
@@ -145,25 +145,25 @@ will also change the other. If you want to make a <a href="shclass.html#deep-cop
</h3>
Destroys the object and frees its resources.
-<h3 class=fn><a href="qstring.html">TQString</a> <a name="attribute"></a>TQDomElement::attribute ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;defValue = TQString::null ) const
+<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="attribute"></a>TQDomElement::attribute ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;defValue = TQString::null ) const
</h3>
Returns the attribute called <em>name</em>. If the attribute does not
exist <em>defValue</em> is returned.
<p> <p>See also <a href="#setAttribute">setAttribute</a>(), <a href="#attributeNode">attributeNode</a>(), <a href="#setAttributeNode">setAttributeNode</a>(), and <a href="#attributeNS">attributeNS</a>().
-<h3 class=fn><a href="qstring.html">TQString</a> <a name="attributeNS"></a>TQDomElement::attributeNS ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;nsURI, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;localName, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;defValue ) const
+<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="attributeNS"></a>TQDomElement::attributeNS ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;nsURI, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;localName, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;defValue ) const
</h3>
Returns the attribute with the local name <em>localName</em> and the
namespace URI <em>nsURI</em>. If the attribute does not exist <em>defValue</em> is returned.
<p> <p>See also <a href="#setAttributeNS">setAttributeNS</a>(), <a href="#attributeNodeNS">attributeNodeNS</a>(), <a href="#setAttributeNodeNS">setAttributeNodeNS</a>(), and <a href="#attribute">attribute</a>().
-<h3 class=fn><a href="qdomattr.html">TQDomAttr</a> <a name="attributeNode"></a>TQDomElement::attributeNode ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name )
+<h3 class=fn><a href="qdomattr.html">TQDomAttr</a> <a name="attributeNode"></a>TQDomElement::attributeNode ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name )
</h3>
Returns the <a href="qdomattr.html">TQDomAttr</a> object that corresponds to the attribute
called <em>name</em>. If no such attribute exists a <a href="qdomnode.html#isNull">null attribute</a> is returned.
<p> <p>See also <a href="#setAttributeNode">setAttributeNode</a>(), <a href="#attribute">attribute</a>(), <a href="#setAttribute">setAttribute</a>(), and <a href="#attributeNodeNS">attributeNodeNS</a>().
-<h3 class=fn><a href="qdomattr.html">TQDomAttr</a> <a name="attributeNodeNS"></a>TQDomElement::attributeNodeNS ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;nsURI, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;localName )
+<h3 class=fn><a href="qdomattr.html">TQDomAttr</a> <a name="attributeNodeNS"></a>TQDomElement::attributeNodeNS ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;nsURI, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;localName )
</h3>
Returns the <a href="qdomattr.html">TQDomAttr</a> object that corresponds to the attribute with
the local name <em>localName</em> and the namespace URI <em>nsURI</em>. If no
@@ -177,7 +177,7 @@ Returns a <a href="qdomnamednodemap.html">TQDomNamedNodeMap</a> containing all t
<p> <p>See also <a href="#attribute">attribute</a>(), <a href="#setAttribute">setAttribute</a>(), <a href="#attributeNode">attributeNode</a>(), and <a href="#setAttributeNode">setAttributeNode</a>().
<p>Reimplemented from <a href="qdomnode.html#attributes">TQDomNode</a>.
-<h3 class=fn><a href="qdomnodelist.html">TQDomNodeList</a> <a name="elementsByTagName"></a>TQDomElement::elementsByTagName ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;tagname ) const<tt> [virtual]</tt>
+<h3 class=fn><a href="qdomnodelist.html">TQDomNodeList</a> <a name="elementsByTagName"></a>TQDomElement::elementsByTagName ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;tagname ) const<tt> [virtual]</tt>
</h3>
Returns a <a href="qdomnodelist.html">TQDomNodeList</a> containing all descendent elements of this
element that are called <em>tagname</em>. The order they are in the node
@@ -185,7 +185,7 @@ list is the order they are encountered in a preorder traversal of
the element tree.
<p> <p>See also <a href="#elementsByTagNameNS">elementsByTagNameNS</a>() and <a href="qdomdocument.html#elementsByTagName">TQDomDocument::elementsByTagName</a>().
-<h3 class=fn><a href="qdomnodelist.html">TQDomNodeList</a> <a name="elementsByTagNameNS"></a>TQDomElement::elementsByTagNameNS ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;nsURI, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;localName ) const<tt> [virtual]</tt>
+<h3 class=fn><a href="qdomnodelist.html">TQDomNodeList</a> <a name="elementsByTagNameNS"></a>TQDomElement::elementsByTagNameNS ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;nsURI, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;localName ) const<tt> [virtual]</tt>
</h3>
Returns a <a href="qdomnodelist.html">TQDomNodeList</a> containing all the descendent elements of
this element with the local name <em>localName</em> and the namespace
@@ -193,12 +193,12 @@ URI <em>nsURI</em>. The order they are in the node list is the order
they are encountered in a preorder traversal of the element tree.
<p> <p>See also <a href="#elementsByTagName">elementsByTagName</a>() and <a href="qdomdocument.html#elementsByTagNameNS">TQDomDocument::elementsByTagNameNS</a>().
-<h3 class=fn>bool <a name="hasAttribute"></a>TQDomElement::hasAttribute ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name ) const
+<h3 class=fn>bool <a name="hasAttribute"></a>TQDomElement::hasAttribute ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name ) const
</h3>
Returns TRUE if this element has an attribute called <em>name</em>;
otherwise returns FALSE.
-<h3 class=fn>bool <a name="hasAttributeNS"></a>TQDomElement::hasAttributeNS ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;nsURI, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;localName ) const
+<h3 class=fn>bool <a name="hasAttributeNS"></a>TQDomElement::hasAttributeNS ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;nsURI, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;localName ) const
</h3>
Returns TRUE if this element has an attribute with the local name
<em>localName</em> and the namespace URI <em>nsURI</em>; otherwise returns
@@ -221,12 +221,12 @@ Assigns <em>x</em> to this DOM element.
will also change the other. If you want to make a <a href="shclass.html#deep-copy">deep copy</a>, use
<a href="qdomnode.html#cloneNode">cloneNode</a>().
-<h3 class=fn>void <a name="removeAttribute"></a>TQDomElement::removeAttribute ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name )
+<h3 class=fn>void <a name="removeAttribute"></a>TQDomElement::removeAttribute ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name )
</h3>
Removes the attribute called name <em>name</em> from this element.
<p> <p>See also <a href="#setAttribute">setAttribute</a>(), <a href="#attribute">attribute</a>(), and <a href="#removeAttributeNS">removeAttributeNS</a>().
-<h3 class=fn>void <a name="removeAttributeNS"></a>TQDomElement::removeAttributeNS ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;nsURI, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;localName )
+<h3 class=fn>void <a name="removeAttributeNS"></a>TQDomElement::removeAttributeNS ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;nsURI, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;localName )
</h3>
Removes the attribute with the local name <em>localName</em> and the
namespace URI <em>nsURI</em> from this element.
@@ -237,33 +237,33 @@ namespace URI <em>nsURI</em> from this element.
Removes the attribute <em>oldAttr</em> from the element and returns it.
<p> <p>See also <a href="#attributeNode">attributeNode</a>() and <a href="#setAttributeNode">setAttributeNode</a>().
-<h3 class=fn>void <a name="setAttribute"></a>TQDomElement::setAttribute ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;value )
+<h3 class=fn>void <a name="setAttribute"></a>TQDomElement::setAttribute ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;value )
</h3>
Adds an attribute called <em>name</em> with value <em>value</em>. If an
attribute with the same name exists, its value is replaced by <em>value</em>.
<p> <p>See also <a href="#attribute">attribute</a>(), <a href="#setAttributeNode">setAttributeNode</a>(), and <a href="#setAttributeNS">setAttributeNS</a>().
-<h3 class=fn>void <a name="setAttribute-2"></a>TQDomElement::setAttribute ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name, int&nbsp;value )
+<h3 class=fn>void <a name="setAttribute-2"></a>TQDomElement::setAttribute ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, int&nbsp;value )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p>
-<h3 class=fn>void <a name="setAttribute-3"></a>TQDomElement::setAttribute ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name, uint&nbsp;value )
+<h3 class=fn>void <a name="setAttribute-3"></a>TQDomElement::setAttribute ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, uint&nbsp;value )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p>
-<h3 class=fn>void <a name="setAttribute-4"></a>TQDomElement::setAttribute ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name, long&nbsp;value )
+<h3 class=fn>void <a name="setAttribute-4"></a>TQDomElement::setAttribute ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, long&nbsp;value )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p>
-<h3 class=fn>void <a name="setAttribute-5"></a>TQDomElement::setAttribute ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name, ulong&nbsp;value )
+<h3 class=fn>void <a name="setAttribute-5"></a>TQDomElement::setAttribute ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, ulong&nbsp;value )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p>
-<h3 class=fn>void <a name="setAttribute-6"></a>TQDomElement::setAttribute ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name, double&nbsp;value )
+<h3 class=fn>void <a name="setAttribute-6"></a>TQDomElement::setAttribute ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, double&nbsp;value )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p>
-<h3 class=fn>void <a name="setAttributeNS"></a>TQDomElement::setAttributeNS ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;nsURI, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;qName, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;value )
+<h3 class=fn>void <a name="setAttributeNS"></a>TQDomElement::setAttributeNS ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;nsURI, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;qName, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;value )
</h3>
Adds an attribute with the qualified name <em>qName</em> and the
namespace URI <em>nsURI</em> with the value <em>value</em>. If an attribute
@@ -273,23 +273,23 @@ replaced by the prefix of <em>qName</em> and its value is repaced by <em>value</
decide if an existing attribute's value should be replaced.
<p> <p>See also <a href="#attributeNS">attributeNS</a>(), <a href="#setAttributeNodeNS">setAttributeNodeNS</a>(), and <a href="#setAttribute">setAttribute</a>().
-<h3 class=fn>void <a name="setAttributeNS-2"></a>TQDomElement::setAttributeNS ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;nsURI, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;qName, int&nbsp;value )
+<h3 class=fn>void <a name="setAttributeNS-2"></a>TQDomElement::setAttributeNS ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;nsURI, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;qName, int&nbsp;value )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p>
-<h3 class=fn>void <a name="setAttributeNS-3"></a>TQDomElement::setAttributeNS ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;nsURI, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;qName, uint&nbsp;value )
+<h3 class=fn>void <a name="setAttributeNS-3"></a>TQDomElement::setAttributeNS ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;nsURI, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;qName, uint&nbsp;value )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p>
-<h3 class=fn>void <a name="setAttributeNS-4"></a>TQDomElement::setAttributeNS ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;nsURI, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;qName, long&nbsp;value )
+<h3 class=fn>void <a name="setAttributeNS-4"></a>TQDomElement::setAttributeNS ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;nsURI, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;qName, long&nbsp;value )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p>
-<h3 class=fn>void <a name="setAttributeNS-5"></a>TQDomElement::setAttributeNS ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;nsURI, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;qName, ulong&nbsp;value )
+<h3 class=fn>void <a name="setAttributeNS-5"></a>TQDomElement::setAttributeNS ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;nsURI, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;qName, ulong&nbsp;value )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p>
-<h3 class=fn>void <a name="setAttributeNS-6"></a>TQDomElement::setAttributeNS ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;nsURI, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;qName, double&nbsp;value )
+<h3 class=fn>void <a name="setAttributeNS-6"></a>TQDomElement::setAttributeNS ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;nsURI, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;qName, double&nbsp;value )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p>
@@ -309,12 +309,12 @@ and namespace URI as <em>newAttr</em>, this function replaces that
attribute and returns it; otherwise the function returns a <a href="qdomnode.html#isNull">null attribute</a>.
<p> <p>See also <a href="#attributeNodeNS">attributeNodeNS</a>(), <a href="#setAttributeNS">setAttributeNS</a>(), and <a href="#setAttributeNode">setAttributeNode</a>().
-<h3 class=fn>void <a name="setTagName"></a>TQDomElement::setTagName ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name )
+<h3 class=fn>void <a name="setTagName"></a>TQDomElement::setTagName ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name )
</h3>
Sets this element's tag name to <em>name</em>.
<p> <p>See also <a href="#tagName">tagName</a>().
-<h3 class=fn><a href="qstring.html">TQString</a> <a name="tagName"></a>TQDomElement::tagName () const
+<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="tagName"></a>TQDomElement::tagName () const
</h3>
Returns the tag name of this element. For an XML element like this:
<pre>
@@ -324,9 +324,9 @@ Returns the tag name of this element. For an XML element like this:
the tagname would return "img".
<p> <p>See also <a href="#setTagName">setTagName</a>().
-<h3 class=fn><a href="qstring.html">TQString</a> <a name="text"></a>TQDomElement::text () const
+<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text"></a>TQDomElement::text () const
</h3>
-Returns the element's text or <a href="qstring.html#TQString-null">TQString::null</a>.
+Returns the element's text or <a href="ntqstring.html#TQString-null">TQString::null</a>.
<p> Example:
<pre>
&lt;h1&gt;Hello &lt;b&gt;TQt&lt;/b&gt; &lt;![CDATA[&lt;xml is cool&gt;]]&gt;&lt;/h1&gt;