diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-30 12:36:05 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-30 12:36:05 +0900 |
commit | 1702a6daff27f5d3e6fdac16962d1828df6ca270 (patch) | |
tree | b451256c2cc2e22e895251bac6ec1e4bdfd40e09 /doc/man/man3 | |
parent | 5fffa30386502b5423e45c2ed5e6af756b11c7b4 (diff) | |
download | tqt3-1702a6daff27f5d3e6fdac16962d1828df6ca270.tar.gz tqt3-1702a6daff27f5d3e6fdac16962d1828df6ca270.zip |
Rename nt* dom and xml related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3')
56 files changed, 1121 insertions, 1121 deletions
diff --git a/doc/man/man3/tqdatabrowser.3qt b/doc/man/man3/tqdatabrowser.3qt index 4ac8e2b7f..6171e73ad 100644 --- a/doc/man/man3/tqdatabrowser.3qt +++ b/doc/man/man3/tqdatabrowser.3qt @@ -16,7 +16,7 @@ Inherits TQWidget. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDataBrowser\fR ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )" +.BI "\fBTQDataBrowser\fR ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )" .br .ti -1c .BI "\fB~TQDataBrowser\fR ()" diff --git a/doc/man/man3/tqdatatable.3qt b/doc/man/man3/tqdatatable.3qt index 866cd07a0..7e20c375d 100644 --- a/doc/man/man3/tqdatatable.3qt +++ b/doc/man/man3/tqdatatable.3qt @@ -16,10 +16,10 @@ Inherits QTable. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDataTable\fR ( TQWidget * parent = 0, const char * name = 0 )" +.BI "\fBTQDataTable\fR ( TQWidget * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fBQDataTable\fR ( TQSqlCursor * cursor, bool autoPopulate = FALSE, TQWidget * parent = 0, const char * name = 0 )" +.BI "\fBTQDataTable\fR ( TQSqlCursor * cursor, bool autoPopulate = FALSE, TQWidget * parent = 0, const char * name = 0 )" .br .ti -1c .BI "\fB~TQDataTable\fR ()" diff --git a/doc/man/man3/tqdataview.3qt b/doc/man/man3/tqdataview.3qt index 1608c79f6..f3d90f704 100644 --- a/doc/man/man3/tqdataview.3qt +++ b/doc/man/man3/tqdataview.3qt @@ -16,7 +16,7 @@ Inherits TQWidget. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDataView\fR ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )" +.BI "\fBTQDataView\fR ( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 )" .br .ti -1c .BI "\fB~TQDataView\fR ()" diff --git a/doc/man/man3/tqdomattr.3qt b/doc/man/man3/tqdomattr.3qt index a434bdc74..63b1eca34 100644 --- a/doc/man/man3/tqdomattr.3qt +++ b/doc/man/man3/tqdomattr.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomAttr 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomAttr 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,27 +7,27 @@ .ad l .nh .SH NAME -QDomAttr \- Represents one attribute of a QDomElement +TQDomAttr \- Represents one attribute of a TQDomElement .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 -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomAttr\fR ()" +.BI "\fBTQDomAttr\fR ()" .br .ti -1c -.BI "\fBQDomAttr\fR ( const QDomAttr & x )" +.BI "\fBTQDomAttr\fR ( const TQDomAttr & x )" .br .ti -1c -.BI "QDomAttr & \fBoperator=\fR ( const QDomAttr & x )" +.BI "TQDomAttr & \fBoperator=\fR ( const TQDomAttr & x )" .br .ti -1c -.BI "\fB~QDomAttr\fR ()" +.BI "\fB~TQDomAttr\fR ()" .br .ti -1c .BI "virtual TQString \fBname\fR () const" @@ -36,7 +36,7 @@ Inherits QDomNode. .BI "virtual bool \fBspecified\fR () const" .br .ti -1c -.BI "virtual QDomElement \fBownerElement\fR () const" +.BI "virtual TQDomElement \fBownerElement\fR () const" .br .ti -1c .BI "virtual TQString \fBvalue\fR () const" @@ -45,14 +45,14 @@ Inherits QDomNode. .BI "virtual void \fBsetValue\fR ( const TQString & v )" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisAttr\fR () const" .br .in -1c .SH DESCRIPTION -The QDomAttr class represents one attribute of a QDomElement. +The TQDomAttr class represents one attribute of a TQDomElement. .PP For example, the following piece of XML produces an element with no children, but two attributes: .PP @@ -66,17 +66,17 @@ You can access the attributes of an element with code like this: .PP .nf .br - QDomElement e = //... + TQDomElement e = //... .br //... .br - QDomAttr a = e.attributeNode( "href" ); + TQDomAttr a = e.attributeNode( "href" ); .br cout << a.value() << endl; // prints "http://www.trolltech.com" .br a.setValue( "http://doc.trolltech.com" ); // change the node's attribute .br - QDomAttr a2 = e.attributeNode( "href" ); + TQDomAttr a2 = e.attributeNode( "href" ); .br cout << a2.value() << endl; // prints "http://doc.trolltech.com" .br @@ -84,51 +84,51 @@ You can access the attributes of an element with code like this: .PP This example also shows that changing an attribute received from an element changes the attribute of the element. If you do not want to change the value of the element's attribute you must use cloneNode() to get an independent copy of the attribute. .PP -QDomAttr can return the name() and value() of an attribute. An attribute's value is set with setValue(). If specified() returns TRUE the value was either set in the document or set with setValue(); otherwise the value hasn't been set. The node this attribute is attached to (if any) is returned by ownerElement(). +TQDomAttr can return the name() and value() of an attribute. An attribute's value is set with setValue(). If specified() returns TRUE the value was either set in the document or set with setValue(); otherwise the value hasn't been set. The node this attribute is attached to (if any) is returned by ownerElement(). .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomAttr::QDomAttr ()" +.SH "TQDomAttr::TQDomAttr ()" Constructs an empty attribute. -.SH "QDomAttr::QDomAttr ( const QDomAttr & x )" +.SH "TQDomAttr::TQDomAttr ( const TQDomAttr & x )" Constructs a copy of \fIx\fR. .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 "QDomAttr::~QDomAttr ()" +.SH "TQDomAttr::~TQDomAttr ()" Destroys the object and frees its resources. -.SH "bool QDomAttr::isAttr () const\fC [virtual]\fR" +.SH "bool TQDomAttr::isAttr () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "TQString QDomAttr::name () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQString TQDomAttr::name () const\fC [virtual]\fR" Returns the attribute's name. -.SH "QDomNode::NodeType QDomAttr::nodeType () const\fC [virtual]\fR" +.SH "TQDomNode::NodeType TQDomAttr::nodeType () const\fC [virtual]\fR" Returns AttributeNode. .PP -Reimplemented from QDomNode. -.SH "QDomAttr & QDomAttr::operator= ( const QDomAttr & x )" +Reimplemented from TQDomNode. +.SH "TQDomAttr & TQDomAttr::operator= ( const TQDomAttr & x )" Assigns \fIx\fR to this DOM attribute. .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 "QDomElement QDomAttr::ownerElement () const\fC [virtual]\fR" +.SH "TQDomElement TQDomAttr::ownerElement () const\fC [virtual]\fR" Returns the element node this attribute is attached to or a null node if this attribute is not attached to any element. -.SH "void QDomAttr::setValue ( const TQString & v )\fC [virtual]\fR" +.SH "void TQDomAttr::setValue ( const TQString & v )\fC [virtual]\fR" Sets the attribute's value to \fIv\fR. .PP See also value(). -.SH "bool QDomAttr::specified () const\fC [virtual]\fR" +.SH "bool TQDomAttr::specified () const\fC [virtual]\fR" Returns TRUE if the attribute has either been expicitly specified in the XML document or was set by the user with setValue(). Returns FALSE if the value hasn't been specified or set. .PP See also setValue(). -.SH "TQString QDomAttr::value () const\fC [virtual]\fR" +.SH "TQString TQDomAttr::value () const\fC [virtual]\fR" Returns the value of the attribute or TQString::null if the attribute has not been specified. .PP See also specified() and setValue(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomattr.html +.BR http://doc.trolltech.com/tqdomattr.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomcdatasection.3qt b/doc/man/man3/tqdomcdatasection.3qt index 89b4e5606..87bae8ce6 100644 --- a/doc/man/man3/tqdomcdatasection.3qt +++ b/doc/man/man3/tqdomcdatasection.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomCDATASection 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomCDATASection 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,63 +7,63 @@ .ad l .nh .SH NAME -QDomCDATASection \- Represents an XML CDATA section +TQDomCDATASection \- Represents an XML CDATA section .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 -Inherits QDomText. +Inherits TQDomText. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomCDATASection\fR ()" +.BI "\fBTQDomCDATASection\fR ()" .br .ti -1c -.BI "\fBQDomCDATASection\fR ( const QDomCDATASection & x )" +.BI "\fBTQDomCDATASection\fR ( const TQDomCDATASection & x )" .br .ti -1c -.BI "QDomCDATASection & \fBoperator=\fR ( const QDomCDATASection & x )" +.BI "TQDomCDATASection & \fBoperator=\fR ( const TQDomCDATASection & x )" .br .ti -1c -.BI "\fB~QDomCDATASection\fR ()" +.BI "\fB~TQDomCDATASection\fR ()" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisCDATASection\fR () const" .br .in -1c .SH DESCRIPTION -The QDomCDATASection class represents an XML CDATA section. +The TQDomCDATASection class represents an XML CDATA section. .PP CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup. The only delimiter that is recognized in a CDATA section is the "]]>" string that terminates the CDATA section. CDATA sections cannot be nested. Their primary purpose is for including material such as XML fragments, without needing to escape all the delimiters. .PP -Adjacent QDomCDATASection nodes are not merged by the QDomNode::normalize() function. +Adjacent TQDomCDATASection nodes are not merged by the TQDomNode::normalize() function. .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomCDATASection::QDomCDATASection ()" -Constructs an empty CDATA section. To create a CDATA section with content, use the QDomDocument::createCDATASection() function. -.SH "QDomCDATASection::QDomCDATASection ( const QDomCDATASection & x )" +.SH "TQDomCDATASection::TQDomCDATASection ()" +Constructs an empty CDATA section. To create a CDATA section with content, use the TQDomDocument::createCDATASection() function. +.SH "TQDomCDATASection::TQDomCDATASection ( const TQDomCDATASection & x )" Constructs a copy of \fIx\fR. .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 "QDomCDATASection::~QDomCDATASection ()" +.SH "TQDomCDATASection::~TQDomCDATASection ()" Destroys the object and frees its resources. -.SH "bool QDomCDATASection::isCDATASection () const\fC [virtual]\fR" +.SH "bool TQDomCDATASection::isCDATASection () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomCDATASection::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomCDATASection::nodeType () const\fC [virtual]\fR" Returns \fCCDATASection\fR. .PP -Reimplemented from QDomText. -.SH "QDomCDATASection & QDomCDATASection::operator= ( const QDomCDATASection & x )" +Reimplemented from TQDomText. +.SH "TQDomCDATASection & TQDomCDATASection::operator= ( const TQDomCDATASection & x )" Assigns \fIx\fR to this CDATA section. .PP The data of the copy is shared (shallow copy): modifying one node @@ -71,7 +71,7 @@ will also change the other. If you want to make a deep copy, use cloneNode(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomcdatasection.html +.BR http://doc.trolltech.com/tqdomcdatasection.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomcharacterdata.3qt b/doc/man/man3/tqdomcharacterdata.3qt index b9a9a59d4..40511624b 100644 --- a/doc/man/man3/tqdomcharacterdata.3qt +++ b/doc/man/man3/tqdomcharacterdata.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomCharacterData 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomCharacterData 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,29 +7,29 @@ .ad l .nh .SH NAME -QDomCharacterData \- Represents a generic string in the DOM +TQDomCharacterData \- Represents a generic string in the DOM .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 -Inherits QDomNode. +Inherits TQDomNode. .PP -Inherited by QDomText and QDomComment. +Inherited by TQDomText and TQDomComment. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomCharacterData\fR ()" +.BI "\fBTQDomCharacterData\fR ()" .br .ti -1c -.BI "\fBQDomCharacterData\fR ( const QDomCharacterData & x )" +.BI "\fBTQDomCharacterData\fR ( const TQDomCharacterData & x )" .br .ti -1c -.BI "QDomCharacterData & \fBoperator=\fR ( const QDomCharacterData & x )" +.BI "TQDomCharacterData & \fBoperator=\fR ( const TQDomCharacterData & x )" .br .ti -1c -.BI "\fB~QDomCharacterData\fR ()" +.BI "\fB~TQDomCharacterData\fR ()" .br .ti -1c .BI "virtual TQString \fBsubstringData\fR ( unsigned long offset, unsigned long count )" @@ -56,66 +56,66 @@ Inherited by QDomText and QDomComment. .BI "virtual void \fBsetData\fR ( const TQString & v )" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisCharacterData\fR () const" .br .in -1c .SH DESCRIPTION -The QDomCharacterData class represents a generic string in the DOM. +The TQDomCharacterData class represents a generic string in the DOM. .PP -Character data as used in XML specifies a generic data string. More specialized versions of this class are QDomText, QDomComment and QDomCDATASection. +Character data as used in XML specifies a generic data string. More specialized versions of this class are TQDomText, TQDomComment and TQDomCDATASection. .PP The data string is set with setData() and retrieved with data(). You can retrieve a portion of the data string using substringData(). Extra data can be appended with appendData(), or inserted with insertData(). Portions of the data string can be deleted with deleteData() or replaced with replaceData(). The length of the data string is returned by length(). .PP The node type of the node containing this character data is returned by nodeType(). .PP -See also QDomText, QDomComment, QDomCDATASection, and XML. +See also TQDomText, TQDomComment, TQDomCDATASection, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomCharacterData::QDomCharacterData ()" +.SH "TQDomCharacterData::TQDomCharacterData ()" Constructs an empty character data object. -.SH "QDomCharacterData::QDomCharacterData ( const QDomCharacterData & x )" +.SH "TQDomCharacterData::TQDomCharacterData ( const TQDomCharacterData & x )" Constructs a copy of \fIx\fR. .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 "QDomCharacterData::~QDomCharacterData ()" +.SH "TQDomCharacterData::~TQDomCharacterData ()" Destroys the object and frees its resources. -.SH "void QDomCharacterData::appendData ( const TQString & arg )\fC [virtual]\fR" +.SH "void TQDomCharacterData::appendData ( const TQString & arg )\fC [virtual]\fR" Appends the string \fIarg\fR to the stored string. -.SH "TQString QDomCharacterData::data () const\fC [virtual]\fR" +.SH "TQString TQDomCharacterData::data () const\fC [virtual]\fR" Returns the string stored in this object. .PP If the node is a null node, it will return TQString::null. -.SH "void QDomCharacterData::deleteData ( unsigned long offset, unsigned long count )\fC [virtual]\fR" +.SH "void TQDomCharacterData::deleteData ( unsigned long offset, unsigned long count )\fC [virtual]\fR" Deletes a substring of length \fIcount\fR from position \fIoffset\fR. -.SH "void QDomCharacterData::insertData ( unsigned long offset, const TQString & arg )\fC [virtual]\fR" +.SH "void TQDomCharacterData::insertData ( unsigned long offset, const TQString & arg )\fC [virtual]\fR" Inserts the string \fIarg\fR into the stored string at position \fIoffset\fR. -.SH "bool QDomCharacterData::isCharacterData () const\fC [virtual]\fR" +.SH "bool TQDomCharacterData::isCharacterData () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "uint QDomCharacterData::length () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "uint TQDomCharacterData::length () const\fC [virtual]\fR" Returns the length of the stored string. -.SH "QDomNode::NodeType QDomCharacterData::nodeType () const\fC [virtual]\fR" +.SH "TQDomNode::NodeType TQDomCharacterData::nodeType () const\fC [virtual]\fR" Returns the type of node this object refers to (i.e. TextNode, CDATASectionNode, CommentNode or CharacterDataNode). For a null node CharacterDataNode is returned. .PP -Reimplemented from QDomNode. +Reimplemented from TQDomNode. .PP -Reimplemented in QDomText and QDomComment. -.SH "QDomCharacterData & QDomCharacterData::operator= ( const QDomCharacterData & x )" +Reimplemented in TQDomText and TQDomComment. +.SH "TQDomCharacterData & TQDomCharacterData::operator= ( const TQDomCharacterData & x )" Assigns \fIx\fR to this character data. .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 QDomCharacterData::replaceData ( unsigned long offset, unsigned long count, const TQString & arg )\fC [virtual]\fR" +.SH "void TQDomCharacterData::replaceData ( unsigned long offset, unsigned long count, const TQString & arg )\fC [virtual]\fR" Replaces the substring of length \fIcount\fR starting at position \fIoffset\fR with the string \fIarg\fR. -.SH "void QDomCharacterData::setData ( const TQString & v )\fC [virtual]\fR" +.SH "void TQDomCharacterData::setData ( const TQString & v )\fC [virtual]\fR" Sets this object's string to \fIv\fR. -.SH "TQString QDomCharacterData::substringData ( unsigned long offset, unsigned long count )\fC [virtual]\fR" +.SH "TQString TQDomCharacterData::substringData ( unsigned long offset, unsigned long count )\fC [virtual]\fR" Returns the substring of length \fIcount\fR from position \fIoffset\fR. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomcharacterdata.html +.BR http://doc.trolltech.com/tqdomcharacterdata.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomcomment.3qt b/doc/man/man3/tqdomcomment.3qt index a8293039d..ca1a3dc0c 100644 --- a/doc/man/man3/tqdomcomment.3qt +++ b/doc/man/man3/tqdomcomment.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomComment 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomComment 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,37 +7,37 @@ .ad l .nh .SH NAME -QDomComment \- Represents an XML comment +TQDomComment \- Represents an XML comment .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 -Inherits QDomCharacterData. +Inherits TQDomCharacterData. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomComment\fR ()" +.BI "\fBTQDomComment\fR ()" .br .ti -1c -.BI "\fBQDomComment\fR ( const QDomComment & x )" +.BI "\fBTQDomComment\fR ( const TQDomComment & x )" .br .ti -1c -.BI "QDomComment & \fBoperator=\fR ( const QDomComment & x )" +.BI "TQDomComment & \fBoperator=\fR ( const TQDomComment & x )" .br .ti -1c -.BI "\fB~QDomComment\fR ()" +.BI "\fB~TQDomComment\fR ()" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisComment\fR () const" .br .in -1c .SH DESCRIPTION -The QDomComment class represents an XML comment. +The TQDomComment class represents an XML comment. .PP A comment in the parsed XML such as this: .PP @@ -46,29 +46,29 @@ A comment in the parsed XML such as this: <!-- this is a comment --> .br .fi -is represented by QDomComment objects in the parsed Dom tree. +is represented by TQDomComment objects in the parsed Dom tree. .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomComment::QDomComment ()" -Constructs an empty comment. To construct a comment with content, use the QDomDocument::createComment() function. -.SH "QDomComment::QDomComment ( const QDomComment & x )" +.SH "TQDomComment::TQDomComment ()" +Constructs an empty comment. To construct a comment with content, use the TQDomDocument::createComment() function. +.SH "TQDomComment::TQDomComment ( const TQDomComment & x )" Constructs a copy of \fIx\fR. .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 "QDomComment::~QDomComment ()" +.SH "TQDomComment::~TQDomComment ()" Destroys the object and frees its resources. -.SH "bool QDomComment::isComment () const\fC [virtual]\fR" +.SH "bool TQDomComment::isComment () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomComment::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomComment::nodeType () const\fC [virtual]\fR" Returns CommentNode. .PP -Reimplemented from QDomCharacterData. -.SH "QDomComment & QDomComment::operator= ( const QDomComment & x )" +Reimplemented from TQDomCharacterData. +.SH "TQDomComment & TQDomComment::operator= ( const TQDomComment & x )" Assigns \fIx\fR to this DOM comment. .PP The data of the copy is shared (shallow copy): modifying one node @@ -76,7 +76,7 @@ will also change the other. If you want to make a deep copy, use cloneNode(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomcomment.html +.BR http://doc.trolltech.com/tqdomcomment.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomdocument.3qt b/doc/man/man3/tqdomdocument.3qt index 676c7da95..3151caccf 100644 --- a/doc/man/man3/tqdomdocument.3qt +++ b/doc/man/man3/tqdomdocument.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomDocument 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomDocument 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,84 +7,84 @@ .ad l .nh .SH NAME -QDomDocument \- Represents an XML document +TQDomDocument \- Represents an XML document .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 -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomDocument\fR ()" +.BI "\fBTQDomDocument\fR ()" .br .ti -1c -.BI "explicit \fBQDomDocument\fR ( const TQString & name )" +.BI "explicit \fBTQDomDocument\fR ( const TQString & name )" .br .ti -1c -.BI "explicit \fBQDomDocument\fR ( const QDomDocumentType & doctype )" +.BI "explicit \fBTQDomDocument\fR ( const TQDomDocumentType & doctype )" .br .ti -1c -.BI "\fBQDomDocument\fR ( const QDomDocument & x )" +.BI "\fBTQDomDocument\fR ( const TQDomDocument & x )" .br .ti -1c -.BI "QDomDocument & \fBoperator=\fR ( const QDomDocument & x )" +.BI "TQDomDocument & \fBoperator=\fR ( const TQDomDocument & x )" .br .ti -1c -.BI "\fB~QDomDocument\fR ()" +.BI "\fB~TQDomDocument\fR ()" .br .ti -1c -.BI "QDomElement \fBcreateElement\fR ( const TQString & tagName )" +.BI "TQDomElement \fBcreateElement\fR ( const TQString & tagName )" .br .ti -1c -.BI "QDomDocumentFragment \fBcreateDocumentFragment\fR ()" +.BI "TQDomDocumentFragment \fBcreateDocumentFragment\fR ()" .br .ti -1c -.BI "QDomText \fBcreateTextNode\fR ( const TQString & value )" +.BI "TQDomText \fBcreateTextNode\fR ( const TQString & value )" .br .ti -1c -.BI "QDomComment \fBcreateComment\fR ( const TQString & value )" +.BI "TQDomComment \fBcreateComment\fR ( const TQString & value )" .br .ti -1c -.BI "QDomCDATASection \fBcreateCDATASection\fR ( const TQString & value )" +.BI "TQDomCDATASection \fBcreateCDATASection\fR ( const TQString & value )" .br .ti -1c -.BI "QDomProcessingInstruction \fBcreateProcessingInstruction\fR ( const TQString & target, const TQString & data )" +.BI "TQDomProcessingInstruction \fBcreateProcessingInstruction\fR ( const TQString & target, const TQString & data )" .br .ti -1c -.BI "QDomAttr \fBcreateAttribute\fR ( const TQString & name )" +.BI "TQDomAttr \fBcreateAttribute\fR ( const TQString & name )" .br .ti -1c -.BI "QDomEntityReference \fBcreateEntityReference\fR ( const TQString & name )" +.BI "TQDomEntityReference \fBcreateEntityReference\fR ( const TQString & name )" .br .ti -1c -.BI "QDomNodeList \fBelementsByTagName\fR ( const TQString & tagname ) const" +.BI "TQDomNodeList \fBelementsByTagName\fR ( const TQString & tagname ) const" .br .ti -1c -.BI "QDomNode \fBimportNode\fR ( const QDomNode & importedNode, bool deep )" +.BI "TQDomNode \fBimportNode\fR ( const TQDomNode & importedNode, bool deep )" .br .ti -1c -.BI "QDomElement \fBcreateElementNS\fR ( const TQString & nsURI, const TQString & qName )" +.BI "TQDomElement \fBcreateElementNS\fR ( const TQString & nsURI, const TQString & qName )" .br .ti -1c -.BI "QDomAttr \fBcreateAttributeNS\fR ( const TQString & nsURI, const TQString & qName )" +.BI "TQDomAttr \fBcreateAttributeNS\fR ( const TQString & nsURI, const TQString & qName )" .br .ti -1c -.BI "QDomNodeList \fBelementsByTagNameNS\fR ( const TQString & nsURI, const TQString & localName )" +.BI "TQDomNodeList \fBelementsByTagNameNS\fR ( const TQString & nsURI, const TQString & localName )" .br .ti -1c -.BI "QDomElement \fBelementById\fR ( const TQString & elementId )" +.BI "TQDomElement \fBelementById\fR ( const TQString & elementId )" .br .ti -1c -.BI "QDomDocumentType \fBdoctype\fR () const" +.BI "TQDomDocumentType \fBdoctype\fR () const" .br .ti -1c -.BI "QDomImplementation \fBimplementation\fR () const" +.BI "TQDomImplementation \fBimplementation\fR () const" .br .ti -1c -.BI "QDomElement \fBdocumentElement\fR () const" +.BI "TQDomElement \fBdocumentElement\fR () const" .br .ti -1c .BI "bool \fBsetContent\fR ( const QCString & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" @@ -111,10 +111,10 @@ Inherits QDomNode. .BI "bool \fBsetContent\fR ( TQIODevice * dev, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" .br .ti -1c -.BI "bool \fBsetContent\fR ( QXmlInputSource * source, QXmlReader * reader, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.BI "bool \fBsetContent\fR ( TQXmlInputSource * source, TQXmlReader * reader, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisDocument\fR () const" @@ -133,17 +133,17 @@ Inherits QDomNode. .br .in -1c .SH DESCRIPTION -The QDomDocument class represents an XML document. +The TQDomDocument class represents an XML document. .PP -The QDomDocument class represents the entire XML document. Conceptually, it is the root of the document tree, and provides the primary access to the document's data. +The TQDomDocument class represents the entire XML document. Conceptually, it is the root of the document tree, and provides the primary access to the document's data. .PP -Since elements, text nodes, comments, processing instructions, etc., cannot exist outside the context of a document, the document class also contains the factory functions needed to create these objects. The node objects created have an ownerDocument() function which associates them with the document within whose context they were created. The DOM classes that will be used most often are QDomNode, QDomDocument, QDomElement and QDomText. +Since elements, text nodes, comments, processing instructions, etc., cannot exist outside the context of a document, the document class also contains the factory functions needed to create these objects. The node objects created have an ownerDocument() function which associates them with the document within whose context they were created. The DOM classes that will be used most often are TQDomNode, TQDomDocument, TQDomElement and TQDomText. .PP -The parsed XML is represented internally by a tree of objects that can be accessed using the various QDom classes. All QDom classes only \fIreference\fR objects in the internal tree. The internal objects in the DOM tree will get deleted once the last QDom object referencing them and the QDomDocument itself are deleted. +The parsed XML is represented internally by a tree of objects that can be accessed using the various TQDom classes. All TQDom classes only \fIreference\fR objects in the internal tree. The internal objects in the DOM tree will get deleted once the last TQDom object referencing them and the TQDomDocument itself are deleted. .PP -Creation of elements, text nodes, etc. is done using the various factory functions provided in this class. Using the default constructors of the QDom classes will only result in empty objects that cannot be manipulated or inserted into the Document. +Creation of elements, text nodes, etc. is done using the various factory functions provided in this class. Using the default constructors of the TQDom classes will only result in empty objects that cannot be manipulated or inserted into the Document. .PP -The QDomDocument class has several functions for creating document data, for example, createElement(), createTextNode(), createComment(), createCDATASection(), createProcessingInstruction(), createAttribute() and createEntityReference(). Some of these functions have versions that support namespaces, i.e. createElementNS() and createAttributeNS(). The createDocumentFragment() function is used to hold parts of the document; this is useful for manipulating for complex documents. +The TQDomDocument class has several functions for creating document data, for example, createElement(), createTextNode(), createComment(), createCDATASection(), createProcessingInstruction(), createAttribute() and createEntityReference(). Some of these functions have versions that support namespaces, i.e. createElementNS() and createAttributeNS(). The createDocumentFragment() function is used to hold parts of the document; this is useful for manipulating for complex documents. .PP The entire content of the document is set with setContent(). This function parses the string it is passed as an XML document and creates the DOM tree that represents the document. The root element is available using documentElement(). The textual representation of the document can be obtained using toString(). .PP @@ -151,11 +151,11 @@ It is possible to insert a node from another document into the document using im .PP You can obtain a list of all the elements that have a particular tag with elementsByTagName() or with elementsByTagNameNS(). .PP -The QDom classes are typically used as follows: +The TQDom classes are typically used as follows: .PP .nf .br - QDomDocument doc( "mydocument" ); + TQDomDocument doc( "mydocument" ); .br QFile file( "mydocument.xml" ); .br @@ -178,14 +178,14 @@ The QDom classes are typically used as follows: .br // of the outermost element. .br - QDomElement docElem = doc.documentElement(); + TQDomElement docElem = doc.documentElement(); .br .br - QDomNode n = docElem.firstChild(); + TQDomNode n = docElem.firstChild(); .br while( !n.isNull() ) { .br - QDomElement e = n.toElement(); // try to convert the node to an element. + TQDomElement e = n.toElement(); // try to convert the node to an element. .br if( !e.isNull() ) { .br @@ -200,7 +200,7 @@ The QDom classes are typically used as follows: .br // Here we append a new element to the end of the document .br - QDomElement elem = doc.createElement( "img" ); + TQDomElement elem = doc.createElement( "img" ); .br elem.setAttribute( "src", "myimage.png" ); .br @@ -214,19 +214,19 @@ To create a document using DOM use code like this: .PP .nf .br - QDomDocument doc( "MyML" ); + TQDomDocument doc( "MyML" ); .br - QDomElement root = doc.createElement( "MyML" ); + TQDomElement root = doc.createElement( "MyML" ); .br doc.appendChild( root ); .br .br - QDomElement tag = doc.createElement( "Greeting" ); + TQDomElement tag = doc.createElement( "Greeting" ); .br root.appendChild( tag ); .br .br - QDomText t = doc.createTextNode( "Hello World" ); + TQDomText t = doc.createTextNode( "Hello World" ); .br tag.appendChild( t ); .br @@ -235,60 +235,60 @@ To create a document using DOM use code like this: .br .fi .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomDocument::QDomDocument ()" +.SH "TQDomDocument::TQDomDocument ()" Constructs an empty document. -.SH "explicit QDomDocument::QDomDocument ( const TQString & name )" +.SH "explicit TQDomDocument::TQDomDocument ( const TQString & name )" Creates a document and sets the name of the document type to \fIname\fR. -.SH "explicit QDomDocument::QDomDocument ( const QDomDocumentType & doctype )" +.SH "explicit TQDomDocument::TQDomDocument ( const TQDomDocumentType & doctype )" Creates a document with the document type \fIdoctype\fR. .PP -See also QDomImplementation::createDocumentType(). -.SH "QDomDocument::QDomDocument ( const QDomDocument & x )" +See also TQDomImplementation::createDocumentType(). +.SH "TQDomDocument::TQDomDocument ( const TQDomDocument & x )" Constructs a copy of \fIx\fR. .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 "QDomDocument::~QDomDocument ()" +.SH "TQDomDocument::~TQDomDocument ()" Destroys the object and frees its resources. -.SH "QDomAttr QDomDocument::createAttribute ( const TQString & name )" -Creates a new attribute called \fIname\fR that can be inserted into an element, e.g. using QDomElement::setAttributeNode(). +.SH "TQDomAttr TQDomDocument::createAttribute ( const TQString & name )" +Creates a new attribute called \fIname\fR that can be inserted into an element, e.g. using TQDomElement::setAttributeNode(). .PP See also createAttributeNS(). -.SH "QDomAttr QDomDocument::createAttributeNS ( const TQString & nsURI, const TQString & qName )" -Creates a new attribute with namespace support that can be inserted into an element. The name of the attribute is \fIqName\fR and the namespace URI is \fInsURI\fR. This function also sets QDomNode::prefix() and QDomNode::localName() to appropriate values (depending on \fIqName\fR). +.SH "TQDomAttr TQDomDocument::createAttributeNS ( const TQString & nsURI, const TQString & qName )" +Creates a new attribute with namespace support that can be inserted into an element. The name of the attribute is \fIqName\fR and the namespace URI is \fInsURI\fR. This function also sets TQDomNode::prefix() and TQDomNode::localName() to appropriate values (depending on \fIqName\fR). .PP See also createAttribute(). -.SH "QDomCDATASection QDomDocument::createCDATASection ( const TQString & value )" -Creates a new CDATA section for the string \fIvalue\fR that can be inserted into the document, e.g. using QDomNode::appendChild(). +.SH "TQDomCDATASection TQDomDocument::createCDATASection ( const TQString & value )" +Creates a new CDATA section for the string \fIvalue\fR that can be inserted into the document, e.g. using TQDomNode::appendChild(). .PP -See also QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). -.SH "QDomComment QDomDocument::createComment ( const TQString & value )" -Creates a new comment for the string \fIvalue\fR that can be inserted into the document, e.g. using QDomNode::appendChild(). +See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). +.SH "TQDomComment TQDomDocument::createComment ( const TQString & value )" +Creates a new comment for the string \fIvalue\fR that can be inserted into the document, e.g. using TQDomNode::appendChild(). .PP -See also QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). -.SH "QDomDocumentFragment QDomDocument::createDocumentFragment ()" +See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). +.SH "TQDomDocumentFragment TQDomDocument::createDocumentFragment ()" Creates a new document fragment, that can be used to hold parts of the document, e.g. when doing complex manipulations of the document tree. -.SH "QDomElement QDomDocument::createElement ( const TQString & tagName )" -Creates a new element called \fItagName\fR that can be inserted into the DOM tree, e.g. using QDomNode::appendChild(). +.SH "TQDomElement TQDomDocument::createElement ( const TQString & tagName )" +Creates a new element called \fItagName\fR that can be inserted into the DOM tree, e.g. using TQDomNode::appendChild(). .PP -See also createElementNS(), QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). -.SH "QDomElement QDomDocument::createElementNS ( const TQString & nsURI, const TQString & qName )" -Creates a new element with namespace support that can be inserted into the DOM tree. The name of the element is \fIqName\fR and the namespace URI is \fInsURI\fR. This function also sets QDomNode::prefix() and QDomNode::localName() to appropriate values (depending on \fIqName\fR). +See also createElementNS(), TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). +.SH "TQDomElement TQDomDocument::createElementNS ( const TQString & nsURI, const TQString & qName )" +Creates a new element with namespace support that can be inserted into the DOM tree. The name of the element is \fIqName\fR and the namespace URI is \fInsURI\fR. This function also sets TQDomNode::prefix() and TQDomNode::localName() to appropriate values (depending on \fIqName\fR). .PP See also createElement(). -.SH "QDomEntityReference QDomDocument::createEntityReference ( const TQString & name )" -Creates a new entity reference called \fIname\fR that can be inserted into the document, e.g. using QDomNode::appendChild(). +.SH "TQDomEntityReference TQDomDocument::createEntityReference ( const TQString & name )" +Creates a new entity reference called \fIname\fR that can be inserted into the document, e.g. using TQDomNode::appendChild(). .PP -See also QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). -.SH "QDomProcessingInstruction QDomDocument::createProcessingInstruction ( const TQString & target, const TQString & data )" -Creates a new processing instruction that can be inserted into the document, e.g. using QDomNode::appendChild(). This function sets the target for the processing instruction to \fItarget\fR and the data to \fIdata\fR. +See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). +.SH "TQDomProcessingInstruction TQDomDocument::createProcessingInstruction ( const TQString & target, const TQString & data )" +Creates a new processing instruction that can be inserted into the document, e.g. using TQDomNode::appendChild(). This function sets the target for the processing instruction to \fItarget\fR and the data to \fIdata\fR. .PP -See also QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). -.SH "QDomText QDomDocument::createTextNode ( const TQString & value )" -Creates a text node for the string \fIvalue\fR that can be inserted into the document tree, e.g. using QDomNode::appendChild(). +See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). +.SH "TQDomText TQDomDocument::createTextNode ( const TQString & value )" +Creates a text node for the string \fIvalue\fR that can be inserted into the document tree, e.g. using TQDomNode::appendChild(). .PP \fBWarning:\fR All characters within an XML document must be in the range: .PP @@ -298,79 +298,79 @@ This rule also applies to characters encoded as character entities and character .PP If you want to store binary data in an XML document you must either use your own scheme to escape illegal characters, or you must store it in an external unparsed entity. .PP -See also QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). -.SH "QDomDocumentType QDomDocument::doctype () const" +See also TQDomNode::appendChild(), TQDomNode::insertBefore(), and TQDomNode::insertAfter(). +.SH "TQDomDocumentType TQDomDocument::doctype () const" Returns the document type of this document. -.SH "QDomElement QDomDocument::documentElement () const" +.SH "TQDomElement TQDomDocument::documentElement () const" Returns the root element of the document. -.SH "QDomElement QDomDocument::elementById ( const TQString & elementId )" +.SH "TQDomElement TQDomDocument::elementById ( const TQString & elementId )" Returns the element whose ID is equal to \fIelementId\fR. If no element with the ID was found, this function returns a null element. .PP -Since the QDomClasses do not know which attributes are element IDs, this function returns always a null element. This may change in a future version. -.SH "QDomNodeList QDomDocument::elementsByTagName ( const TQString & tagname ) const" -Returns a QDomNodeList, that contains all the elements in the document with the name \fItagname\fR. The order of the node list is the order they are encountered in a preorder traversal of the element tree. +Since the TQDomClasses do not know which attributes are element IDs, this function returns always a null element. This may change in a future version. +.SH "TQDomNodeList TQDomDocument::elementsByTagName ( const TQString & tagname ) const" +Returns a TQDomNodeList, that contains all the elements in the document with the name \fItagname\fR. The order of the node list is the order they are encountered in a preorder traversal of the element tree. .PP -See also elementsByTagNameNS() and QDomElement::elementsByTagName(). -.SH "QDomNodeList QDomDocument::elementsByTagNameNS ( const TQString & nsURI, const TQString & localName )" -Returns a QDomNodeList that contains all the elements in the document with the local name \fIlocalName\fR and a namespace URI of \fInsURI\fR. The order of the node list is the order they are encountered in a preorder traversal of the element tree. +See also elementsByTagNameNS() and TQDomElement::elementsByTagName(). +.SH "TQDomNodeList TQDomDocument::elementsByTagNameNS ( const TQString & nsURI, const TQString & localName )" +Returns a TQDomNodeList that contains all the elements in the document with the local name \fIlocalName\fR and a namespace URI of \fInsURI\fR. The order of the node list is the order they are encountered in a preorder traversal of the element tree. .PP -See also elementsByTagName() and QDomElement::elementsByTagNameNS(). -.SH "QDomImplementation QDomDocument::implementation () const" -Returns a QDomImplementation object. -.SH "QDomNode QDomDocument::importNode ( const QDomNode & importedNode, bool deep )" +See also elementsByTagName() and TQDomElement::elementsByTagNameNS(). +.SH "TQDomImplementation TQDomDocument::implementation () const" +Returns a TQDomImplementation object. +.SH "TQDomNode TQDomDocument::importNode ( const TQDomNode & importedNode, bool deep )" Imports the node \fIimportedNode\fR from another document to this document. \fIimportedNode\fR remains in the original document; this function creates a copy that can be used within this document. .PP -This function returns the imported node that belongs to this document. The returned node has no parent. It is not possible to import QDomDocument and QDomDocumentType nodes. In those cases this function returns a null node. +This function returns the imported node that belongs to this document. The returned node has no parent. It is not possible to import TQDomDocument and TQDomDocumentType nodes. In those cases this function returns a null node. .PP -If \fIdeep\fR is TRUE, this function imports not only the node \fIimportedNode\fR but its whole subtree; if it is FALSE, only the \fIimportedNode\fR is imported. The argument \fIdeep\fR has no effect on QDomAttr and QDomEntityReference nodes, since the descendents of QDomAttr nodes are always imported and those of QDomEntityReference nodes are never imported. +If \fIdeep\fR is TRUE, this function imports not only the node \fIimportedNode\fR but its whole subtree; if it is FALSE, only the \fIimportedNode\fR is imported. The argument \fIdeep\fR has no effect on TQDomAttr and TQDomEntityReference nodes, since the descendents of TQDomAttr nodes are always imported and those of TQDomEntityReference nodes are never imported. .PP The behavior of this function is slightly different depending on the node types: <center>.nf .TS -l - l. Node Type Behaviour QDomAttr The owner element is set to 0 and the specified flag is set to TRUE in the generated attribute. The whole subtree of \fIimportedNode\fR is always imported for attribute nodes: \fIdeep\fR has no effect. QDomDocument Document nodes cannot be imported. QDomDocumentFragment If \fIdeep\fR is TRUE, this function imports the whole document fragment; otherwise it only generates an empty document fragment. QDomDocumentType Document type nodes cannot be imported. QDomElement Attributes for which QDomAttr::specified() is TRUE are also imported, other attributes are not imported. If \fIdeep\fR is TRUE, this function also imports the subtree of \fIimportedNode\fR; otherwise it imports only the element node (and some attributes, see above). QDomEntity Entity nodes can be imported, but at the moment there is no way to use them since the document type is read-only in DOM level 2. QDomEntityReference Descendents of entity reference nodes are never imported: \fIdeep\fR has no effect. QDomNotation Notation nodes can be imported, but at the moment there is no way to use them since the document type is read-only in DOM level 2. QDomProcessingInstruction The target and value of the processing instruction is copied to the new node. QDomText The text is copied to the new node. QDomCDATASection The text is copied to the new node. QDomComment +l - l. Node Type Behaviour TQDomAttr The owner element is set to 0 and the specified flag is set to TRUE in the generated attribute. The whole subtree of \fIimportedNode\fR is always imported for attribute nodes: \fIdeep\fR has no effect. TQDomDocument Document nodes cannot be imported. TQDomDocumentFragment If \fIdeep\fR is TRUE, this function imports the whole document fragment; otherwise it only generates an empty document fragment. TQDomDocumentType Document type nodes cannot be imported. TQDomElement Attributes for which TQDomAttr::specified() is TRUE are also imported, other attributes are not imported. If \fIdeep\fR is TRUE, this function also imports the subtree of \fIimportedNode\fR; otherwise it imports only the element node (and some attributes, see above). TQDomEntity Entity nodes can be imported, but at the moment there is no way to use them since the document type is read-only in DOM level 2. TQDomEntityReference Descendents of entity reference nodes are never imported: \fIdeep\fR has no effect. TQDomNotation Notation nodes can be imported, but at the moment there is no way to use them since the document type is read-only in DOM level 2. TQDomProcessingInstruction The target and value of the processing instruction is copied to the new node. TQDomText The text is copied to the new node. TQDomCDATASection The text is copied to the new node. TQDomComment .TE .fi </center> .PP -See also QDomElement::setAttribute(), QDomNode::insertBefore(), QDomNode::insertAfter(), QDomNode::replaceChild(), QDomNode::removeChild(), and QDomNode::appendChild(). -.SH "bool QDomDocument::isDocument () const\fC [virtual]\fR" +See also TQDomElement::setAttribute(), TQDomNode::insertBefore(), TQDomNode::insertAfter(), TQDomNode::replaceChild(), TQDomNode::removeChild(), and TQDomNode::appendChild(). +.SH "bool TQDomDocument::isDocument () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomDocument::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomDocument::nodeType () const\fC [virtual]\fR" Returns DocumentNode. .PP -Reimplemented from QDomNode. -.SH "QDomDocument & QDomDocument::operator= ( const QDomDocument & x )" +Reimplemented from TQDomNode. +.SH "TQDomDocument & TQDomDocument::operator= ( const TQDomDocument & x )" Assigns \fIx\fR to this DOM document. .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 "bool QDomDocument::setContent ( const QByteArray & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool TQDomDocument::setContent ( const QByteArray & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This function parses the XML document from the byte array \fIbuffer\fR and sets it as the content of the document. It tries to detect the encoding of the document as required by the XML specification. .PP If \fInamespaceProcessing\fR is TRUE, the parser recognizes namespaces in the XML file and sets the prefix name, local name and namespace URI to appropriate values. If \fInamespaceProcessing\fR is FALSE, the parser does no namespace processing when it reads the XML file. .PP If a parse error occurs, the function returns FALSE; otherwise it returns TRUE. If a parse error occurs and \fIerrorMsg\fR, \fIerrorLine\fR and \fIerrorColumn\fR are not 0, the error message is placed in \fI*errorMsg\fR, the line number \fI*errorLine\fR and the column number in \fI*errorColumn\fR. .PP -If \fInamespaceProcessing\fR is TRUE, the function QDomNode::prefix() returns a string for all elements and attributes. It returns an empty string if the element or attribute has no prefix. +If \fInamespaceProcessing\fR is TRUE, the function TQDomNode::prefix() returns a string for all elements and attributes. It returns an empty string if the element or attribute has no prefix. .PP -If \fInamespaceProcessing\fR is FALSE, the functions QDomNode::prefix(), QDomNode::localName() and QDomNode::namespaceURI() return TQString::null. +If \fInamespaceProcessing\fR is FALSE, the functions TQDomNode::prefix(), TQDomNode::localName() and TQDomNode::namespaceURI() return TQString::null. .PP -See also QDomNode::namespaceURI(), QDomNode::localName(), QDomNode::prefix(), TQString::isNull(), and TQString::isEmpty(). -.SH "bool QDomDocument::setContent ( const QCString & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +See also TQDomNode::namespaceURI(), TQDomNode::localName(), TQDomNode::prefix(), TQString::isNull(), and TQString::isEmpty(). +.SH "bool TQDomDocument::setContent ( const QCString & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function reads the XML document from the C string \fIbuffer\fR. .PP \fBWarning:\fR This function does not try to detect the encoding: instead it assumes that the C string is UTF-8 encoded. -.SH "bool QDomDocument::setContent ( const TQString & text, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool TQDomDocument::setContent ( const TQString & text, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function reads the XML document from the string \fItext\fR. Since \fItext\fR is already a Unicode string, no encoding detection is done. -.SH "bool QDomDocument::setContent ( TQIODevice * dev, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool TQDomDocument::setContent ( TQIODevice * dev, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function reads the XML document from the IO device \fIdev\fR. -.SH "bool QDomDocument::setContent ( const QCString & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool TQDomDocument::setContent ( const QCString & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function reads the XML document from the C string \fIbuffer\fR. @@ -378,52 +378,52 @@ This function reads the XML document from the C string \fIbuffer\fR. No namespace processing is performed. .PP \fBWarning:\fR This function does not try to detect the encoding: instead it assumes that the C string is UTF-8 encoded. -.SH "bool QDomDocument::setContent ( const QByteArray & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool TQDomDocument::setContent ( const QByteArray & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function reads the XML document from the byte array \fIbuffer\fR. .PP No namespace processing is performed. -.SH "bool QDomDocument::setContent ( const TQString & text, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool TQDomDocument::setContent ( const TQString & text, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function reads the XML document from the string \fItext\fR. Since \fItext\fR is already a Unicode string, no encoding detection is performed. .PP No namespace processing is performed either. -.SH "bool QDomDocument::setContent ( TQIODevice * dev, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool TQDomDocument::setContent ( TQIODevice * dev, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function reads the XML document from the IO device \fIdev\fR. .PP No namespace processing is performed. -.SH "bool QDomDocument::setContent ( QXmlInputSource * source, QXmlReader * reader, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool TQDomDocument::setContent ( TQXmlInputSource * source, TQXmlReader * reader, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function reads the XML document from the QXmlInputSource \fIsource\fR and parses it with the QXmlReader \fIreader\fR. +This function reads the XML document from the TQXmlInputSource \fIsource\fR and parses it with the TQXmlReader \fIreader\fR. .PP This function doesn't change the features of the \fIreader\fR. If you want to use certain features for parsing you can use this function to set up the reader appropriate. .PP -See also QXmlSimpleReader. -.SH "QCString QDomDocument::toCString () const" +See also TQXmlSimpleReader. +.SH "QCString TQDomDocument::toCString () const" Converts the parsed document back to its textual representation and returns a QCString for that is encoded in UTF-8. .PP See also toString(). -.SH "QCString QDomDocument::toCString ( int indent ) const" +.SH "QCString TQDomDocument::toCString ( int indent ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function uses \fIindent\fR as the amount of space to indent subelements. -.SH "TQString QDomDocument::toString () const" +.SH "TQString TQDomDocument::toString () const" Converts the parsed document back to its textual representation. .PP See also toCString(). -.SH "TQString QDomDocument::toString ( int indent ) const" +.SH "TQString TQDomDocument::toString ( int indent ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function uses \fIindent\fR as the amount of space to indent subelements. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomdocument.html +.BR http://doc.trolltech.com/tqdomdocument.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomdocumentfragment.3qt b/doc/man/man3/tqdomdocumentfragment.3qt index 101e844cd..ad35f8bb0 100644 --- a/doc/man/man3/tqdomdocumentfragment.3qt +++ b/doc/man/man3/tqdomdocumentfragment.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomDocumentFragment 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomDocumentFragment 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,67 +7,67 @@ .ad l .nh .SH NAME -QDomDocumentFragment \- Tree of QDomNodes which is not usually a complete QDomDocument +TQDomDocumentFragment \- Tree of TQDomNodes which is not usually a complete TQDomDocument .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 -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomDocumentFragment\fR ()" +.BI "\fBTQDomDocumentFragment\fR ()" .br .ti -1c -.BI "\fBQDomDocumentFragment\fR ( const QDomDocumentFragment & x )" +.BI "\fBTQDomDocumentFragment\fR ( const TQDomDocumentFragment & x )" .br .ti -1c -.BI "QDomDocumentFragment & \fBoperator=\fR ( const QDomDocumentFragment & x )" +.BI "TQDomDocumentFragment & \fBoperator=\fR ( const TQDomDocumentFragment & x )" .br .ti -1c -.BI "\fB~QDomDocumentFragment\fR ()" +.BI "\fB~TQDomDocumentFragment\fR ()" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisDocumentFragment\fR () const" .br .in -1c .SH DESCRIPTION -The QDomDocumentFragment class is a tree of QDomNodes which is not usually a complete QDomDocument. +The TQDomDocumentFragment class is a tree of TQDomNodes which is not usually a complete TQDomDocument. .PP -If you want to do complex tree operations it is useful to have a lightweight class to store nodes and their relations. QDomDocumentFragment stores a subtree of a document which does not necessarily represent a well-formed XML document. +If you want to do complex tree operations it is useful to have a lightweight class to store nodes and their relations. TQDomDocumentFragment stores a subtree of a document which does not necessarily represent a well-formed XML document. .PP -QDomDocumentFragment is also useful if you want to group several nodes in a list and insert them all together as children of some node. In these cases QDomDocumentFragment can be used as a temporary container for this list of children. +TQDomDocumentFragment is also useful if you want to group several nodes in a list and insert them all together as children of some node. In these cases TQDomDocumentFragment can be used as a temporary container for this list of children. .PP -The most important feature of QDomDocumentFragment is that it is treated in a special way by QDomNode::insertAfter(), QDomNode::insertBefore(), QDomNode::replaceChild() and QDomNode::appendChild(): instead of inserting the fragment itself, all the fragment's children are inserted. +The most important feature of TQDomDocumentFragment is that it is treated in a special way by TQDomNode::insertAfter(), TQDomNode::insertBefore(), TQDomNode::replaceChild() and TQDomNode::appendChild(): instead of inserting the fragment itself, all the fragment's children are inserted. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomDocumentFragment::QDomDocumentFragment ()" +.SH "TQDomDocumentFragment::TQDomDocumentFragment ()" Constructs an empty document fragment. -.SH "QDomDocumentFragment::QDomDocumentFragment ( const QDomDocumentFragment & x )" +.SH "TQDomDocumentFragment::TQDomDocumentFragment ( const TQDomDocumentFragment & x )" Constructs a copy of \fIx\fR. .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 "QDomDocumentFragment::~QDomDocumentFragment ()" +.SH "TQDomDocumentFragment::~TQDomDocumentFragment ()" Destroys the object and frees its resources. -.SH "bool QDomDocumentFragment::isDocumentFragment () const\fC [virtual]\fR" -This function reimplements QDomNode::isDocumentFragment(). +.SH "bool TQDomDocumentFragment::isDocumentFragment () const\fC [virtual]\fR" +This function reimplements TQDomNode::isDocumentFragment(). .PP -See also nodeType() and QDomNode::toDocumentFragment(). +See also nodeType() and TQDomNode::toDocumentFragment(). .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomDocumentFragment::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomDocumentFragment::nodeType () const\fC [virtual]\fR" Returns \fCDocumentFragment\fR. .PP -See also isDocumentFragment() and QDomNode::toDocumentFragment(). +See also isDocumentFragment() and TQDomNode::toDocumentFragment(). .PP -Reimplemented from QDomNode. -.SH "QDomDocumentFragment & QDomDocumentFragment::operator= ( const QDomDocumentFragment & x )" +Reimplemented from TQDomNode. +.SH "TQDomDocumentFragment & TQDomDocumentFragment::operator= ( const TQDomDocumentFragment & x )" Assigns \fIx\fR to this DOM document fragment. .PP The data of the copy is shared (shallow copy): modifying one node @@ -75,7 +75,7 @@ will also change the other. If you want to make a deep copy, use cloneNode(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomdocumentfragment.html +.BR http://doc.trolltech.com/tqdomdocumentfragment.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomdocumenttype.3qt b/doc/man/man3/tqdomdocumenttype.3qt index d416fd298..196e5e162 100644 --- a/doc/man/man3/tqdomdocumenttype.3qt +++ b/doc/man/man3/tqdomdocumenttype.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomDocumentType 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomDocumentType 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,36 +7,36 @@ .ad l .nh .SH NAME -QDomDocumentType \- The representation of the DTD in the document tree +TQDomDocumentType \- The representation of the DTD in the document tree .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 -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomDocumentType\fR ()" +.BI "\fBTQDomDocumentType\fR ()" .br .ti -1c -.BI "\fBQDomDocumentType\fR ( const QDomDocumentType & n )" +.BI "\fBTQDomDocumentType\fR ( const TQDomDocumentType & n )" .br .ti -1c -.BI "QDomDocumentType & \fBoperator=\fR ( const QDomDocumentType & n )" +.BI "TQDomDocumentType & \fBoperator=\fR ( const TQDomDocumentType & n )" .br .ti -1c -.BI "\fB~QDomDocumentType\fR ()" +.BI "\fB~TQDomDocumentType\fR ()" .br .ti -1c .BI "virtual TQString \fBname\fR () const" .br .ti -1c -.BI "virtual QDomNamedNodeMap \fBentities\fR () const" +.BI "virtual TQDomNamedNodeMap \fBentities\fR () const" .br .ti -1c -.BI "virtual QDomNamedNodeMap \fBnotations\fR () const" +.BI "virtual TQDomNamedNodeMap \fBnotations\fR () const" .br .ti -1c .BI "virtual TQString \fBpublicId\fR () const" @@ -48,66 +48,66 @@ Inherits QDomNode. .BI "virtual TQString \fBinternalSubset\fR () const" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisDocumentType\fR () const" .br .in -1c .SH DESCRIPTION -The QDomDocumentType class is the representation of the DTD in the document tree. +The TQDomDocumentType class is the representation of the DTD in the document tree. .PP -The QDomDocumentType class allows read-only access to some of the data structures in the DTD: it can return a map of all entities() and notations(). In addition the function name() returns the name of the document type as specified in the <!DOCTYPE name> tag. This class also provides the publicId(), systemId() and internalSubset() functions. +The TQDomDocumentType class allows read-only access to some of the data structures in the DTD: it can return a map of all entities() and notations(). In addition the function name() returns the name of the document type as specified in the <!DOCTYPE name> tag. This class also provides the publicId(), systemId() and internalSubset() functions. .PP -See also QDomDocument and XML. +See also TQDomDocument and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomDocumentType::QDomDocumentType ()" -Creates an empty QDomDocumentType object. -.SH "QDomDocumentType::QDomDocumentType ( const QDomDocumentType & n )" +.SH "TQDomDocumentType::TQDomDocumentType ()" +Creates an empty TQDomDocumentType object. +.SH "TQDomDocumentType::TQDomDocumentType ( const TQDomDocumentType & n )" Constructs a copy of \fIn\fR. .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 "QDomDocumentType::~QDomDocumentType ()" +.SH "TQDomDocumentType::~TQDomDocumentType ()" Destroys the object and frees its resources. -.SH "QDomNamedNodeMap QDomDocumentType::entities () const\fC [virtual]\fR" +.SH "TQDomNamedNodeMap TQDomDocumentType::entities () const\fC [virtual]\fR" Returns a map of all entities described in the DTD. -.SH "TQString QDomDocumentType::internalSubset () const\fC [virtual]\fR" +.SH "TQString TQDomDocumentType::internalSubset () const\fC [virtual]\fR" Returns the internal subset of the document type or TQString::null if there is no internal subset. .PP See also publicId() and systemId(). -.SH "bool QDomDocumentType::isDocumentType () const\fC [virtual]\fR" -This function overloads QDomNode::isDocumentType(). +.SH "bool TQDomDocumentType::isDocumentType () const\fC [virtual]\fR" +This function overloads TQDomNode::isDocumentType(). .PP -See also nodeType() and QDomNode::toDocumentType(). +See also nodeType() and TQDomNode::toDocumentType(). .PP -Reimplemented from QDomNode. -.SH "TQString QDomDocumentType::name () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQString TQDomDocumentType::name () const\fC [virtual]\fR" Returns the name of the document type as specified in the <!DOCTYPE name> tag. .PP See also nodeName(). -.SH "QDomNode::NodeType QDomDocumentType::nodeType () const\fC [virtual]\fR" +.SH "TQDomNode::NodeType TQDomDocumentType::nodeType () const\fC [virtual]\fR" Returns DocumentTypeNode. .PP -See also isDocumentType() and QDomNode::toDocumentType(). +See also isDocumentType() and TQDomNode::toDocumentType(). .PP -Reimplemented from QDomNode. -.SH "QDomNamedNodeMap QDomDocumentType::notations () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNamedNodeMap TQDomDocumentType::notations () const\fC [virtual]\fR" Returns a map of all notations described in the DTD. -.SH "QDomDocumentType & QDomDocumentType::operator= ( const QDomDocumentType & n )" +.SH "TQDomDocumentType & TQDomDocumentType::operator= ( const TQDomDocumentType & n )" Assigns \fIn\fR to this document type. .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 "TQString QDomDocumentType::publicId () const\fC [virtual]\fR" +.SH "TQString TQDomDocumentType::publicId () const\fC [virtual]\fR" Returns the public identifier of the external DTD subset or TQString::null if there is no public identifier. .PP -See also systemId(), internalSubset(), and QDomImplementation::createDocumentType(). -.SH "TQString QDomDocumentType::systemId () const\fC [virtual]\fR" +See also systemId(), internalSubset(), and TQDomImplementation::createDocumentType(). +.SH "TQString TQDomDocumentType::systemId () const\fC [virtual]\fR" Returns the system identifier of the external DTD subset or TQString::null if there is no system identifier. .PP -See also publicId(), internalSubset(), and QDomImplementation::createDocumentType(). +See also publicId(), internalSubset(), and TQDomImplementation::createDocumentType(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomdocumenttype.html +.BR http://doc.trolltech.com/tqdomdocumenttype.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomelement.3qt b/doc/man/man3/tqdomelement.3qt index 916e7b0fa..e65d140e2 100644 --- a/doc/man/man3/tqdomelement.3qt +++ b/doc/man/man3/tqdomelement.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomElement 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomElement 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,27 +7,27 @@ .ad l .nh .SH NAME -QDomElement \- Represents one element in the DOM tree +TQDomElement \- Represents one element in the DOM tree .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 -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomElement\fR ()" +.BI "\fBTQDomElement\fR ()" .br .ti -1c -.BI "\fBQDomElement\fR ( const QDomElement & x )" +.BI "\fBTQDomElement\fR ( const TQDomElement & x )" .br .ti -1c -.BI "QDomElement & \fBoperator=\fR ( const QDomElement & x )" +.BI "TQDomElement & \fBoperator=\fR ( const TQDomElement & x )" .br .ti -1c -.BI "\fB~QDomElement\fR ()" +.BI "\fB~TQDomElement\fR ()" .br .ti -1c .BI "TQString \fBattribute\fR ( const TQString & name, const TQString & defValue = TQString::null ) const" @@ -54,16 +54,16 @@ Inherits QDomNode. .BI "void \fBremoveAttribute\fR ( const TQString & name )" .br .ti -1c -.BI "QDomAttr \fBattributeNode\fR ( const TQString & name )" +.BI "TQDomAttr \fBattributeNode\fR ( const TQString & name )" .br .ti -1c -.BI "QDomAttr \fBsetAttributeNode\fR ( const QDomAttr & newAttr )" +.BI "TQDomAttr \fBsetAttributeNode\fR ( const TQDomAttr & newAttr )" .br .ti -1c -.BI "QDomAttr \fBremoveAttributeNode\fR ( const QDomAttr & oldAttr )" +.BI "TQDomAttr \fBremoveAttributeNode\fR ( const TQDomAttr & oldAttr )" .br .ti -1c -.BI "virtual QDomNodeList \fBelementsByTagName\fR ( const TQString & tagname ) const" +.BI "virtual TQDomNodeList \fBelementsByTagName\fR ( const TQString & tagname ) const" .br .ti -1c .BI "bool \fBhasAttribute\fR ( const TQString & name ) const" @@ -93,13 +93,13 @@ Inherits QDomNode. .BI "void \fBremoveAttributeNS\fR ( const TQString & nsURI, const TQString & localName )" .br .ti -1c -.BI "QDomAttr \fBattributeNodeNS\fR ( const TQString & nsURI, const TQString & localName )" +.BI "TQDomAttr \fBattributeNodeNS\fR ( const TQString & nsURI, const TQString & localName )" .br .ti -1c -.BI "QDomAttr \fBsetAttributeNodeNS\fR ( const QDomAttr & newAttr )" +.BI "TQDomAttr \fBsetAttributeNodeNS\fR ( const TQDomAttr & newAttr )" .br .ti -1c -.BI "virtual QDomNodeList \fBelementsByTagNameNS\fR ( const TQString & nsURI, const TQString & localName ) const" +.BI "virtual TQDomNodeList \fBelementsByTagNameNS\fR ( const TQString & nsURI, const TQString & localName ) const" .br .ti -1c .BI "bool \fBhasAttributeNS\fR ( const TQString & nsURI, const TQString & localName ) const" @@ -111,10 +111,10 @@ Inherits QDomNode. .BI "void \fBsetTagName\fR ( const TQString & name )" .br .ti -1c -.BI "virtual QDomNamedNodeMap \fBattributes\fR () const" +.BI "virtual TQDomNamedNodeMap \fBattributes\fR () const" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisElement\fR () const" @@ -124,36 +124,36 @@ Inherits QDomNode. .br .in -1c .SH DESCRIPTION -The QDomElement class represents one element in the DOM tree. +The TQDomElement class represents one element in the DOM tree. .PP Elements have a tagName() and zero or more attributes associated with them. The tag name can be changed with setTagName(). .PP -Element attributes are represented by QDomAttr objects that can be queried using the attribute() and attributeNode() functions. You can set attributes with the setAttribute() and setAttributeNode() functions. Attributes can be removed with removeAttribute(). There are namespace-aware equivalents to these functions, i.e. setAttributeNS(), setAttributeNodeNS() and removeAttributeNS(). +Element attributes are represented by TQDomAttr objects that can be queried using the attribute() and attributeNode() functions. You can set attributes with the setAttribute() and setAttributeNode() functions. Attributes can be removed with removeAttribute(). There are namespace-aware equivalents to these functions, i.e. setAttributeNS(), setAttributeNodeNS() and removeAttributeNS(). .PP If you want to access the text of a node use text(), e.g. .PP .nf .br - QDomElement e = //... + TQDomElement e = //... .br //... .br 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. +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 TQDomText nodes, e.g. .PP .nf .br TQString text; .br - QDomElement element = doc.documentElement(); + TQDomElement element = doc.documentElement(); .br - for( QDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) + for( TQDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) .br { .br - QDomText t = n.toText(); + TQDomText t = n.toText(); .br if ( !t.isNull() ) .br @@ -166,123 +166,123 @@ Note that we attempt to convert each node to a text node and use text() rather t .PP You can get a list of all the decendents of an element which have a specified tag name with elementsByTagName() or elementsByTagNameNS(). .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomElement::QDomElement ()" -Constructs an empty element. Use the QDomDocument::createElement() function to construct elements with content. -.SH "QDomElement::QDomElement ( const QDomElement & x )" +.SH "TQDomElement::TQDomElement ()" +Constructs an empty element. Use the TQDomDocument::createElement() function to construct elements with content. +.SH "TQDomElement::TQDomElement ( const TQDomElement & x )" Constructs a copy of \fIx\fR. .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 "QDomElement::~QDomElement ()" +.SH "TQDomElement::~TQDomElement ()" Destroys the object and frees its resources. -.SH "TQString QDomElement::attribute ( const TQString & name, const TQString & defValue = TQString::null ) const" +.SH "TQString TQDomElement::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 "TQString QDomElement::attributeNS ( const TQString nsURI, const TQString & localName, const TQString & defValue ) const" +.SH "TQString TQDomElement::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 TQString & name )" -Returns the QDomAttr object that corresponds to the attribute called \fIname\fR. If no such attribute exists a null attribute is returned. +.SH "TQDomAttr TQDomElement::attributeNode ( const TQString & name )" +Returns the TQDomAttr 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 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. +.SH "TQDomAttr TQDomElement::attributeNodeNS ( const TQString & nsURI, const TQString & localName )" +Returns the TQDomAttr 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(). -.SH "QDomNamedNodeMap QDomElement::attributes () const\fC [virtual]\fR" -Returns a QDomNamedNodeMap containing all this element's attributes. +.SH "TQDomNamedNodeMap TQDomElement::attributes () const\fC [virtual]\fR" +Returns a TQDomNamedNodeMap containing all this element's attributes. .PP See also attribute(), setAttribute(), attributeNode(), and setAttributeNode(). .PP -Reimplemented from QDomNode. -.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. +Reimplemented from TQDomNode. +.SH "TQDomNodeList TQDomElement::elementsByTagName ( const TQString & tagname ) const\fC [virtual]\fR" +Returns a TQDomNodeList 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 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. +See also elementsByTagNameNS() and TQDomDocument::elementsByTagName(). +.SH "TQDomNodeList TQDomElement::elementsByTagNameNS ( const TQString & nsURI, const TQString & localName ) const\fC [virtual]\fR" +Returns a TQDomNodeList 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 TQString & name ) const" +See also elementsByTagName() and TQDomDocument::elementsByTagNameNS(). +.SH "bool TQDomElement::hasAttribute ( const TQString & name ) const" Returns TRUE if this element has an attribute called \fIname\fR; otherwise returns FALSE. -.SH "bool QDomElement::hasAttributeNS ( const TQString & nsURI, const TQString & localName ) const" +.SH "bool TQDomElement::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" +.SH "bool TQDomElement::isElement () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomElement::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomElement::nodeType () const\fC [virtual]\fR" Returns ElementNode. .PP -Reimplemented from QDomNode. -.SH "QDomElement & QDomElement::operator= ( const QDomElement & x )" +Reimplemented from TQDomNode. +.SH "TQDomElement & TQDomElement::operator= ( const TQDomElement & x )" 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 TQString & name )" +.SH "void TQDomElement::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 TQString & nsURI, const TQString & localName )" +.SH "void TQDomElement::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(). -.SH "QDomAttr QDomElement::removeAttributeNode ( const QDomAttr & oldAttr )" +.SH "TQDomAttr TQDomElement::removeAttributeNode ( const TQDomAttr & oldAttr )" Removes the attribute \fIoldAttr\fR from the element and returns it. .PP See also attributeNode() and setAttributeNode(). -.SH "void QDomElement::setAttribute ( const TQString & name, const TQString & value )" +.SH "void TQDomElement::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 TQString & name, int value )" +.SH "void TQDomElement::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 TQString & name, uint value )" +.SH "void TQDomElement::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 TQString & name, long value )" +.SH "void TQDomElement::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 TQString & name, ulong value )" +.SH "void TQDomElement::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 TQString & name, double value )" +.SH "void TQDomElement::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 TQString nsURI, const TQString & qName, const TQString & value )" +.SH "void TQDomElement::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 TQString nsURI, const TQString & qName, int value )" +.SH "void TQDomElement::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 TQString nsURI, const TQString & qName, uint value )" +.SH "void TQDomElement::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 TQString nsURI, const TQString & qName, long value )" +.SH "void TQDomElement::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 TQString nsURI, const TQString & qName, ulong value )" +.SH "void TQDomElement::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 TQString nsURI, const TQString & qName, double value )" +.SH "void TQDomElement::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 )" +.SH "TQDomAttr TQDomElement::setAttributeNode ( const TQDomAttr & newAttr )" Adds the attribute \fInewAttr\fR to this element. .PP If the element has another attribute that has the same name as \fInewAttr\fR, this function replaces that attribute and returns it; otherwise the function returns a null attribute. .PP See also attributeNode(), setAttribute(), and setAttributeNodeNS(). -.SH "QDomAttr QDomElement::setAttributeNodeNS ( const QDomAttr & newAttr )" +.SH "TQDomAttr TQDomElement::setAttributeNodeNS ( const TQDomAttr & newAttr )" Adds the attribute \fInewAttr\fR to this element. .PP 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 TQString & name )" +.SH "void TQDomElement::setTagName ( const TQString & name )" Sets this element's tag name to \fIname\fR. .PP See also tagName(). -.SH "TQString QDomElement::tagName () const" +.SH "TQString TQDomElement::tagName () const" Returns the tag name of this element. For an XML element like this: .PP .nf @@ -293,7 +293,7 @@ Returns the tag name of this element. For an XML element like this: the tagname would return "img". .PP See also setTagName(). -.SH "TQString QDomElement::text () const" +.SH "TQString TQDomElement::text () const" Returns the element's text or TQString::null. .PP Example: @@ -304,13 +304,13 @@ Example: .br .fi .PP -The function text() of the QDomElement for the <h1> tag, will return "Hello TQt <xml is cool>". +The function text() of the TQDomElement for the <h1> tag, will return "Hello TQt <xml is cool>". .PP -Comments are ignored by this function. It only evaluates QDomText -and QDomCDATASection objects. +Comments are ignored by this function. It only evaluates TQDomText +and TQDomCDATASection objects. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomelement.html +.BR http://doc.trolltech.com/tqdomelement.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomentity.3qt b/doc/man/man3/tqdomentity.3qt index 01f0b1adc..2025b8530 100644 --- a/doc/man/man3/tqdomentity.3qt +++ b/doc/man/man3/tqdomentity.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomEntity 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomEntity 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,27 +7,27 @@ .ad l .nh .SH NAME -QDomEntity \- Represents an XML entity +TQDomEntity \- Represents an XML entity .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 -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomEntity\fR ()" +.BI "\fBTQDomEntity\fR ()" .br .ti -1c -.BI "\fBQDomEntity\fR ( const QDomEntity & x )" +.BI "\fBTQDomEntity\fR ( const TQDomEntity & x )" .br .ti -1c -.BI "QDomEntity & \fBoperator=\fR ( const QDomEntity & x )" +.BI "TQDomEntity & \fBoperator=\fR ( const TQDomEntity & x )" .br .ti -1c -.BI "\fB~QDomEntity\fR ()" +.BI "\fB~TQDomEntity\fR ()" .br .ti -1c .BI "virtual TQString \fBpublicId\fR () const" @@ -39,57 +39,57 @@ Inherits QDomNode. .BI "virtual TQString \fBnotationName\fR () const" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisEntity\fR () const" .br .in -1c .SH DESCRIPTION -The QDomEntity class represents an XML entity. +The TQDomEntity class represents an XML entity. .PP This class represents an entity in an XML document, either parsed or unparsed. Note that this models the entity itself not the entity declaration. .PP -DOM does not support editing entity nodes; if a user wants to make changes to the contents of an entity, every related QDomEntityReference node must be replaced in the DOM tree by a clone of the entity's contents, and then the desired changes must be made to each of the clones instead. All the descendents of an entity node are read-only. +DOM does not support editing entity nodes; if a user wants to make changes to the contents of an entity, every related TQDomEntityReference node must be replaced in the DOM tree by a clone of the entity's contents, and then the desired changes must be made to each of the clones instead. All the descendents of an entity node are read-only. .PP An entity node does not have any parent. .PP You can access the entity's publicId(), systemId() and notationName() when available. .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomEntity::QDomEntity ()" +.SH "TQDomEntity::TQDomEntity ()" Constructs an empty entity. -.SH "QDomEntity::QDomEntity ( const QDomEntity & x )" +.SH "TQDomEntity::TQDomEntity ( const TQDomEntity & x )" Constructs a copy of \fIx\fR. .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 "QDomEntity::~QDomEntity ()" +.SH "TQDomEntity::~TQDomEntity ()" Destroys the object and frees its resources. -.SH "bool QDomEntity::isEntity () const\fC [virtual]\fR" +.SH "bool TQDomEntity::isEntity () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomEntity::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomEntity::nodeType () const\fC [virtual]\fR" Returns EntityNode. .PP -Reimplemented from QDomNode. -.SH "TQString QDomEntity::notationName () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQString TQDomEntity::notationName () const\fC [virtual]\fR" For unparsed entities this function returns the name of the notation for the entity. For parsed entities this function returns TQString::null. -.SH "QDomEntity & QDomEntity::operator= ( const QDomEntity & x )" +.SH "TQDomEntity & TQDomEntity::operator= ( const TQDomEntity & x )" Assigns \fIx\fR to this DOM entity. .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 "TQString QDomEntity::publicId () const\fC [virtual]\fR" +.SH "TQString TQDomEntity::publicId () const\fC [virtual]\fR" Returns the public identifier associated with this entity. If the public identifier was not specified TQString::null is returned. -.SH "TQString QDomEntity::systemId () const\fC [virtual]\fR" +.SH "TQString TQDomEntity::systemId () const\fC [virtual]\fR" Returns the system identifier associated with this entity. If the system identifier was not specified TQString::null is returned. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomentity.html +.BR http://doc.trolltech.com/tqdomentity.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomentityreference.3qt b/doc/man/man3/tqdomentityreference.3qt index 607f08447..1052ebd22 100644 --- a/doc/man/man3/tqdomentityreference.3qt +++ b/doc/man/man3/tqdomentityreference.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomEntityReference 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomEntityReference 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,67 +7,67 @@ .ad l .nh .SH NAME -QDomEntityReference \- Represents an XML entity reference +TQDomEntityReference \- Represents an XML entity reference .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 -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomEntityReference\fR ()" +.BI "\fBTQDomEntityReference\fR ()" .br .ti -1c -.BI "\fBQDomEntityReference\fR ( const QDomEntityReference & x )" +.BI "\fBTQDomEntityReference\fR ( const TQDomEntityReference & x )" .br .ti -1c -.BI "QDomEntityReference & \fBoperator=\fR ( const QDomEntityReference & x )" +.BI "TQDomEntityReference & \fBoperator=\fR ( const TQDomEntityReference & x )" .br .ti -1c -.BI "\fB~QDomEntityReference\fR ()" +.BI "\fB~TQDomEntityReference\fR ()" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisEntityReference\fR () const" .br .in -1c .SH DESCRIPTION -The QDomEntityReference class represents an XML entity reference. +The TQDomEntityReference class represents an XML entity reference. .PP -A QDomEntityReference object may be inserted into the DOM tree when an entity reference is in the source document, or when the user wishes to insert an entity reference. +A TQDomEntityReference object may be inserted into the DOM tree when an entity reference is in the source document, or when the user wishes to insert an entity reference. .PP Note that character references and references to predefined entities are expanded by the XML processor so that characters are represented by their Unicode equivalent rather than by an entity reference. .PP -Moreover, the XML processor may completely expand references to entities while building the DOM tree, instead of providing QDomEntityReference objects. +Moreover, the XML processor may completely expand references to entities while building the DOM tree, instead of providing TQDomEntityReference objects. .PP If it does provide such objects, then for a given entity reference node, it may be that there is no entity node representing the referenced entity; but if such an entity exists, then the child list of the entity reference node is the same as that of the entity node. As with the entity node, all descendents of the entity reference are read-only. .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomEntityReference::QDomEntityReference ()" -Constructs an empty entity reference. Use QDomDocument::createEntityReference() to create a entity reference with content. -.SH "QDomEntityReference::QDomEntityReference ( const QDomEntityReference & x )" +.SH "TQDomEntityReference::TQDomEntityReference ()" +Constructs an empty entity reference. Use TQDomDocument::createEntityReference() to create a entity reference with content. +.SH "TQDomEntityReference::TQDomEntityReference ( const TQDomEntityReference & x )" Constructs a copy of \fIx\fR. .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 "QDomEntityReference::~QDomEntityReference ()" +.SH "TQDomEntityReference::~TQDomEntityReference ()" Destroys the object and frees its resources. -.SH "bool QDomEntityReference::isEntityReference () const\fC [virtual]\fR" +.SH "bool TQDomEntityReference::isEntityReference () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomEntityReference::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomEntityReference::nodeType () const\fC [virtual]\fR" Returns \fCEntityReference\fR. .PP -Reimplemented from QDomNode. -.SH "QDomEntityReference & QDomEntityReference::operator= ( const QDomEntityReference & x )" +Reimplemented from TQDomNode. +.SH "TQDomEntityReference & TQDomEntityReference::operator= ( const TQDomEntityReference & x )" Assigns \fIx\fR to this entity reference. .PP The data of the copy is shared (shallow copy): modifying one node @@ -75,7 +75,7 @@ will also change the other. If you want to make a deep copy, use cloneNode(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomentityreference.html +.BR http://doc.trolltech.com/tqdomentityreference.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomimplementation.3qt b/doc/man/man3/tqdomimplementation.3qt index a28c092e1..0e4bdb612 100644 --- a/doc/man/man3/tqdomimplementation.3qt +++ b/doc/man/man3/tqdomimplementation.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomImplementation 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomImplementation 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,67 +7,67 @@ .ad l .nh .SH NAME -QDomImplementation \- Information about the features of the DOM implementation +TQDomImplementation \- Information about the features of the DOM implementation .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 "\fBQDomImplementation\fR ()" +.BI "\fBTQDomImplementation\fR ()" .br .ti -1c -.BI "\fBQDomImplementation\fR ( const QDomImplementation & x )" +.BI "\fBTQDomImplementation\fR ( const TQDomImplementation & x )" .br .ti -1c -.BI "virtual \fB~QDomImplementation\fR ()" +.BI "virtual \fB~TQDomImplementation\fR ()" .br .ti -1c -.BI "QDomImplementation & \fBoperator=\fR ( const QDomImplementation & x )" +.BI "TQDomImplementation & \fBoperator=\fR ( const TQDomImplementation & x )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QDomImplementation & x ) const" +.BI "bool \fBoperator==\fR ( const TQDomImplementation & x ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QDomImplementation & x ) const" +.BI "bool \fBoperator!=\fR ( const TQDomImplementation & x ) const" .br .ti -1c .BI "virtual bool \fBhasFeature\fR ( const TQString & feature, const TQString & version )" .br .ti -1c -.BI "virtual QDomDocumentType \fBcreateDocumentType\fR ( const TQString & qName, const TQString & publicId, const TQString & systemId )" +.BI "virtual TQDomDocumentType \fBcreateDocumentType\fR ( const TQString & qName, const TQString & publicId, const TQString & systemId )" .br .ti -1c -.BI "virtual QDomDocument \fBcreateDocument\fR ( const TQString & nsURI, const TQString & qName, const QDomDocumentType & doctype )" +.BI "virtual TQDomDocument \fBcreateDocument\fR ( const TQString & nsURI, const TQString & qName, const TQDomDocumentType & doctype )" .br .ti -1c .BI "bool \fBisNull\fR ()" .br .in -1c .SH DESCRIPTION -The QDomImplementation class provides information about the features of the DOM implementation. +The TQDomImplementation class provides information about the features of the DOM implementation. .PP This class describes the features that are supported by the DOM implementation. Currently the XML subset of DOM Level 1 and DOM Level 2 Core are supported. .PP -Normally you will use the function QDomDocument::implementation() to get the implementation object. +Normally you will use the function TQDomDocument::implementation() to get the implementation object. .PP You can create a new document type with createDocumentType() and a new document with createDocument(). .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also hasFeature() and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomImplementation::QDomImplementation ()" -Constructs a QDomImplementation object. -.SH "QDomImplementation::QDomImplementation ( const QDomImplementation & x )" +.SH "TQDomImplementation::TQDomImplementation ()" +Constructs a TQDomImplementation object. +.SH "TQDomImplementation::TQDomImplementation ( const TQDomImplementation & x )" Constructs a copy of \fIx\fR. -.SH "QDomImplementation::~QDomImplementation ()\fC [virtual]\fR" +.SH "TQDomImplementation::~TQDomImplementation ()\fC [virtual]\fR" Destroys the object and frees its resources. -.SH "QDomDocument QDomImplementation::createDocument ( const TQString & nsURI, const TQString & qName, const QDomDocumentType & doctype )\fC [virtual]\fR" +.SH "TQDomDocument TQDomImplementation::createDocument ( const TQString & nsURI, const TQString & qName, const TQDomDocumentType & doctype )\fC [virtual]\fR" Creates a DOM document with the document type \fIdoctype\fR. This function also adds a root element node with the qualified name \fIqName\fR and the namespace URI \fInsURI\fR. -.SH "QDomDocumentType QDomImplementation::createDocumentType ( const TQString & qName, const TQString & publicId, const TQString & systemId )\fC [virtual]\fR" +.SH "TQDomDocumentType TQDomImplementation::createDocumentType ( const TQString & qName, const TQString & publicId, const TQString & systemId )\fC [virtual]\fR" Creates a document type node for the name \fIqName\fR. .PP \fIpublicId\fR specifies the public identifier of the external subset. If you specify TQString::null as the \fIpublicId\fR, this means that the document type has no public identifier. @@ -78,11 +78,11 @@ Since you cannot have a public identifier without a system identifier, the publi .PP DOM level 2 does not support any other document type declaration features. .PP -The only way you can use a document type that was created this way, is in combination with the createDocument() function to create a QDomDocument with this document type. +The only way you can use a document type that was created this way, is in combination with the createDocument() function to create a TQDomDocument with this document type. .PP See also createDocument(). -.SH "bool QDomImplementation::hasFeature ( const TQString & feature, const TQString & version )\fC [virtual]\fR" -The function returns TRUE if QDom implements the requested \fIversion\fR of a \fIfeature\fR; otherwise returns FALSE. +.SH "bool TQDomImplementation::hasFeature ( const TQString & feature, const TQString & version )\fC [virtual]\fR" +The function returns TRUE if TQDom implements the requested \fIversion\fR of a \fIfeature\fR; otherwise returns FALSE. .PP The currently supported features and their versions: <center>.nf .TS @@ -90,18 +90,18 @@ l - l. Feature Version XML .TE .fi </center> -.SH "bool QDomImplementation::isNull ()" -Returns FALSE if the object was created by QDomDocument::implementation(); otherwise returns TRUE. -.SH "bool QDomImplementation::operator!= ( const QDomImplementation & x ) const" -Returns TRUE if \fIx\fR and this DOM implementation object were created from different QDomDocuments; otherwise returns FALSE. -.SH "QDomImplementation & QDomImplementation::operator= ( const QDomImplementation & x )" +.SH "bool TQDomImplementation::isNull ()" +Returns FALSE if the object was created by TQDomDocument::implementation(); otherwise returns TRUE. +.SH "bool TQDomImplementation::operator!= ( const TQDomImplementation & x ) const" +Returns TRUE if \fIx\fR and this DOM implementation object were created from different TQDomDocuments; otherwise returns FALSE. +.SH "TQDomImplementation & TQDomImplementation::operator= ( const TQDomImplementation & x )" Assigns \fIx\fR to this DOM implementation. -.SH "bool QDomImplementation::operator== ( const QDomImplementation & x ) const" +.SH "bool TQDomImplementation::operator== ( const TQDomImplementation & x ) const" Returns TRUE if \fIx\fR and this DOM implementation object were -created from the same QDomDocument; otherwise returns FALSE. +created from the same TQDomDocument; otherwise returns FALSE. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomimplementation.html +.BR http://doc.trolltech.com/tqdomimplementation.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the 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 diff --git a/doc/man/man3/tqdomnode.3qt b/doc/man/man3/tqdomnode.3qt index c95912c10..4b9db6309 100644 --- a/doc/man/man3/tqdomnode.3qt +++ b/doc/man/man3/tqdomnode.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomNode 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomNode 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,13 +7,13 @@ .ad l .nh .SH NAME -QDomNode \- The base class for all the nodes in a DOM tree +TQDomNode \- The base class for all the nodes in a DOM tree .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 -Inherited by QDomDocumentType, QDomDocument, QDomDocumentFragment, QDomCharacterData, QDomAttr, QDomElement, QDomNotation, QDomEntity, QDomEntityReference, and QDomProcessingInstruction. +Inherited by TQDomDocumentType, TQDomDocument, TQDomDocumentFragment, TQDomCharacterData, TQDomAttr, TQDomElement, TQDomNotation, TQDomEntity, TQDomEntityReference, and TQDomProcessingInstruction. .PP .SS "Public Members" .in +1c @@ -21,43 +21,43 @@ Inherited by QDomDocumentType, QDomDocument, QDomDocumentFragment, QDomCharacter .BI "enum \fBNodeType\fR { ElementNode = 1, AttributeNode = 2, TextNode = 3, CDATASectionNode = 4, EntityReferenceNode = 5, EntityNode = 6, ProcessingInstructionNode = 7, CommentNode = 8, DocumentNode = 9, DocumentTypeNode = 10, DocumentFragmentNode = 11, NotationNode = 12, BaseNode = 21, CharacterDataNode = 22 }" .br .ti -1c -.BI "\fBQDomNode\fR ()" +.BI "\fBTQDomNode\fR ()" .br .ti -1c -.BI "\fBQDomNode\fR ( const QDomNode & n )" +.BI "\fBTQDomNode\fR ( const TQDomNode & n )" .br .ti -1c -.BI "QDomNode & \fBoperator=\fR ( const QDomNode & n )" +.BI "TQDomNode & \fBoperator=\fR ( const TQDomNode & n )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QDomNode & n ) const" +.BI "bool \fBoperator==\fR ( const TQDomNode & n ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QDomNode & n ) const" +.BI "bool \fBoperator!=\fR ( const TQDomNode & n ) const" .br .ti -1c -.BI "virtual \fB~QDomNode\fR ()" +.BI "virtual \fB~TQDomNode\fR ()" .br .ti -1c -.BI "virtual QDomNode \fBinsertBefore\fR ( const QDomNode & newChild, const QDomNode & refChild )" +.BI "virtual TQDomNode \fBinsertBefore\fR ( const TQDomNode & newChild, const TQDomNode & refChild )" .br .ti -1c -.BI "virtual QDomNode \fBinsertAfter\fR ( const QDomNode & newChild, const QDomNode & refChild )" +.BI "virtual TQDomNode \fBinsertAfter\fR ( const TQDomNode & newChild, const TQDomNode & refChild )" .br .ti -1c -.BI "virtual QDomNode \fBreplaceChild\fR ( const QDomNode & newChild, const QDomNode & oldChild )" +.BI "virtual TQDomNode \fBreplaceChild\fR ( const TQDomNode & newChild, const TQDomNode & oldChild )" .br .ti -1c -.BI "virtual QDomNode \fBremoveChild\fR ( const QDomNode & oldChild )" +.BI "virtual TQDomNode \fBremoveChild\fR ( const TQDomNode & oldChild )" .br .ti -1c -.BI "virtual QDomNode \fBappendChild\fR ( const QDomNode & newChild )" +.BI "virtual TQDomNode \fBappendChild\fR ( const TQDomNode & newChild )" .br .ti -1c .BI "virtual bool \fBhasChildNodes\fR () const" .br .ti -1c -.BI "virtual QDomNode \fBcloneNode\fR ( bool deep = TRUE ) const" +.BI "virtual TQDomNode \fBcloneNode\fR ( bool deep = TRUE ) const" .br .ti -1c .BI "virtual void \fBnormalize\fR ()" @@ -69,31 +69,31 @@ Inherited by QDomDocumentType, QDomDocument, QDomDocumentFragment, QDomCharacter .BI "virtual TQString \fBnodeName\fR () const" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c -.BI "virtual QDomNode \fBparentNode\fR () const" +.BI "virtual TQDomNode \fBparentNode\fR () const" .br .ti -1c -.BI "virtual QDomNodeList \fBchildNodes\fR () const" +.BI "virtual TQDomNodeList \fBchildNodes\fR () const" .br .ti -1c -.BI "virtual QDomNode \fBfirstChild\fR () const" +.BI "virtual TQDomNode \fBfirstChild\fR () const" .br .ti -1c -.BI "virtual QDomNode \fBlastChild\fR () const" +.BI "virtual TQDomNode \fBlastChild\fR () const" .br .ti -1c -.BI "virtual QDomNode \fBpreviousSibling\fR () const" +.BI "virtual TQDomNode \fBpreviousSibling\fR () const" .br .ti -1c -.BI "virtual QDomNode \fBnextSibling\fR () const" +.BI "virtual TQDomNode \fBnextSibling\fR () const" .br .ti -1c -.BI "virtual QDomNamedNodeMap \fBattributes\fR () const" +.BI "virtual TQDomNamedNodeMap \fBattributes\fR () const" .br .ti -1c -.BI "virtual QDomDocument \fBownerDocument\fR () const" +.BI "virtual TQDomDocument \fBownerDocument\fR () const" .br .ti -1c .BI "virtual TQString \fBnamespaceURI\fR () const" @@ -156,7 +156,7 @@ Inherited by QDomDocumentType, QDomDocument, QDomDocumentFragment, QDomCharacter .BI "virtual bool \fBisComment\fR () const" .br .ti -1c -.BI "QDomNode \fBnamedItem\fR ( const TQString & name ) const" +.BI "TQDomNode \fBnamedItem\fR ( const TQString & name ) const" .br .ti -1c .BI "bool \fBisNull\fR () const" @@ -165,43 +165,43 @@ Inherited by QDomDocumentType, QDomDocument, QDomDocumentFragment, QDomCharacter .BI "void \fBclear\fR ()" .br .ti -1c -.BI "QDomAttr \fBtoAttr\fR ()" +.BI "TQDomAttr \fBtoAttr\fR ()" .br .ti -1c -.BI "QDomCDATASection \fBtoCDATASection\fR ()" +.BI "TQDomCDATASection \fBtoCDATASection\fR ()" .br .ti -1c -.BI "QDomDocumentFragment \fBtoDocumentFragment\fR ()" +.BI "TQDomDocumentFragment \fBtoDocumentFragment\fR ()" .br .ti -1c -.BI "QDomDocument \fBtoDocument\fR ()" +.BI "TQDomDocument \fBtoDocument\fR ()" .br .ti -1c -.BI "QDomDocumentType \fBtoDocumentType\fR ()" +.BI "TQDomDocumentType \fBtoDocumentType\fR ()" .br .ti -1c -.BI "QDomElement \fBtoElement\fR ()" +.BI "TQDomElement \fBtoElement\fR ()" .br .ti -1c -.BI "QDomEntityReference \fBtoEntityReference\fR ()" +.BI "TQDomEntityReference \fBtoEntityReference\fR ()" .br .ti -1c -.BI "QDomText \fBtoText\fR ()" +.BI "TQDomText \fBtoText\fR ()" .br .ti -1c -.BI "QDomEntity \fBtoEntity\fR ()" +.BI "TQDomEntity \fBtoEntity\fR ()" .br .ti -1c -.BI "QDomNotation \fBtoNotation\fR ()" +.BI "TQDomNotation \fBtoNotation\fR ()" .br .ti -1c -.BI "QDomProcessingInstruction \fBtoProcessingInstruction\fR ()" +.BI "TQDomProcessingInstruction \fBtoProcessingInstruction\fR ()" .br .ti -1c -.BI "QDomCharacterData \fBtoCharacterData\fR ()" +.BI "TQDomCharacterData \fBtoCharacterData\fR ()" .br .ti -1c -.BI "QDomComment \fBtoComment\fR ()" +.BI "TQDomComment \fBtoComment\fR ()" .br .ti -1c .BI "void \fBsave\fR ( QTextStream & str, int indent ) const" @@ -210,23 +210,23 @@ Inherited by QDomDocumentType, QDomDocument, QDomDocumentFragment, QDomCharacter .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "QTextStream & \fBoperator<<\fR ( QTextStream & str, const QDomNode & node )" +.BI "QTextStream & \fBoperator<<\fR ( QTextStream & str, const TQDomNode & node )" .br .in -1c .SH DESCRIPTION -The QDomNode class is the base class for all the nodes in a DOM tree. +The TQDomNode class is the base class for all the nodes in a DOM tree. .PP -Many functions in the DOM return a QDomNode. +Many functions in the DOM return a TQDomNode. .PP You can find out the type of a node using isAttr(), isCDATASection(), isDocumentFragment(), isDocument(), isDocumentType(), isElement(), isEntityReference(), isText(), isEntity(), isNotation(), isProcessingInstruction(), isCharacterData() and isComment(). .PP -A QDomNode can be converted into one of its subclasses using toAttr(), toCDATASection(), toDocumentFragment(), toDocument(), toDocumentType(), toElement(), toEntityReference(), toText(), toEntity(), toNotation(), toProcessingInstruction(), toCharacterData() or toComment(). You can convert a node to a null node with clear(). +A TQDomNode can be converted into one of its subclasses using toAttr(), toCDATASection(), toDocumentFragment(), toDocument(), toDocumentType(), toElement(), toEntityReference(), toText(), toEntity(), toNotation(), toProcessingInstruction(), toCharacterData() or toComment(). You can convert a node to a null node with clear(). .PP -Copies of the QDomNode class share their data using explicit sharing. This means that modifying one node will change all copies. This is especially useful in combination with functions which return a QDomNode, e.g. firstChild(). You can make an independent (deep) copy of the node with cloneNode(). +Copies of the TQDomNode class share their data using explicit sharing. This means that modifying one node will change all copies. This is especially useful in combination with functions which return a TQDomNode, e.g. firstChild(). You can make an independent (deep) copy of the node with cloneNode(). .PP Nodes are inserted with insertBefore(), insertAfter() or appendChild(). You can replace one node with another using replaceChild() and remove a node with removeChild(). .PP -To traverse nodes use firstChild() to get a node's first child (if any), and nextSibling() to traverse. QDomNode also provides lastChild(), previousSibling() and parentNode(). To find the first child node with a particular node name use namedItem(). +To traverse nodes use firstChild() to get a node's first child (if any), and nextSibling() to traverse. TQDomNode also provides lastChild(), previousSibling() and parentNode(). To find the first child node with a particular node name use namedItem(). .PP To find out if a node has children use hasChildNodes() and to get a list of all of a node's children use childNodes(). .PP @@ -234,11 +234,11 @@ The node's name and value (the meaning of which varies depending on its type) is .PP The document to which the node belongs is returned by ownerDocument(). .PP -Adjacent QDomText nodes can be merged into a single node with normalize(). +Adjacent TQDomText nodes can be merged into a single node with normalize(). .PP -QDomElement nodes have attributes which can be retrieved with attributes(). +TQDomElement nodes have attributes which can be retrieved with attributes(). .PP -QDomElement and QDomAttr nodes can have namespaces which can be retrieved with namespaceURI(). Their local name is retrieved with localName(), and their prefix with prefix(). The prefix can be set with setPrefix(). +TQDomElement and TQDomAttr nodes can have namespaces which can be retrieved with namespaceURI(). Their local name is retrieved with localName(), and their prefix with prefix(). The prefix can be set with setPrefix(). .PP You can write the XML representation of the node to a text stream with save(). .PP @@ -246,17 +246,17 @@ The following example looks for the first element in an XML document and prints .PP .nf .br - QDomDocument d; + TQDomDocument d; .br d.setContent( someXML ); .br - QDomNode n = d.firstChild(); + TQDomNode n = d.firstChild(); .br while ( !n.isNull() ) { .br if ( n.isElement() ) { .br - QDomElement e = n.toElement(); + TQDomElement e = n.toElement(); .br cout << "Element name: " << e.tagName() << endl; .br @@ -270,69 +270,69 @@ The following example looks for the first element in an XML document and prints .br .fi .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SS "Member Type Documentation" -.SH "QDomNode::NodeType" +.SH "TQDomNode::NodeType" This enum defines the type of the node: .TP -\fCQDomNode::ElementNode\fR +\fCTQDomNode::ElementNode\fR .TP -\fCQDomNode::AttributeNode\fR +\fCTQDomNode::AttributeNode\fR .TP -\fCQDomNode::TextNode\fR +\fCTQDomNode::TextNode\fR .TP -\fCQDomNode::CDATASectionNode\fR +\fCTQDomNode::CDATASectionNode\fR .TP -\fCQDomNode::EntityReferenceNode\fR +\fCTQDomNode::EntityReferenceNode\fR .TP -\fCQDomNode::EntityNode\fR +\fCTQDomNode::EntityNode\fR .TP -\fCQDomNode::ProcessingInstructionNode\fR +\fCTQDomNode::ProcessingInstructionNode\fR .TP -\fCQDomNode::CommentNode\fR +\fCTQDomNode::CommentNode\fR .TP -\fCQDomNode::DocumentNode\fR +\fCTQDomNode::DocumentNode\fR .TP -\fCQDomNode::DocumentTypeNode\fR +\fCTQDomNode::DocumentTypeNode\fR .TP -\fCQDomNode::DocumentFragmentNode\fR +\fCTQDomNode::DocumentFragmentNode\fR .TP -\fCQDomNode::NotationNode\fR +\fCTQDomNode::NotationNode\fR .TP -\fCQDomNode::BaseNode\fR - A QDomNode object, i.e. not a QDomNode subclass. +\fCTQDomNode::BaseNode\fR - A TQDomNode object, i.e. not a TQDomNode subclass. .TP -\fCQDomNode::CharacterDataNode\fR +\fCTQDomNode::CharacterDataNode\fR .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomNode::QDomNode ()" +.SH "TQDomNode::TQDomNode ()" Constructs a null node. -.SH "QDomNode::QDomNode ( const QDomNode & n )" +.SH "TQDomNode::TQDomNode ( const TQDomNode & n )" Constructs a copy of \fIn\fR. .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 "QDomNode::~QDomNode ()\fC [virtual]\fR" +.SH "TQDomNode::~TQDomNode ()\fC [virtual]\fR" Destroys the object and frees its resources. -.SH "QDomNode QDomNode::appendChild ( const QDomNode & newChild )\fC [virtual]\fR" +.SH "TQDomNode TQDomNode::appendChild ( const TQDomNode & newChild )\fC [virtual]\fR" Appends \fInewChild\fR as the node's last child. .PP If \fInewChild\fR is the child of another node, it is reparented to this node. If \fInewChild\fR is a child of this node, then its position in the list of children is changed. .PP -If \fInewChild\fR is a QDomDocumentFragment, then the children of the fragment are removed from the fragment and appended. +If \fInewChild\fR is a TQDomDocumentFragment, then the children of the fragment are removed from the fragment and appended. .PP Returns a new reference to \fInewChild\fR. .PP See also insertBefore(), insertAfter(), replaceChild(), and removeChild(). -.SH "QDomNamedNodeMap QDomNode::attributes () const\fC [virtual]\fR" -Returns a named node map of all attributes. Attributes are only provided for QDomElements. +.SH "TQDomNamedNodeMap TQDomNode::attributes () const\fC [virtual]\fR" +Returns a named node map of all attributes. Attributes are only provided for TQDomElements. .PP -Changing the attributes in the map will also change the attributes of this QDomNode. +Changing the attributes in the map will also change the attributes of this TQDomNode. .PP -Reimplemented in QDomElement. -.SH "QDomNodeList QDomNode::childNodes () const\fC [virtual]\fR" +Reimplemented in TQDomElement. +.SH "TQDomNodeList TQDomNode::childNodes () const\fC [virtual]\fR" Returns a list of all direct child nodes. .PP -Most often you will call this function on a QDomElement object. +Most often you will call this function on a TQDomElement object. .PP For example, if the XML document looks like this: .PP @@ -352,183 +352,183 @@ Then the list of child nodes for the "body"-element will contain the node create The nodes in the list are not copied; so changing the nodes in the list will also change the children of this node. .PP See also firstChild() and lastChild(). -.SH "void QDomNode::clear ()" +.SH "void TQDomNode::clear ()" Converts the node into a null node; if it was not a null node before, its type and contents are deleted. .PP See also isNull(). -.SH "QDomNode QDomNode::cloneNode ( bool deep = TRUE ) const\fC [virtual]\fR" -Creates a deep (not shallow) copy of the QDomNode. +.SH "TQDomNode TQDomNode::cloneNode ( bool deep = TRUE ) const\fC [virtual]\fR" +Creates a deep (not shallow) copy of the TQDomNode. .PP If \fIdeep\fR is TRUE, then the cloning is done recursively which means that all the node's children are deep copied too. If \fIdeep\fR is FALSE only the node itself is copied and the copy will have no child nodes. -.SH "QDomNode QDomNode::firstChild () const\fC [virtual]\fR" +.SH "TQDomNode TQDomNode::firstChild () const\fC [virtual]\fR" Returns the first child of the node. If there is no child node, a null node is returned. Changing the returned node will also change the node in the document tree. .PP See also lastChild() and childNodes(). .PP Example: xml/outliner/outlinetree.cpp. -.SH "bool QDomNode::hasAttributes () const\fC [virtual]\fR" +.SH "bool TQDomNode::hasAttributes () const\fC [virtual]\fR" Returns TRUE if the node has attributes; otherwise returns FALSE. .PP See also attributes(). -.SH "bool QDomNode::hasChildNodes () const\fC [virtual]\fR" +.SH "bool TQDomNode::hasChildNodes () const\fC [virtual]\fR" Returns TRUE if the node has one or more children; otherwise returns FALSE. -.SH "QDomNode QDomNode::insertAfter ( const QDomNode & newChild, const QDomNode & refChild )\fC [virtual]\fR" +.SH "TQDomNode TQDomNode::insertAfter ( const TQDomNode & newChild, const TQDomNode & refChild )\fC [virtual]\fR" Inserts the node \fInewChild\fR after the child node \fIrefChild\fR. \fIrefChild\fR must be a direct child of this node. If \fIrefChild\fR is null then \fInewChild\fR is appended as this node's last child. .PP If \fInewChild\fR is the child of another node, it is reparented to this node. If \fInewChild\fR is a child of this node, then its position in the list of children is changed. .PP -If \fInewChild\fR is a QDomDocumentFragment, then the children of the fragment are removed from the fragment and inserted after \fIrefChild\fR. +If \fInewChild\fR is a TQDomDocumentFragment, then the children of the fragment are removed from the fragment and inserted after \fIrefChild\fR. .PP Returns a new reference to \fInewChild\fR on success or a null node on failure. .PP See also insertBefore(), replaceChild(), removeChild(), and appendChild(). -.SH "QDomNode QDomNode::insertBefore ( const QDomNode & newChild, const QDomNode & refChild )\fC [virtual]\fR" +.SH "TQDomNode TQDomNode::insertBefore ( const TQDomNode & newChild, const TQDomNode & refChild )\fC [virtual]\fR" Inserts the node \fInewChild\fR before the child node \fIrefChild\fR. \fIrefChild\fR must be a direct child of this node. If \fIrefChild\fR is null then \fInewChild\fR is inserted as the node's first child. .PP If \fInewChild\fR is the child of another node, it is reparented to this node. If \fInewChild\fR is a child of this node, then its position in the list of children is changed. .PP -If \fInewChild\fR is a QDomDocumentFragment, then the children of the fragment are removed from the fragment and inserted before \fIrefChild\fR. +If \fInewChild\fR is a TQDomDocumentFragment, then the children of the fragment are removed from the fragment and inserted before \fIrefChild\fR. .PP Returns a new reference to \fInewChild\fR on success or a null node on failure. .PP See also insertAfter(), replaceChild(), removeChild(), and appendChild(). -.SH "bool QDomNode::isAttr () const\fC [virtual]\fR" +.SH "bool TQDomNode::isAttr () const\fC [virtual]\fR" Returns TRUE if the node is an attribute; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomAttribute; you can get the QDomAttribute with toAttribute(). +If this function returns TRUE, it does not imply that this object is a TQDomAttribute; you can get the TQDomAttribute with toAttribute(). .PP See also toAttr(). .PP -Reimplemented in QDomAttr. -.SH "bool QDomNode::isCDATASection () const\fC [virtual]\fR" +Reimplemented in TQDomAttr. +.SH "bool TQDomNode::isCDATASection () const\fC [virtual]\fR" Returns TRUE if the node is a CDATA section; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomCDATASection; you can get the QDomCDATASection with toCDATASection(). +If this function returns TRUE, it does not imply that this object is a TQDomCDATASection; you can get the TQDomCDATASection with toCDATASection(). .PP See also toCDATASection(). .PP -Reimplemented in QDomCDATASection. -.SH "bool QDomNode::isCharacterData () const\fC [virtual]\fR" +Reimplemented in TQDomCDATASection. +.SH "bool TQDomNode::isCharacterData () const\fC [virtual]\fR" Returns TRUE if the node is a character data node; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomCharacterData; you can get the QDomCharacterData with toCharacterData(). +If this function returns TRUE, it does not imply that this object is a TQDomCharacterData; you can get the TQDomCharacterData with toCharacterData(). .PP See also toCharacterData(). .PP -Reimplemented in QDomCharacterData. -.SH "bool QDomNode::isComment () const\fC [virtual]\fR" +Reimplemented in TQDomCharacterData. +.SH "bool TQDomNode::isComment () const\fC [virtual]\fR" Returns TRUE if the node is a comment; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomComment; you can get the QDomComment with toComment(). +If this function returns TRUE, it does not imply that this object is a TQDomComment; you can get the TQDomComment with toComment(). .PP See also toComment(). .PP -Reimplemented in QDomComment. -.SH "bool QDomNode::isDocument () const\fC [virtual]\fR" +Reimplemented in TQDomComment. +.SH "bool TQDomNode::isDocument () const\fC [virtual]\fR" Returns TRUE if the node is a document; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomDocument; you can get the QDomDocument with toDocument(). +If this function returns TRUE, it does not imply that this object is a TQDomDocument; you can get the TQDomDocument with toDocument(). .PP See also toDocument(). .PP -Reimplemented in QDomDocument. -.SH "bool QDomNode::isDocumentFragment () const\fC [virtual]\fR" +Reimplemented in TQDomDocument. +.SH "bool TQDomNode::isDocumentFragment () const\fC [virtual]\fR" Returns TRUE if the node is a document fragment; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomDocumentFragment; you can get the QDomDocumentFragment with toDocumentFragment(). +If this function returns TRUE, it does not imply that this object is a TQDomDocumentFragment; you can get the TQDomDocumentFragment with toDocumentFragment(). .PP See also toDocumentFragment(). .PP -Reimplemented in QDomDocumentFragment. -.SH "bool QDomNode::isDocumentType () const\fC [virtual]\fR" +Reimplemented in TQDomDocumentFragment. +.SH "bool TQDomNode::isDocumentType () const\fC [virtual]\fR" Returns TRUE if the node is a document type; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomDocumentType; you can get the QDomDocumentType with toDocumentType(). +If this function returns TRUE, it does not imply that this object is a TQDomDocumentType; you can get the TQDomDocumentType with toDocumentType(). .PP See also toDocumentType(). .PP -Reimplemented in QDomDocumentType. -.SH "bool QDomNode::isElement () const\fC [virtual]\fR" +Reimplemented in TQDomDocumentType. +.SH "bool TQDomNode::isElement () const\fC [virtual]\fR" Returns TRUE if the node is an element; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomElement; you can get the QDomElement with toElement(). +If this function returns TRUE, it does not imply that this object is a TQDomElement; you can get the TQDomElement with toElement(). .PP See also toElement(). .PP Example: xml/outliner/outlinetree.cpp. .PP -Reimplemented in QDomElement. -.SH "bool QDomNode::isEntity () const\fC [virtual]\fR" +Reimplemented in TQDomElement. +.SH "bool TQDomNode::isEntity () const\fC [virtual]\fR" Returns TRUE if the node is an entity; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomEntity; you can get the QDomEntity with toEntity(). +If this function returns TRUE, it does not imply that this object is a TQDomEntity; you can get the TQDomEntity with toEntity(). .PP See also toEntity(). .PP -Reimplemented in QDomEntity. -.SH "bool QDomNode::isEntityReference () const\fC [virtual]\fR" +Reimplemented in TQDomEntity. +.SH "bool TQDomNode::isEntityReference () const\fC [virtual]\fR" Returns TRUE if the node is an entity reference; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomEntityReference; you can get the QDomEntityReference with toEntityReference(). +If this function returns TRUE, it does not imply that this object is a TQDomEntityReference; you can get the TQDomEntityReference with toEntityReference(). .PP See also toEntityReference(). .PP -Reimplemented in QDomEntityReference. -.SH "bool QDomNode::isNotation () const\fC [virtual]\fR" +Reimplemented in TQDomEntityReference. +.SH "bool TQDomNode::isNotation () const\fC [virtual]\fR" Returns TRUE if the node is a notation; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomNotation; you can get the QDomNotation with toNotation(). +If this function returns TRUE, it does not imply that this object is a TQDomNotation; you can get the TQDomNotation with toNotation(). .PP See also toNotation(). .PP -Reimplemented in QDomNotation. -.SH "bool QDomNode::isNull () const" +Reimplemented in TQDomNotation. +.SH "bool TQDomNode::isNull () const" Returns TRUE if this node is null (i.e. if it has no type or contents); otherwise returns FALSE. .PP Example: xml/outliner/outlinetree.cpp. -.SH "bool QDomNode::isProcessingInstruction () const\fC [virtual]\fR" +.SH "bool TQDomNode::isProcessingInstruction () const\fC [virtual]\fR" Returns TRUE if the node is a processing instruction; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomProcessingInstruction; you can get the QProcessingInstruction with toProcessingInstruction(). +If this function returns TRUE, it does not imply that this object is a TQDomProcessingInstruction; you can get the QProcessingInstruction with toProcessingInstruction(). .PP See also toProcessingInstruction(). .PP -Reimplemented in QDomProcessingInstruction. -.SH "bool QDomNode::isSupported ( const TQString & feature, const TQString & version ) const\fC [virtual]\fR" +Reimplemented in TQDomProcessingInstruction. +.SH "bool TQDomNode::isSupported ( const TQString & feature, const TQString & version ) const\fC [virtual]\fR" Returns TRUE if the DOM implementation implements the feature \fIfeature\fR and this feature is supported by this node in the version \fIversion\fR; otherwise returns FALSE. .PP -See also QDomImplementation::hasFeature(). -.SH "bool QDomNode::isText () const\fC [virtual]\fR" +See also TQDomImplementation::hasFeature(). +.SH "bool TQDomNode::isText () const\fC [virtual]\fR" Returns TRUE if the node is a text node; otherwise returns FALSE. .PP -If this function returns TRUE, it does not imply that this object is a QDomText; you can get the QDomText with toText(). +If this function returns TRUE, it does not imply that this object is a TQDomText; you can get the TQDomText with toText(). .PP See also toText(). .PP -Reimplemented in QDomText. -.SH "QDomNode QDomNode::lastChild () const\fC [virtual]\fR" +Reimplemented in TQDomText. +.SH "TQDomNode TQDomNode::lastChild () const\fC [virtual]\fR" Returns the last child of the node. If there is no child node, a null node is returned. Changing the returned node will also change the node in the document tree. .PP See also firstChild() and childNodes(). -.SH "TQString QDomNode::localName () const\fC [virtual]\fR" +.SH "TQString TQDomNode::localName () const\fC [virtual]\fR" If the node uses namespaces, this function returns the local name of the node; otherwise it returns TQString::null. .PP Only nodes of type ElementNode or AttributeNode can have namespaces. A namespace must have been specified at creation time; it is not possible to add a namespace afterwards. .PP -See also prefix(), namespaceURI(), QDomDocument::createElementNS(), and QDomDocument::createAttributeNS(). -.SH "QDomNode QDomNode::namedItem ( const TQString & name ) const" +See also prefix(), namespaceURI(), TQDomDocument::createElementNS(), and TQDomDocument::createAttributeNS(). +.SH "TQDomNode TQDomNode::namedItem ( const TQString & name ) const" Returns the first direct child node for which nodeName() equals \fIname\fR. .PP If no such direct child exists, a null node is returned. .PP See also nodeName(). -.SH "TQString QDomNode::namespaceURI () const\fC [virtual]\fR" +.SH "TQString TQDomNode::namespaceURI () const\fC [virtual]\fR" Returns the namespace URI of this node or TQString::null if the node has no namespace URI. .PP Only nodes of type ElementNode or AttributeNode can have namespaces. A namespace URI must be specified at creation time and cannot be changed later. .PP -See also prefix(), localName(), QDomDocument::createElementNS(), and QDomDocument::createAttributeNS(). -.SH "QDomNode QDomNode::nextSibling () const\fC [virtual]\fR" +See also prefix(), localName(), TQDomDocument::createElementNS(), and TQDomDocument::createAttributeNS(). +.SH "TQDomNode TQDomNode::nextSibling () const\fC [virtual]\fR" Returns the next sibling in the document tree. Changing the returned node will also change the node in the document tree. .PP If you have XML like this: @@ -542,17 +542,17 @@ If you have XML like this: <h2>Next heading</h2> .br .fi -and this QDomNode represents the <p> tag, nextSibling() will return the node representing the <h2> tag. +and this TQDomNode represents the <p> tag, nextSibling() will return the node representing the <h2> tag. .PP See also previousSibling(). .PP Example: xml/outliner/outlinetree.cpp. -.SH "TQString QDomNode::nodeName () const\fC [virtual]\fR" +.SH "TQString TQDomNode::nodeName () const\fC [virtual]\fR" Returns the name of the node. .PP The meaning of the name depends on the subclass: <center>.nf .TS -l - l. Name Meaning QDomAttr The name of the attribute QDomCDATASection The string "#cdata-section" QDomComment The string "#comment" QDomDocument The string "#document" QDomDocumentFragment The string "#document-fragment" QDomDocumentType The name of the document type QDomElement The tag name QDomEntity The name of the entity QDomEntityReference The name of the referenced entity QDomNotation The name of the notation QDomProcessingInstruction The target of the processing instruction QDomText +l - l. Name Meaning TQDomAttr The name of the attribute TQDomCDATASection The string "#cdata-section" TQDomComment The string "#comment" TQDomDocument The string "#document" TQDomDocumentFragment The string "#document-fragment" TQDomDocumentType The name of the document type TQDomElement The tag name TQDomEntity The name of the entity TQDomEntityReference The name of the referenced entity TQDomNotation The name of the notation TQDomProcessingInstruction The target of the processing instruction TQDomText .TE .fi </center> @@ -560,18 +560,18 @@ l - l. Name Meaning QDomAttr The name of the attribute QDomCDATASection The stri See also nodeValue(). .PP Example: xml/outliner/outlinetree.cpp. -.SH "QDomNode::NodeType QDomNode::nodeType () const\fC [virtual]\fR" +.SH "TQDomNode::NodeType TQDomNode::nodeType () const\fC [virtual]\fR" Returns the type of the node. .PP See also toAttr(), toCDATASection(), toDocumentFragment(), toDocument(), toDocumentType(), toElement(), toEntityReference(), toText(), toEntity(), toNotation(), toProcessingInstruction(), toCharacterData(), and toComment(). .PP -Reimplemented in QDomDocumentType, QDomDocument, QDomDocumentFragment, QDomCharacterData, QDomAttr, QDomElement, QDomNotation, QDomEntity, QDomEntityReference, and QDomProcessingInstruction. -.SH "TQString QDomNode::nodeValue () const\fC [virtual]\fR" +Reimplemented in TQDomDocumentType, TQDomDocument, TQDomDocumentFragment, TQDomCharacterData, TQDomAttr, TQDomElement, TQDomNotation, TQDomEntity, TQDomEntityReference, and TQDomProcessingInstruction. +.SH "TQString TQDomNode::nodeValue () const\fC [virtual]\fR" Returns the value of the node. .PP The meaning of the value depends on the subclass: <center>.nf .TS -l - l. Name Meaning QDomAttr The attribute value QDomCDATASection The content of the CDATA section QDomComment The comment QDomProcessingInstruction The data of the processing intruction QDomText +l - l. Name Meaning TQDomAttr The attribute value TQDomCDATASection The content of the CDATA section TQDomComment The comment TQDomProcessingInstruction The data of the processing intruction TQDomText .TE .fi </center> @@ -581,29 +581,29 @@ All the other subclasses do not have a node value and will return TQString::null See also setNodeValue() and nodeName(). .PP Example: xml/outliner/outlinetree.cpp. -.SH "void QDomNode::normalize ()\fC [virtual]\fR" -Calling normalize() on an element converts all its children into a standard form. This means that adjacent QDomText objects will be merged into a single text object (QDomCDATASection nodes are not merged). -.SH "bool QDomNode::operator!= ( const QDomNode & n ) const" +.SH "void TQDomNode::normalize ()\fC [virtual]\fR" +Calling normalize() on an element converts all its children into a standard form. This means that adjacent TQDomText objects will be merged into a single text object (TQDomCDATASection nodes are not merged). +.SH "bool TQDomNode::operator!= ( const TQDomNode & n ) const" Returns TRUE if \fIn\fR and this DOM node are not equal; otherwise returns FALSE. -.SH "QDomNode & QDomNode::operator= ( const QDomNode & n )" +.SH "TQDomNode & TQDomNode::operator= ( const TQDomNode & n )" Assigns a copy of \fIn\fR to this DOM node. .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 "bool QDomNode::operator== ( const QDomNode & n ) const" +.SH "bool TQDomNode::operator== ( const TQDomNode & n ) const" Returns TRUE if \fIn\fR and this DOM node are equal; otherwise returns FALSE. -.SH "QDomDocument QDomNode::ownerDocument () const\fC [virtual]\fR" +.SH "TQDomDocument TQDomNode::ownerDocument () const\fC [virtual]\fR" Returns the document to which this node belongs. -.SH "QDomNode QDomNode::parentNode () const\fC [virtual]\fR" +.SH "TQDomNode TQDomNode::parentNode () const\fC [virtual]\fR" Returns the parent node. If this node has no parent, a null node is returned (i.e. a node for which isNull() returns TRUE). -.SH "TQString QDomNode::prefix () const\fC [virtual]\fR" +.SH "TQString TQDomNode::prefix () const\fC [virtual]\fR" Returns the namespace prefix of the node or TQString::null if the node has no namespace prefix. .PP Only nodes of type ElementNode or AttributeNode can have namespaces. A namespace prefix must be specified at creation time. If a node was created with a namespace prefix, you can change it later with setPrefix(). .PP -If you create an element or attribute with QDomDocument::createElement() or QDomDocument::createAttribute(), the prefix will be TQString::null. If you use QDomDocument::createElementNS() or QDomDocument::createAttributeNS() instead, the prefix will not be TQString::null; but it might be an empty string if the name does not have a prefix. +If you create an element or attribute with TQDomDocument::createElement() or TQDomDocument::createAttribute(), the prefix will be TQString::null. If you use TQDomDocument::createElementNS() or TQDomDocument::createAttributeNS() instead, the prefix will not be TQString::null; but it might be an empty string if the name does not have a prefix. .PP -See also setPrefix(), localName(), namespaceURI(), QDomDocument::createElementNS(), and QDomDocument::createAttributeNS(). -.SH "QDomNode QDomNode::previousSibling () const\fC [virtual]\fR" +See also setPrefix(), localName(), namespaceURI(), TQDomDocument::createElementNS(), and TQDomDocument::createAttributeNS(). +.SH "TQDomNode TQDomNode::previousSibling () const\fC [virtual]\fR" Returns the previous sibling in the document tree. Changing the returned node will also change the node in the document tree. .PP For example, if you have XML like this: @@ -617,98 +617,98 @@ For example, if you have XML like this: <h2>Next heading</h2> .br .fi -and this QDomNode represents the <p> tag, previousSibling() will return the node representing the <h1> tag. +and this TQDomNode represents the <p> tag, previousSibling() will return the node representing the <h1> tag. .PP See also nextSibling(). -.SH "QDomNode QDomNode::removeChild ( const QDomNode & oldChild )\fC [virtual]\fR" +.SH "TQDomNode TQDomNode::removeChild ( const TQDomNode & oldChild )\fC [virtual]\fR" Removes \fIoldChild\fR from the list of children. \fIoldChild\fR must be a direct child of this node. .PP Returns a new reference to \fIoldChild\fR on success or a null node on failure. .PP See also insertBefore(), insertAfter(), replaceChild(), and appendChild(). -.SH "QDomNode QDomNode::replaceChild ( const QDomNode & newChild, const QDomNode & oldChild )\fC [virtual]\fR" +.SH "TQDomNode TQDomNode::replaceChild ( const TQDomNode & newChild, const TQDomNode & oldChild )\fC [virtual]\fR" Replaces \fIoldChild\fR with \fInewChild\fR. \fIoldChild\fR must be a direct child of this node. .PP If \fInewChild\fR is the child of another node, it is reparented to this node. If \fInewChild\fR is a child of this node, then its position in the list of children is changed. .PP -If \fInewChild\fR is a QDomDocumentFragment, then \fIoldChild\fR is replaced by all of the children of the fragment. +If \fInewChild\fR is a TQDomDocumentFragment, then \fIoldChild\fR is replaced by all of the children of the fragment. .PP Returns a new reference to \fIoldChild\fR on success or a null node an failure. .PP See also insertBefore(), insertAfter(), removeChild(), and appendChild(). -.SH "void QDomNode::save ( QTextStream & str, int indent ) const" +.SH "void TQDomNode::save ( QTextStream & str, int indent ) const" Writes the XML representation of the node and all its children to the stream \fIstr\fR. This function uses \fIindent\fR as the amount of space to indent the node. -.SH "void QDomNode::setNodeValue ( const TQString & v )\fC [virtual]\fR" +.SH "void TQDomNode::setNodeValue ( const TQString & v )\fC [virtual]\fR" Sets the node's value to \fIv\fR. .PP See also nodeValue(). -.SH "void QDomNode::setPrefix ( const TQString & pre )\fC [virtual]\fR" +.SH "void TQDomNode::setPrefix ( const TQString & pre )\fC [virtual]\fR" If the node has a namespace prefix, this function changes the namespace prefix of the node to \fIpre\fR. Otherwise this function does nothing. .PP Only nodes of type ElementNode or AttributeNode can have namespaces. A namespace prefix must have be specified at creation time; it is not possible to add a namespace prefix afterwards. .PP -See also prefix(), localName(), namespaceURI(), QDomDocument::createElementNS(), and QDomDocument::createAttributeNS(). -.SH "QDomAttr QDomNode::toAttr ()" -Converts a QDomNode into a QDomAttr. If the node is not an attribute, the returned object will be null. +See also prefix(), localName(), namespaceURI(), TQDomDocument::createElementNS(), and TQDomDocument::createAttributeNS(). +.SH "TQDomAttr TQDomNode::toAttr ()" +Converts a TQDomNode into a TQDomAttr. If the node is not an attribute, the returned object will be null. .PP See also isAttr(). -.SH "QDomCDATASection QDomNode::toCDATASection ()" -Converts a QDomNode into a QDomCDATASection. If the node is not a CDATA section, the returned object will be null. +.SH "TQDomCDATASection TQDomNode::toCDATASection ()" +Converts a TQDomNode into a TQDomCDATASection. If the node is not a CDATA section, the returned object will be null. .PP See also isCDATASection(). -.SH "QDomCharacterData QDomNode::toCharacterData ()" -Converts a QDomNode into a QDomCharacterData. If the node is not a character data node the returned object will be null. +.SH "TQDomCharacterData TQDomNode::toCharacterData ()" +Converts a TQDomNode into a TQDomCharacterData. If the node is not a character data node the returned object will be null. .PP See also isCharacterData(). -.SH "QDomComment QDomNode::toComment ()" -Converts a QDomNode into a QDomComment. If the node is not a comment the returned object will be null. +.SH "TQDomComment TQDomNode::toComment ()" +Converts a TQDomNode into a TQDomComment. If the node is not a comment the returned object will be null. .PP See also isComment(). -.SH "QDomDocument QDomNode::toDocument ()" -Converts a QDomNode into a QDomDocument. If the node is not a document the returned object will be null. +.SH "TQDomDocument TQDomNode::toDocument ()" +Converts a TQDomNode into a TQDomDocument. If the node is not a document the returned object will be null. .PP See also isDocument(). -.SH "QDomDocumentFragment QDomNode::toDocumentFragment ()" -Converts a QDomNode into a QDomDocumentFragment. If the node is not a document fragment the returned object will be null. +.SH "TQDomDocumentFragment TQDomNode::toDocumentFragment ()" +Converts a TQDomNode into a TQDomDocumentFragment. If the node is not a document fragment the returned object will be null. .PP See also isDocumentFragment(). -.SH "QDomDocumentType QDomNode::toDocumentType ()" -Converts a QDomNode into a QDomDocumentType. If the node is not a document type the returned object will be null. +.SH "TQDomDocumentType TQDomNode::toDocumentType ()" +Converts a TQDomNode into a TQDomDocumentType. If the node is not a document type the returned object will be null. .PP See also isDocumentType(). -.SH "QDomElement QDomNode::toElement ()" -Converts a QDomNode into a QDomElement. If the node is not an element the returned object will be null. +.SH "TQDomElement TQDomNode::toElement ()" +Converts a TQDomNode into a TQDomElement. If the node is not an element the returned object will be null. .PP See also isElement(). .PP Example: xml/outliner/outlinetree.cpp. -.SH "QDomEntity QDomNode::toEntity ()" -Converts a QDomNode into a QDomEntity. If the node is not an entity the returned object will be null. +.SH "TQDomEntity TQDomNode::toEntity ()" +Converts a TQDomNode into a TQDomEntity. If the node is not an entity the returned object will be null. .PP See also isEntity(). -.SH "QDomEntityReference QDomNode::toEntityReference ()" -Converts a QDomNode into a QDomEntityReference. If the node is not an entity reference, the returned object will be null. +.SH "TQDomEntityReference TQDomNode::toEntityReference ()" +Converts a TQDomNode into a TQDomEntityReference. If the node is not an entity reference, the returned object will be null. .PP See also isEntityReference(). -.SH "QDomNotation QDomNode::toNotation ()" -Converts a QDomNode into a QDomNotation. If the node is not a notation the returned object will be null. +.SH "TQDomNotation TQDomNode::toNotation ()" +Converts a TQDomNode into a TQDomNotation. If the node is not a notation the returned object will be null. .PP See also isNotation(). -.SH "QDomProcessingInstruction QDomNode::toProcessingInstruction ()" -Converts a QDomNode into a QDomProcessingInstruction. If the node is not a processing instruction the returned object will be null. +.SH "TQDomProcessingInstruction TQDomNode::toProcessingInstruction ()" +Converts a TQDomNode into a TQDomProcessingInstruction. If the node is not a processing instruction the returned object will be null. .PP See also isProcessingInstruction(). -.SH "QDomText QDomNode::toText ()" -Converts a QDomNode into a QDomText. If the node is not a text, the returned object will be null. +.SH "TQDomText TQDomNode::toText ()" +Converts a TQDomNode into a TQDomText. If the node is not a text, the returned object will be null. .PP See also isText(). .SH RELATED FUNCTION DOCUMENTATION -.SH "QTextStream & operator<< ( QTextStream & str, const QDomNode & node )" +.SH "QTextStream & operator<< ( QTextStream & str, const TQDomNode & node )" Writes the XML representation of the node \fInode\fR and all its children to the stream \fIstr\fR. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomnode.html +.BR http://doc.trolltech.com/tqdomnode.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomnodelist.3qt b/doc/man/man3/tqdomnodelist.3qt index 31168cd28..8eabffdef 100644 --- a/doc/man/man3/tqdomnodelist.3qt +++ b/doc/man/man3/tqdomnodelist.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomNodeList 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomNodeList 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,34 +7,34 @@ .ad l .nh .SH NAME -QDomNodeList \- List of QDomNode objects +TQDomNodeList \- List of TQDomNode objects .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 "\fBQDomNodeList\fR ()" +.BI "\fBTQDomNodeList\fR ()" .br .ti -1c -.BI "\fBQDomNodeList\fR ( const QDomNodeList & n )" +.BI "\fBTQDomNodeList\fR ( const TQDomNodeList & n )" .br .ti -1c -.BI "QDomNodeList & \fBoperator=\fR ( const QDomNodeList & n )" +.BI "TQDomNodeList & \fBoperator=\fR ( const TQDomNodeList & n )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QDomNodeList & n ) const" +.BI "bool \fBoperator==\fR ( const TQDomNodeList & n ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QDomNodeList & n ) const" +.BI "bool \fBoperator!=\fR ( const TQDomNodeList & n ) const" .br .ti -1c -.BI "virtual \fB~QDomNodeList\fR ()" +.BI "virtual \fB~TQDomNodeList\fR ()" .br .ti -1c -.BI "virtual QDomNode \fBitem\fR ( int index ) const" +.BI "virtual TQDomNode \fBitem\fR ( int index ) const" .br .ti -1c .BI "virtual uint \fBlength\fR () const" @@ -44,46 +44,46 @@ All the functions in this class are reentrant when TQt is built with thread supp .br .in -1c .SH DESCRIPTION -The QDomNodeList class is a list of QDomNode objects. +The TQDomNodeList class is a list of TQDomNode objects. .PP -Lists can be obtained by QDomDocument::elementsByTagName() and QDomNode::childNodes(). The Document Object Model (DOM) requires these lists to be "live": whenever you change the underlying document, the contents of the list will get updated. +Lists can be obtained by TQDomDocument::elementsByTagName() and TQDomNode::childNodes(). The Document Object Model (DOM) requires these lists to be "live": whenever you change the underlying document, the contents of the list will get updated. .PP You can get a particular node from the list with item(). The number of items in the list is returned by count() (and by length()). .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP -See also QDomNode::childNodes(), QDomDocument::elementsByTagName(), and XML. +See also TQDomNode::childNodes(), TQDomDocument::elementsByTagName(), and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomNodeList::QDomNodeList ()" +.SH "TQDomNodeList::TQDomNodeList ()" Creates an empty node list. -.SH "QDomNodeList::QDomNodeList ( const QDomNodeList & n )" +.SH "TQDomNodeList::TQDomNodeList ( const TQDomNodeList & n )" Constructs a copy of \fIn\fR. -.SH "QDomNodeList::~QDomNodeList ()\fC [virtual]\fR" +.SH "TQDomNodeList::~TQDomNodeList ()\fC [virtual]\fR" Destroys the object and frees its resources. -.SH "uint QDomNodeList::count () const" +.SH "uint TQDomNodeList::count () const" Returns the number of nodes in the list. .PP This function is the same as length(). -.SH "QDomNode QDomNodeList::item ( int index ) const\fC [virtual]\fR" +.SH "TQDomNode TQDomNodeList::item ( int index ) const\fC [virtual]\fR" Returns the node at position \fIindex\fR. .PP -If \fIindex\fR is negative or if \fIindex\fR >= length() then a null node is returned (i.e. a node for which QDomNode::isNull() returns TRUE). +If \fIindex\fR is negative or if \fIindex\fR >= length() then a null node is returned (i.e. a node for which TQDomNode::isNull() returns TRUE). .PP See also count(). -.SH "uint QDomNodeList::length () const\fC [virtual]\fR" +.SH "uint TQDomNodeList::length () const\fC [virtual]\fR" Returns the number of nodes in the list. .PP This function is the same as count(). -.SH "bool QDomNodeList::operator!= ( const QDomNodeList & n ) const" +.SH "bool TQDomNodeList::operator!= ( const TQDomNodeList & n ) const" Returns TRUE the node list \fIn\fR and this node list are not equal; otherwise returns FALSE. -.SH "QDomNodeList & QDomNodeList::operator= ( const QDomNodeList & n )" +.SH "TQDomNodeList & TQDomNodeList::operator= ( const TQDomNodeList & n )" Assigns \fIn\fR to this node list. -.SH "bool QDomNodeList::operator== ( const QDomNodeList & n ) const" +.SH "bool TQDomNodeList::operator== ( const TQDomNodeList & n ) const" Returns TRUE if the node list \fIn\fR and this node list are equal; otherwise returns FALSE. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomnodelist.html +.BR http://doc.trolltech.com/tqdomnodelist.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomnotation.3qt b/doc/man/man3/tqdomnotation.3qt index f6fce74b3..1364b0fca 100644 --- a/doc/man/man3/tqdomnotation.3qt +++ b/doc/man/man3/tqdomnotation.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomNotation 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomNotation 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,27 +7,27 @@ .ad l .nh .SH NAME -QDomNotation \- Represents an XML notation +TQDomNotation \- Represents an XML notation .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 -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomNotation\fR ()" +.BI "\fBTQDomNotation\fR ()" .br .ti -1c -.BI "\fBQDomNotation\fR ( const QDomNotation & x )" +.BI "\fBTQDomNotation\fR ( const TQDomNotation & x )" .br .ti -1c -.BI "QDomNotation & \fBoperator=\fR ( const QDomNotation & x )" +.BI "TQDomNotation & \fBoperator=\fR ( const TQDomNotation & x )" .br .ti -1c -.BI "\fB~QDomNotation\fR ()" +.BI "\fB~TQDomNotation\fR ()" .br .ti -1c .BI "TQString \fBpublicId\fR () const" @@ -36,14 +36,14 @@ Inherits QDomNode. .BI "TQString \fBsystemId\fR () const" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisNotation\fR () const" .br .in -1c .SH DESCRIPTION -The QDomNotation class represents an XML notation. +The TQDomNotation class represents an XML notation. .PP A notation either declares, by name, the format of an unparsed entity (see section 4.7 of the XML 1.0 specification), or is used for formal declaration of processing instruction targets (see section 2.6 of the XML 1.0 specification). .PP @@ -53,37 +53,37 @@ A notation node does not have any parent. .PP You can retrieve the publicId() and systemId() from a notation node. .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomNotation::QDomNotation ()" +.SH "TQDomNotation::TQDomNotation ()" Constructor. -.SH "QDomNotation::QDomNotation ( const QDomNotation & x )" +.SH "TQDomNotation::TQDomNotation ( const TQDomNotation & x )" Constructs a copy of \fIx\fR. .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 "QDomNotation::~QDomNotation ()" +.SH "TQDomNotation::~TQDomNotation ()" Destroys the object and frees its resources. -.SH "bool QDomNotation::isNotation () const\fC [virtual]\fR" +.SH "bool TQDomNotation::isNotation () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomNotation::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomNotation::nodeType () const\fC [virtual]\fR" Returns NotationNode. .PP -Reimplemented from QDomNode. -.SH "QDomNotation & QDomNotation::operator= ( const QDomNotation & x )" +Reimplemented from TQDomNode. +.SH "TQDomNotation & TQDomNotation::operator= ( const TQDomNotation & x )" Assigns \fIx\fR to this DOM notation. .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 "TQString QDomNotation::publicId () const" +.SH "TQString TQDomNotation::publicId () const" Returns the public identifier of this notation. -.SH "TQString QDomNotation::systemId () const" +.SH "TQString TQDomNotation::systemId () const" Returns the system identifier of this notation. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomnotation.html +.BR http://doc.trolltech.com/tqdomnotation.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomprocessinginstruction.3qt b/doc/man/man3/tqdomprocessinginstruction.3qt index 86f978d75..ae5920c41 100644 --- a/doc/man/man3/tqdomprocessinginstruction.3qt +++ b/doc/man/man3/tqdomprocessinginstruction.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomProcessingInstruction 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomProcessingInstruction 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,27 +7,27 @@ .ad l .nh .SH NAME -QDomProcessingInstruction \- Represents an XML processing instruction +TQDomProcessingInstruction \- Represents an XML processing instruction .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 -Inherits QDomNode. +Inherits TQDomNode. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomProcessingInstruction\fR ()" +.BI "\fBTQDomProcessingInstruction\fR ()" .br .ti -1c -.BI "\fBQDomProcessingInstruction\fR ( const QDomProcessingInstruction & x )" +.BI "\fBTQDomProcessingInstruction\fR ( const TQDomProcessingInstruction & x )" .br .ti -1c -.BI "QDomProcessingInstruction & \fBoperator=\fR ( const QDomProcessingInstruction & x )" +.BI "TQDomProcessingInstruction & \fBoperator=\fR ( const TQDomProcessingInstruction & x )" .br .ti -1c -.BI "\fB~QDomProcessingInstruction\fR ()" +.BI "\fB~TQDomProcessingInstruction\fR ()" .br .ti -1c .BI "virtual TQString \fBtarget\fR () const" @@ -39,58 +39,58 @@ Inherits QDomNode. .BI "virtual void \fBsetData\fR ( const TQString & d )" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisProcessingInstruction\fR () const" .br .in -1c .SH DESCRIPTION -The QDomProcessingInstruction class represents an XML processing instruction. +The TQDomProcessingInstruction class represents an XML processing instruction. .PP Processing instructions are used in XML to keep processor-specific information in the text of the document. .PP The content of the processing instruction is retrieved with data() and set with setData(). The processing instruction's target is retrieved with target(). .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomProcessingInstruction::QDomProcessingInstruction ()" -Constructs an empty processing instruction. Use QDomDocument::createProcessingInstruction() to create a processing instruction with content. -.SH "QDomProcessingInstruction::QDomProcessingInstruction ( const QDomProcessingInstruction & x )" +.SH "TQDomProcessingInstruction::TQDomProcessingInstruction ()" +Constructs an empty processing instruction. Use TQDomDocument::createProcessingInstruction() to create a processing instruction with content. +.SH "TQDomProcessingInstruction::TQDomProcessingInstruction ( const TQDomProcessingInstruction & x )" Constructs a copy of \fIx\fR. .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 "QDomProcessingInstruction::~QDomProcessingInstruction ()" +.SH "TQDomProcessingInstruction::~TQDomProcessingInstruction ()" Destroys the object and frees its resources. -.SH "TQString QDomProcessingInstruction::data () const\fC [virtual]\fR" +.SH "TQString TQDomProcessingInstruction::data () const\fC [virtual]\fR" Returns the content of this processing instruction. .PP See also setData() and target(). -.SH "bool QDomProcessingInstruction::isProcessingInstruction () const\fC [virtual]\fR" +.SH "bool TQDomProcessingInstruction::isProcessingInstruction () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomProcessingInstruction::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomProcessingInstruction::nodeType () const\fC [virtual]\fR" Returns ProcessingInstructionNode. .PP -Reimplemented from QDomNode. -.SH "QDomProcessingInstruction & QDomProcessingInstruction::operator= ( const QDomProcessingInstruction & x )" +Reimplemented from TQDomNode. +.SH "TQDomProcessingInstruction & TQDomProcessingInstruction::operator= ( const TQDomProcessingInstruction & x )" Assigns \fIx\fR to this processing instruction. .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 QDomProcessingInstruction::setData ( const TQString & d )\fC [virtual]\fR" +.SH "void TQDomProcessingInstruction::setData ( const TQString & d )\fC [virtual]\fR" Sets the data contained in the processing instruction to \fId\fR. .PP See also data(). -.SH "TQString QDomProcessingInstruction::target () const\fC [virtual]\fR" +.SH "TQString TQDomProcessingInstruction::target () const\fC [virtual]\fR" Returns the target of this processing instruction. .PP See also data(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomprocessinginstruction.html +.BR http://doc.trolltech.com/tqdomprocessinginstruction.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdomtext.3qt b/doc/man/man3/tqdomtext.3qt index a9d13c1e4..ace765c51 100644 --- a/doc/man/man3/tqdomtext.3qt +++ b/doc/man/man3/tqdomtext.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDomText 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDomText 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,82 +7,82 @@ .ad l .nh .SH NAME -QDomText \- Represents text data in the parsed XML document +TQDomText \- Represents text data in the parsed XML document .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 -Inherits QDomCharacterData. +Inherits TQDomCharacterData. .PP -Inherited by QDomCDATASection. +Inherited by TQDomCDATASection. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDomText\fR ()" +.BI "\fBTQDomText\fR ()" .br .ti -1c -.BI "\fBQDomText\fR ( const QDomText & x )" +.BI "\fBTQDomText\fR ( const TQDomText & x )" .br .ti -1c -.BI "QDomText & \fBoperator=\fR ( const QDomText & x )" +.BI "TQDomText & \fBoperator=\fR ( const TQDomText & x )" .br .ti -1c -.BI "\fB~QDomText\fR ()" +.BI "\fB~TQDomText\fR ()" .br .ti -1c -.BI "QDomText \fBsplitText\fR ( int offset )" +.BI "TQDomText \fBsplitText\fR ( int offset )" .br .ti -1c -.BI "virtual QDomNode::NodeType \fBnodeType\fR () const" +.BI "virtual TQDomNode::NodeType \fBnodeType\fR () const" .br .ti -1c .BI "virtual bool \fBisText\fR () const" .br .in -1c .SH DESCRIPTION -The QDomText class represents text data in the parsed XML document. +The TQDomText class represents text data in the parsed XML document. .PP -You can split the text in a QDomText object over two QDomText objecs with splitText(). +You can split the text in a TQDomText object over two TQDomText objecs with splitText(). .PP -For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation. +For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the TQDomDocument documentation. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDomText::QDomText ()" -Constructs an empty QDomText object. +.SH "TQDomText::TQDomText ()" +Constructs an empty TQDomText object. .PP -To construct a QDomText with content, use QDomDocument::createTextNode(). -.SH "QDomText::QDomText ( const QDomText & x )" +To construct a TQDomText with content, use TQDomDocument::createTextNode(). +.SH "TQDomText::TQDomText ( const TQDomText & x )" Constructs a copy of \fIx\fR. .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 "QDomText::~QDomText ()" +.SH "TQDomText::~TQDomText ()" Destroys the object and frees its resources. -.SH "bool QDomText::isText () const\fC [virtual]\fR" +.SH "bool TQDomText::isText () const\fC [virtual]\fR" Returns TRUE. .PP -Reimplemented from QDomNode. -.SH "QDomNode::NodeType QDomText::nodeType () const\fC [virtual]\fR" +Reimplemented from TQDomNode. +.SH "TQDomNode::NodeType TQDomText::nodeType () const\fC [virtual]\fR" Returns TextNode. .PP -Reimplemented from QDomCharacterData. +Reimplemented from TQDomCharacterData. .PP -Reimplemented in QDomCDATASection. -.SH "QDomText & QDomText::operator= ( const QDomText & x )" +Reimplemented in TQDomCDATASection. +.SH "TQDomText & TQDomText::operator= ( const TQDomText & x )" Assigns \fIx\fR to this DOM text. .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 "QDomText QDomText::splitText ( int offset )" -Splits this DOM text object into two QDomText objects. This object keeps its first \fIoffset\fR characters and the second (newly created) object is inserted into the document tree after this object with the remaining characters. +.SH "TQDomText TQDomText::splitText ( int offset )" +Splits this DOM text object into two TQDomText objects. This object keeps its first \fIoffset\fR characters and the second (newly created) object is inserted into the document tree after this object with the remaining characters. .PP The function returns the newly created object. .PP -See also QDomNode::normalize(). +See also TQDomNode::normalize(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdomtext.html +.BR http://doc.trolltech.com/tqdomtext.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqeditorfactory.3qt b/doc/man/man3/tqeditorfactory.3qt index aa86941ab..11d799df7 100644 --- a/doc/man/man3/tqeditorfactory.3qt +++ b/doc/man/man3/tqeditorfactory.3qt @@ -18,7 +18,7 @@ Inherited by TQSqlEditorFactory. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQEditorFactory\fR ( TQObject * parent = 0, const char * name = 0 )" +.BI "\fBTQEditorFactory\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "\fB~TQEditorFactory\fR ()" diff --git a/doc/man/man3/tqobject.3qt b/doc/man/man3/tqobject.3qt index cef63f88a..6f651cc24 100644 --- a/doc/man/man3/tqobject.3qt +++ b/doc/man/man3/tqobject.3qt @@ -20,7 +20,7 @@ Inherited by QAccel, QAccessibleObject, QAction, QApplication, QAssistantClient, .SS "Public Members" .in +1c .ti -1c -.BI "\fBQObject\fR ( TQObject * parent = 0, const char * name = 0 )" +.BI "\fBTQObject\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "virtual \fB~TQObject\fR ()" @@ -372,7 +372,7 @@ This is an overloaded member function, provided for convenience. It behaves esse .PP Connects \fIsignal\fR from the \fIsender\fR object to this object's \fImember\fR. .PP -Equivalent to: \fCQObject::connect(sender, signal, this, member)\fR. +Equivalent to: \fCTQObject::connect(sender, signal, this, member)\fR. .PP See also disconnect(). .SH "void TQObject::connectNotify ( const char * signal )\fC [virtual protected]\fR" diff --git a/doc/man/man3/tqobjectcleanuphandler.3qt b/doc/man/man3/tqobjectcleanuphandler.3qt index 3b5e53e76..d6f4c5254 100644 --- a/doc/man/man3/tqobjectcleanuphandler.3qt +++ b/doc/man/man3/tqobjectcleanuphandler.3qt @@ -16,7 +16,7 @@ Inherits TQObject. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQObjectCleanupHandler\fR ()" +.BI "\fBTQObjectCleanupHandler\fR ()" .br .ti -1c .BI "\fB~TQObjectCleanupHandler\fR ()" diff --git a/doc/man/man3/tqobjectlist.3qt b/doc/man/man3/tqobjectlist.3qt index 5978515ff..f196e35bc 100644 --- a/doc/man/man3/tqobjectlist.3qt +++ b/doc/man/man3/tqobjectlist.3qt @@ -16,10 +16,10 @@ Inherits QPtrList<TQObject>. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQObjectList\fR ()" +.BI "\fBTQObjectList\fR ()" .br .ti -1c -.BI "\fBQObjectList\fR ( const TQObjectList & list )" +.BI "\fBTQObjectList\fR ( const TQObjectList & list )" .br .ti -1c .BI "\fB~TQObjectList\fR ()" diff --git a/doc/man/man3/tqobjectlistiterator.3qt b/doc/man/man3/tqobjectlistiterator.3qt index 72f8efcfa..67238755f 100644 --- a/doc/man/man3/tqobjectlistiterator.3qt +++ b/doc/man/man3/tqobjectlistiterator.3qt @@ -16,7 +16,7 @@ Inherits QPtrListIterator<TQObject>. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQObjectListIterator\fR ( const TQObjectList & list )" +.BI "\fBTQObjectListIterator\fR ( const TQObjectList & list )" .br .ti -1c .BI "TQObjectListIterator & \fBoperator=\fR ( const TQObjectListIterator & it )" diff --git a/doc/man/man3/tqsql.3qt b/doc/man/man3/tqsql.3qt index d6c8d1254..3dbfccdbd 100644 --- a/doc/man/man3/tqsql.3qt +++ b/doc/man/man3/tqsql.3qt @@ -14,7 +14,7 @@ TQSql \- Namespace for TQt SQL identifiers that need to be global-like .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSql\fR ()" +.BI "\fBTQSql\fR ()" .br .ti -1c .BI "enum \fBOp\fR { None = -1, Insert = 0, Update = 1, Delete = 2 }" @@ -42,45 +42,45 @@ See also Database Classes. .SH "TQSql::Confirm" This enum type describes edit confirmations. .TP -\fCQSql::Yes\fR +\fCTQSql::Yes\fR .TP -\fCQSql::No\fR +\fCTQSql::No\fR .TP -\fCQSql::Cancel\fR +\fCTQSql::Cancel\fR .SH "TQSql::Location" This enum type describes SQL navigation locations. .TP -\fCQSql::BeforeFirst\fR +\fCTQSql::BeforeFirst\fR .TP -\fCQSql::AfterLast\fR +\fCTQSql::AfterLast\fR .SH "TQSql::Op" This enum type describes edit operations. .TP -\fCQSql::None\fR +\fCTQSql::None\fR .TP -\fCQSql::Insert\fR +\fCTQSql::Insert\fR .TP -\fCQSql::Update\fR +\fCTQSql::Update\fR .TP -\fCQSql::Delete\fR +\fCTQSql::Delete\fR .SH "TQSql::ParameterType" This enum is used to set the type of a bind parameter .TP -\fCQSql::In\fR - the bind parameter is used to put data into the database +\fCTQSql::In\fR - the bind parameter is used to put data into the database .TP -\fCQSql::Out\fR - the bind parameter is used to receive data from the database +\fCTQSql::Out\fR - the bind parameter is used to receive data from the database .TP -\fCQSql::InOut\fR - the bind parameter is used to put data into the database; it will be overwritten with output data on executing a query. +\fCTQSql::InOut\fR - the bind parameter is used to put data into the database; it will be overwritten with output data on executing a query. .SH "TQSql::TableType" This enum type describes types of tables .TP -\fCQSql::Tables\fR - All the tables visible to the user +\fCTQSql::Tables\fR - All the tables visible to the user .TP -\fCQSql::SystemTables\fR - Internal tables used by the DBMS +\fCTQSql::SystemTables\fR - Internal tables used by the DBMS .TP -\fCQSql::Views\fR - All the views visible to the user +\fCTQSql::Views\fR - All the views visible to the user .TP -\fCQSql::AllTables\fR - All of the above +\fCTQSql::AllTables\fR - All of the above .SH MEMBER FUNCTION DOCUMENTATION .SH "TQSql::TQSql ()" Constructs a TQt SQL namespace class diff --git a/doc/man/man3/tqsqlcursor.3qt b/doc/man/man3/tqsqlcursor.3qt index cd78d63c4..ad7086483 100644 --- a/doc/man/man3/tqsqlcursor.3qt +++ b/doc/man/man3/tqsqlcursor.3qt @@ -18,10 +18,10 @@ Inherited by TQSqlSelectCursor. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlCursor\fR ( const TQString & name = TQString::null, bool autopopulate = TRUE, TQSqlDatabase * db = 0 )" +.BI "\fBTQSqlCursor\fR ( const TQString & name = TQString::null, bool autopopulate = TRUE, TQSqlDatabase * db = 0 )" .br .ti -1c -.BI "\fBQSqlCursor\fR ( const TQSqlCursor & other )" +.BI "\fBTQSqlCursor\fR ( const TQSqlCursor & other )" .br .ti -1c .BI "TQSqlCursor & \fBoperator=\fR ( const TQSqlCursor & other )" @@ -246,15 +246,15 @@ See also Database Classes. .SH "TQSqlCursor::Mode" This enum type describes how TQSqlCursor operates on records in the database. .TP -\fCQSqlCursor::ReadOnly\fR - the cursor can only SELECT records from the database. +\fCTQSqlCursor::ReadOnly\fR - the cursor can only SELECT records from the database. .TP -\fCQSqlCursor::Insert\fR - the cursor can INSERT records into the database. +\fCTQSqlCursor::Insert\fR - the cursor can INSERT records into the database. .TP -\fCQSqlCursor::Update\fR - the cursor can UPDATE records in the database. +\fCTQSqlCursor::Update\fR - the cursor can UPDATE records in the database. .TP -\fCQSqlCursor::Delete\fR - the cursor can DELETE records from the database. +\fCTQSqlCursor::Delete\fR - the cursor can DELETE records from the database. .TP -\fCQSqlCursor::Writable\fR - the cursor can INSERT, UPDATE and DELETE records in the database. +\fCTQSqlCursor::Writable\fR - the cursor can INSERT, UPDATE and DELETE records in the database. .SH MEMBER FUNCTION DOCUMENTATION .SH "TQSqlCursor::TQSqlCursor ( const TQString & name = TQString::null, bool autopopulate = TRUE, TQSqlDatabase * db = 0 )" Constructs a cursor on database \fIdb\fR using table or view \fIname\fR. diff --git a/doc/man/man3/tqsqldatabase.3qt b/doc/man/man3/tqsqldatabase.3qt index 8e9e795e6..f5b31e03d 100644 --- a/doc/man/man3/tqsqldatabase.3qt +++ b/doc/man/man3/tqsqldatabase.3qt @@ -166,10 +166,10 @@ Inherits TQObject. .SS "Protected Members" .in +1c .ti -1c -.BI "\fBQSqlDatabase\fR ( const TQString & type, const TQString & name, TQObject * parent = 0, const char * objname = 0 )" +.BI "\fBTQSqlDatabase\fR ( const TQString & type, const TQString & name, TQObject * parent = 0, const char * objname = 0 )" .br .ti -1c -.BI "\fBQSqlDatabase\fR ( TQSqlDriver * driver, TQObject * parent = 0, const char * objname = 0 )" +.BI "\fBTQSqlDatabase\fR ( TQSqlDriver * driver, TQObject * parent = 0, const char * objname = 0 )" .br .in -1c .SH DESCRIPTION diff --git a/doc/man/man3/tqsqldriver.3qt b/doc/man/man3/tqsqldriver.3qt index e0757f1cb..99c2ecbc0 100644 --- a/doc/man/man3/tqsqldriver.3qt +++ b/doc/man/man3/tqsqldriver.3qt @@ -19,7 +19,7 @@ Inherits TQObject. .BI "enum \fBDriverFeature\fR { Transactions, QuerySize, BLOB, Unicode, PreparedQueries, NamedPlaceholders, PositionalPlaceholders }" .br .ti -1c -.BI "\fBQSqlDriver\fR ( TQObject * parent = 0, const char * name = 0 )" +.BI "\fBTQSqlDriver\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "\fB~TQSqlDriver\fR ()" @@ -104,19 +104,19 @@ See also Database Classes. .SH "TQSqlDriver::DriverFeature" This enum contains a list of features a driver may support. Use hasFeature() to query whether a feature is supported or not. .TP -\fCQSqlDriver::Transactions\fR - whether the driver supports SQL transactions +\fCTQSqlDriver::Transactions\fR - whether the driver supports SQL transactions .TP -\fCQSqlDriver::QuerySize\fR - whether the database is capable of reporting the size of a query. Note that some databases do not support returning the size (i.e. number of rows returned) of a query, in which case TQSqlQuery::size() will return -1 +\fCTQSqlDriver::QuerySize\fR - whether the database is capable of reporting the size of a query. Note that some databases do not support returning the size (i.e. number of rows returned) of a query, in which case TQSqlQuery::size() will return -1 .TP -\fCQSqlDriver::BLOB\fR - whether the driver supports Binary Large Object fields +\fCTQSqlDriver::BLOB\fR - whether the driver supports Binary Large Object fields .TP -\fCQSqlDriver::Unicode\fR - whether the driver supports Unicode strings if the database server does +\fCTQSqlDriver::Unicode\fR - whether the driver supports Unicode strings if the database server does .TP -\fCQSqlDriver::PreparedQueries\fR - whether the driver supports prepared query execution +\fCTQSqlDriver::PreparedQueries\fR - whether the driver supports prepared query execution .TP -\fCQSqlDriver::NamedPlaceholders\fR - whether the driver supports usage of named placeholders +\fCTQSqlDriver::NamedPlaceholders\fR - whether the driver supports usage of named placeholders .TP -\fCQSqlDriver::PositionalPlaceholders\fR - whether the driver supports usage of positional placeholders +\fCTQSqlDriver::PositionalPlaceholders\fR - whether the driver supports usage of positional placeholders .PP More information about supported features can be found in the TQt SQL driver documentation. .PP diff --git a/doc/man/man3/tqsqldriverplugin.3qt b/doc/man/man3/tqsqldriverplugin.3qt index c190a9937..25cbdee34 100644 --- a/doc/man/man3/tqsqldriverplugin.3qt +++ b/doc/man/man3/tqsqldriverplugin.3qt @@ -14,7 +14,7 @@ TQSqlDriverPlugin \- Abstract base for custom TQSqlDriver plugins .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlDriverPlugin\fR ()" +.BI "\fBTQSqlDriverPlugin\fR ()" .br .ti -1c .BI "\fB~TQSqlDriverPlugin\fR ()" diff --git a/doc/man/man3/tqsqleditorfactory.3qt b/doc/man/man3/tqsqleditorfactory.3qt index 3e3093b0e..33a8557d2 100644 --- a/doc/man/man3/tqsqleditorfactory.3qt +++ b/doc/man/man3/tqsqleditorfactory.3qt @@ -16,7 +16,7 @@ Inherits TQEditorFactory. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlEditorFactory\fR ( TQObject * parent = 0, const char * name = 0 )" +.BI "\fBTQSqlEditorFactory\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "\fB~TQSqlEditorFactory\fR ()" @@ -65,7 +65,7 @@ Returns an instance of a default editor factory. .SH "void TQSqlEditorFactory::installDefaultFactory ( TQSqlEditorFactory * factory )\fC [static]\fR" Replaces the default editor factory with \fIfactory\fR. All TQDataTable and TQSqlForm instantiations will use this new factory -for creating field editors. \fIQSqlEditorFactory takes ownership of \a factory, and destroys it when it is no longer needed.\fR +for creating field editors. \fITQSqlEditorFactory takes ownership of \a factory, and destroys it when it is no longer needed.\fR .SH "SEE ALSO" .BR http://doc.trolltech.com/tqsqleditorfactory.html diff --git a/doc/man/man3/tqsqlerror.3qt b/doc/man/man3/tqsqlerror.3qt index ad846e4a9..560069030 100644 --- a/doc/man/man3/tqsqlerror.3qt +++ b/doc/man/man3/tqsqlerror.3qt @@ -17,10 +17,10 @@ TQSqlError \- SQL database error information .BI "enum \fBType\fR { None, Connection, Statement, Transaction, Unknown }" .br .ti -1c -.BI "\fBQSqlError\fR ( const TQString & driverText = TQString::null, const TQString & databaseText = TQString::null, int type = TQSqlError::None, int number = -1 )" +.BI "\fBTQSqlError\fR ( const TQString & driverText = TQString::null, const TQString & databaseText = TQString::null, int type = TQSqlError::None, int number = -1 )" .br .ti -1c -.BI "\fBQSqlError\fR ( const TQSqlError & other )" +.BI "\fBTQSqlError\fR ( const TQSqlError & other )" .br .ti -1c .BI "TQSqlError & \fBoperator=\fR ( const TQSqlError & other )" @@ -69,15 +69,15 @@ See also Database Classes. .SH "TQSqlError::Type" This enum type describes the type of SQL error that occurred. .TP -\fCQSqlError::None\fR - no error occurred +\fCTQSqlError::None\fR - no error occurred .TP -\fCQSqlError::Connection\fR - connection error +\fCTQSqlError::Connection\fR - connection error .TP -\fCQSqlError::Statement\fR - SQL statement syntax error +\fCTQSqlError::Statement\fR - SQL statement syntax error .TP -\fCQSqlError::Transaction\fR - transaction failed error +\fCTQSqlError::Transaction\fR - transaction failed error .TP -\fCQSqlError::Unknown\fR - unknown error +\fCTQSqlError::Unknown\fR - unknown error .SH MEMBER FUNCTION DOCUMENTATION .SH "TQSqlError::TQSqlError ( const TQString & driverText = TQString::null, const TQString & databaseText = TQString::null, int type = TQSqlError::None, int number = -1 )" Constructs an error containing the driver error text \fIdriverText\fR, the database-specific error text \fIdatabaseText\fR, the type \fItype\fR and the optional error number \fInumber\fR. diff --git a/doc/man/man3/tqsqlfield.3qt b/doc/man/man3/tqsqlfield.3qt index c5c484b09..f2dd8c441 100644 --- a/doc/man/man3/tqsqlfield.3qt +++ b/doc/man/man3/tqsqlfield.3qt @@ -14,10 +14,10 @@ TQSqlField \- Manipulates the fields in SQL database tables and views .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlField\fR ( const TQString & fieldName = TQString::null, QVariant::Type type = QVariant::Invalid )" +.BI "\fBTQSqlField\fR ( const TQString & fieldName = TQString::null, QVariant::Type type = QVariant::Invalid )" .br .ti -1c -.BI "\fBQSqlField\fR ( const TQSqlField & other )" +.BI "\fBTQSqlField\fR ( const TQSqlField & other )" .br .ti -1c .BI "TQSqlField & \fBoperator=\fR ( const TQSqlField & other )" diff --git a/doc/man/man3/tqsqlfieldinfo.3qt b/doc/man/man3/tqsqlfieldinfo.3qt index fb0333b7c..de45e1941 100644 --- a/doc/man/man3/tqsqlfieldinfo.3qt +++ b/doc/man/man3/tqsqlfieldinfo.3qt @@ -14,13 +14,13 @@ TQSqlFieldInfo \- Stores meta data associated with a SQL field .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlFieldInfo\fR ( const TQString & name = TQString::null, QVariant::Type typ = QVariant::Invalid, int required = -1, int len = -1, int prec = -1, const QVariant & defValue = QVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )" +.BI "\fBTQSqlFieldInfo\fR ( const TQString & name = TQString::null, QVariant::Type typ = QVariant::Invalid, int required = -1, int len = -1, int prec = -1, const QVariant & defValue = QVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )" .br .ti -1c -.BI "\fBQSqlFieldInfo\fR ( const TQSqlFieldInfo & other )" +.BI "\fBTQSqlFieldInfo\fR ( const TQSqlFieldInfo & other )" .br .ti -1c -.BI "\fBQSqlFieldInfo\fR ( const TQSqlField & other, bool generated = TRUE )" +.BI "\fBTQSqlFieldInfo\fR ( const TQSqlField & other, bool generated = TRUE )" .br .ti -1c .BI "virtual \fB~TQSqlFieldInfo\fR ()" diff --git a/doc/man/man3/tqsqlform.3qt b/doc/man/man3/tqsqlform.3qt index 3af3402ea..73d2a1bfd 100644 --- a/doc/man/man3/tqsqlform.3qt +++ b/doc/man/man3/tqsqlform.3qt @@ -16,7 +16,7 @@ Inherits TQObject. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlForm\fR ( TQObject * parent = 0, const char * name = 0 )" +.BI "\fBTQSqlForm\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "\fB~TQSqlForm\fR ()" diff --git a/doc/man/man3/tqsqlindex.3qt b/doc/man/man3/tqsqlindex.3qt index b226b887a..e66ca49cc 100644 --- a/doc/man/man3/tqsqlindex.3qt +++ b/doc/man/man3/tqsqlindex.3qt @@ -16,10 +16,10 @@ Inherits TQSqlRecord. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlIndex\fR ( const TQString & cursorname = TQString::null, const TQString & name = TQString::null )" +.BI "\fBTQSqlIndex\fR ( const TQString & cursorname = TQString::null, const TQString & name = TQString::null )" .br .ti -1c -.BI "\fBQSqlIndex\fR ( const TQSqlIndex & other )" +.BI "\fBTQSqlIndex\fR ( const TQSqlIndex & other )" .br .ti -1c .BI "\fB~TQSqlIndex\fR ()" diff --git a/doc/man/man3/tqsqlpropertymap.3qt b/doc/man/man3/tqsqlpropertymap.3qt index ec88742a6..8dd222df2 100644 --- a/doc/man/man3/tqsqlpropertymap.3qt +++ b/doc/man/man3/tqsqlpropertymap.3qt @@ -14,7 +14,7 @@ TQSqlPropertyMap \- Used to map widgets to SQL fields .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlPropertyMap\fR ()" +.BI "\fBTQSqlPropertyMap\fR ()" .br .ti -1c .BI "virtual \fB~TQSqlPropertyMap\fR ()" @@ -138,7 +138,7 @@ Insert a new classname/property pair, which is used for custom SQL field editors .PP Example: sql/overview/custom1/main.cpp. .SH "void TQSqlPropertyMap::installDefaultMap ( TQSqlPropertyMap * map )\fC [static]\fR" -Replaces the global default property map with \fImap\fR. All TQDataTable and TQSqlForm instantiations will use this new map for inserting and extracting values to and from editors. \fIQSqlPropertyMap takes ownership of \a map, and destroys it when it is no longer needed.\fR +Replaces the global default property map with \fImap\fR. All TQDataTable and TQSqlForm instantiations will use this new map for inserting and extracting values to and from editors. \fITQSqlPropertyMap takes ownership of \a map, and destroys it when it is no longer needed.\fR .SH "QVariant TQSqlPropertyMap::property ( TQWidget * widget )" Returns the mapped property of \fIwidget\fR as a QVariant. .SH "void TQSqlPropertyMap::remove ( const TQString & classname )" diff --git a/doc/man/man3/tqsqlquery.3qt b/doc/man/man3/tqsqlquery.3qt index 85fa5f032..d77a24120 100644 --- a/doc/man/man3/tqsqlquery.3qt +++ b/doc/man/man3/tqsqlquery.3qt @@ -16,16 +16,16 @@ Inherited by TQSqlCursor. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlQuery\fR ( TQSqlResult * r )" +.BI "\fBTQSqlQuery\fR ( TQSqlResult * r )" .br .ti -1c -.BI "\fBQSqlQuery\fR ( const TQString & query = TQString::null, TQSqlDatabase * db = 0 )" +.BI "\fBTQSqlQuery\fR ( const TQString & query = TQString::null, TQSqlDatabase * db = 0 )" .br .ti -1c -.BI "explicit \fBQSqlQuery\fR ( TQSqlDatabase * db )" +.BI "explicit \fBTQSqlQuery\fR ( TQSqlDatabase * db )" .br .ti -1c -.BI "\fBQSqlQuery\fR ( const TQSqlQuery & other )" +.BI "\fBTQSqlQuery\fR ( const TQSqlQuery & other )" .br .ti -1c .BI "TQSqlQuery & \fBoperator=\fR ( const TQSqlQuery & other )" diff --git a/doc/man/man3/tqsqlrecord.3qt b/doc/man/man3/tqsqlrecord.3qt index fa095195f..3d66d0005 100644 --- a/doc/man/man3/tqsqlrecord.3qt +++ b/doc/man/man3/tqsqlrecord.3qt @@ -16,10 +16,10 @@ Inherited by TQSqlCursor and TQSqlIndex. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlRecord\fR ()" +.BI "\fBTQSqlRecord\fR ()" .br .ti -1c -.BI "\fBQSqlRecord\fR ( const TQSqlRecord & other )" +.BI "\fBTQSqlRecord\fR ( const TQSqlRecord & other )" .br .ti -1c .BI "TQSqlRecord & \fBoperator=\fR ( const TQSqlRecord & other )" diff --git a/doc/man/man3/tqsqlrecordinfo.3qt b/doc/man/man3/tqsqlrecordinfo.3qt index 7b5a74324..78b21788d 100644 --- a/doc/man/man3/tqsqlrecordinfo.3qt +++ b/doc/man/man3/tqsqlrecordinfo.3qt @@ -14,13 +14,13 @@ TQSqlRecordInfo \- Encapsulates a set of database field meta data .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlRecordInfo\fR ()" +.BI "\fBTQSqlRecordInfo\fR ()" .br .ti -1c -.BI "\fBQSqlRecordInfo\fR ( const TQSqlFieldInfoList & other )" +.BI "\fBTQSqlRecordInfo\fR ( const TQSqlFieldInfoList & other )" .br .ti -1c -.BI "\fBQSqlRecordInfo\fR ( const TQSqlRecord & other )" +.BI "\fBTQSqlRecordInfo\fR ( const TQSqlRecord & other )" .br .ti -1c .BI "size_type \fBcontains\fR ( const TQString & fieldName ) const" diff --git a/doc/man/man3/tqsqlresult.3qt b/doc/man/man3/tqsqlresult.3qt index 7f3bf88ae..06cd05a44 100644 --- a/doc/man/man3/tqsqlresult.3qt +++ b/doc/man/man3/tqsqlresult.3qt @@ -20,7 +20,7 @@ TQSqlResult \- Abstract interface for accessing data from SQL databases .SS "Protected Members" .in +1c .ti -1c -.BI "\fBQSqlResult\fR ( const TQSqlDriver * db )" +.BI "\fBTQSqlResult\fR ( const TQSqlDriver * db )" .br .ti -1c .BI "int \fBat\fR () const" diff --git a/doc/man/man3/tqsqlselectcursor.3qt b/doc/man/man3/tqsqlselectcursor.3qt index 231287936..b9f5e9473 100644 --- a/doc/man/man3/tqsqlselectcursor.3qt +++ b/doc/man/man3/tqsqlselectcursor.3qt @@ -16,10 +16,10 @@ Inherits TQSqlCursor. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSqlSelectCursor\fR ( const TQString & query = TQString::null, TQSqlDatabase * db = 0 )" +.BI "\fBTQSqlSelectCursor\fR ( const TQString & query = TQString::null, TQSqlDatabase * db = 0 )" .br .ti -1c -.BI "\fBQSqlSelectCursor\fR ( const TQSqlSelectCursor & other )" +.BI "\fBTQSqlSelectCursor\fR ( const TQSqlSelectCursor & other )" .br .ti -1c .BI "\fB~TQSqlSelectCursor\fR ()" diff --git a/doc/man/man3/tqxmlattributes.3qt b/doc/man/man3/tqxmlattributes.3qt index ab0be284b..303bec93f 100644 --- a/doc/man/man3/tqxmlattributes.3qt +++ b/doc/man/man3/tqxmlattributes.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlAttributes 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlAttributes 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,19 +7,19 @@ .ad l .nh .SH NAME -QXmlAttributes \- XML attributes +TQXmlAttributes \- XML attributes .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqxml.h>\fR +\fC#include <tqxml.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQXmlAttributes\fR ()" +.BI "\fBTQXmlAttributes\fR ()" .br .ti -1c -.BI "virtual \fB~QXmlAttributes\fR ()" +.BI "virtual \fB~TQXmlAttributes\fR ()" .br .ti -1c .BI "int \fBindex\fR ( const TQString & qName ) const" @@ -68,35 +68,35 @@ All the functions in this class are reentrant when TQt is built with thread supp .br .in -1c .SH DESCRIPTION -The QXmlAttributes class provides XML attributes. +The TQXmlAttributes class provides XML attributes. .PP -If attributes are reported by QXmlContentHandler::startElement() this class is used to pass the attribute values. +If attributes are reported by TQXmlContentHandler::startElement() this class is used to pass the attribute values. .PP Use index() to locate the position of an attribute in the list, count() to retrieve the number of attributes, and clear() to remove the attributes. New attributes can be added with append(). Use type() to get an attribute's type and value() to get its value. The attribute's name is available from localName() or qName(), and its namespace URI from uri(). .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlAttributes::QXmlAttributes ()" +.SH "TQXmlAttributes::TQXmlAttributes ()" Constructs an empty attribute list. -.SH "QXmlAttributes::~QXmlAttributes ()\fC [virtual]\fR" +.SH "TQXmlAttributes::~TQXmlAttributes ()\fC [virtual]\fR" Destroys the attributes object. -.SH "void QXmlAttributes::append ( const TQString & qName, const TQString & uri, const TQString & localPart, const TQString & value )" +.SH "void TQXmlAttributes::append ( const TQString & qName, const TQString & uri, const TQString & localPart, const TQString & value )" Appends a new attribute entry to the list of attributes. The qualified name of the attribute is \fIqName\fR, the namespace URI is \fIuri\fR and the local name is \fIlocalPart\fR. The value of the attribute is \fIvalue\fR. .PP See also qName(), uri(), localName(), and value(). -.SH "void QXmlAttributes::clear ()" +.SH "void TQXmlAttributes::clear ()" Clears the list of attributes. .PP See also append(). -.SH "int QXmlAttributes::count () const" +.SH "int TQXmlAttributes::count () const" Returns the number of attributes in the list. This function is equivalent to length(). -.SH "int QXmlAttributes::index ( const TQString & qName ) const" +.SH "int TQXmlAttributes::index ( const TQString & qName ) const" Looks up the index of an attribute by the qualified name \fIqName\fR. .PP Returns the index of the attribute or -1 if it wasn't found. .PP See also the namespace description. -.SH "int QXmlAttributes::index ( const TQString & uri, const TQString & localPart ) const" +.SH "int TQXmlAttributes::index ( const TQString & uri, const TQString & localPart ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Looks up the index of an attribute by a namespace name. @@ -106,33 +106,33 @@ Looks up the index of an attribute by a namespace name. Returns the index of the attribute, or -1 if it wasn't found. .PP See also the namespace description. -.SH "int QXmlAttributes::length () const" +.SH "int TQXmlAttributes::length () const" Returns the number of attributes in the list. .PP See also count(). .PP Example: xml/tagreader-with-features/structureparser.cpp. -.SH "TQString QXmlAttributes::localName ( int index ) const" +.SH "TQString TQXmlAttributes::localName ( int index ) const" Looks up an attribute's local name for the attribute at position \fIindex\fR. If no namespace processing is done, the local name is TQString::null. .PP See also the namespace description. -.SH "TQString QXmlAttributes::qName ( int index ) const" +.SH "TQString TQXmlAttributes::qName ( int index ) const" Looks up an attribute's XML 1.0 qualified name for the attribute at position \fIindex\fR. .PP See also the namespace description. .PP Example: xml/tagreader-with-features/structureparser.cpp. -.SH "TQString QXmlAttributes::type ( int index ) const" +.SH "TQString TQXmlAttributes::type ( int index ) const" Looks up an attribute's type for the attribute at position \fIindex\fR. .PP Currently only "CDATA" is returned. -.SH "TQString QXmlAttributes::type ( const TQString & qName ) const" +.SH "TQString TQXmlAttributes::type ( const TQString & qName ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Looks up an attribute's type for the qualified name \fIqName\fR. .PP Currently only "CDATA" is returned. -.SH "TQString QXmlAttributes::type ( const TQString & uri, const TQString & localName ) const" +.SH "TQString TQXmlAttributes::type ( const TQString & uri, const TQString & localName ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Looks up an attribute's type by namespace name. @@ -140,21 +140,21 @@ Looks up an attribute's type by namespace name. \fIuri\fR specifies the namespace URI and \fIlocalName\fR specifies the local name. If the name has no namespace URI, use an empty string for \fIuri\fR. .PP Currently only "CDATA" is returned. -.SH "TQString QXmlAttributes::uri ( int index ) const" +.SH "TQString TQXmlAttributes::uri ( int index ) const" Looks up an attribute's namespace URI for the attribute at position \fIindex\fR. If no namespace processing is done or if the attribute has no namespace, the namespace URI is TQString::null. .PP See also the namespace description. .PP Example: xml/tagreader-with-features/structureparser.cpp. -.SH "TQString QXmlAttributes::value ( int index ) const" +.SH "TQString TQXmlAttributes::value ( int index ) const" Looks up an attribute's value for the attribute at position \fIindex\fR. -.SH "TQString QXmlAttributes::value ( const TQString & qName ) const" +.SH "TQString TQXmlAttributes::value ( const TQString & qName ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Looks up an attribute's value for the qualified name \fIqName\fR. .PP See also the namespace description. -.SH "TQString QXmlAttributes::value ( const TQString & uri, const TQString & localName ) const" +.SH "TQString TQXmlAttributes::value ( const TQString & uri, const TQString & localName ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Looks up an attribute's value by namespace name. @@ -164,7 +164,7 @@ Looks up an attribute's value by namespace name. See also the namespace description. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlattributes.html +.BR http://doc.trolltech.com/tqxmlattributes.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmlcontenthandler.3qt b/doc/man/man3/tqxmlcontenthandler.3qt index bd5dee5fa..f42807693 100644 --- a/doc/man/man3/tqxmlcontenthandler.3qt +++ b/doc/man/man3/tqxmlcontenthandler.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlContentHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlContentHandler 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,18 +7,18 @@ .ad l .nh .SH NAME -QXmlContentHandler \- Interface to report the logical content of XML data +TQXmlContentHandler \- Interface to report the logical content of XML data .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqxml.h>\fR +\fC#include <tqxml.h>\fR .PP -Inherited by QXmlDefaultHandler. +Inherited by TQXmlDefaultHandler. .PP .SS "Public Members" .in +1c .ti -1c -.BI "virtual void \fBsetDocumentLocator\fR ( QXmlLocator * locator ) = 0" +.BI "virtual void \fBsetDocumentLocator\fR ( TQXmlLocator * locator ) = 0" .br .ti -1c .BI "virtual bool \fBstartDocument\fR () = 0" @@ -33,7 +33,7 @@ Inherited by QXmlDefaultHandler. .BI "virtual bool \fBendPrefixMapping\fR ( const TQString & prefix ) = 0" .br .ti -1c -.BI "virtual bool \fBstartElement\fR ( const TQString & namespaceURI, const TQString & localName, const TQString & qName, const QXmlAttributes & atts ) = 0" +.BI "virtual bool \fBstartElement\fR ( const TQString & namespaceURI, const TQString & localName, const TQString & qName, const TQXmlAttributes & atts ) = 0" .br .ti -1c .BI "virtual bool \fBendElement\fR ( const TQString & namespaceURI, const TQString & localName, const TQString & qName ) = 0" @@ -55,35 +55,35 @@ Inherited by QXmlDefaultHandler. .br .in -1c .SH DESCRIPTION -The QXmlContentHandler class provides an interface to report the logical content of XML data. +The TQXmlContentHandler class provides an interface to report the logical content of XML data. .PP -If the application needs to be informed of basic parsing events, it can implement this interface and activate it using QXmlReader::setContentHandler(). The reader can then report basic document-related events like the start and end of elements and character data through this interface. +If the application needs to be informed of basic parsing events, it can implement this interface and activate it using TQXmlReader::setContentHandler(). The reader can then report basic document-related events like the start and end of elements and character data through this interface. .PP The order of events in this interface is very important, and mirrors the order of information in the document itself. For example, all of an element's content (character data, processing instructions, and sub-elements) appears, in order, between the startElement() event and the corresponding endElement() event. .PP -The class QXmlDefaultHandler provides a default implementation for this interface; subclassing from the QXmlDefaultHandler class is very convenient if you only want to be informed of some parsing events. +The class TQXmlDefaultHandler provides a default implementation for this interface; subclassing from the TQXmlDefaultHandler class is very convenient if you only want to be informed of some parsing events. .PP The startDocument() function is called at the start of the document, and endDocument() is called at the end. Before parsing begins setDocumentLocator() is called. For each element startElement() is called, with endElement() being called at the end of each element. The characters() function is called with chunks of character data; ignorableWhitespace() is called with chunks of whitespace and processingInstruction() is called with processing instructions. If an entity is skipped skippedEntity() is called. At the beginning of prefix-URI scopes startPrefixMapping() is called. .PP See also the Introduction to SAX2. .PP -See also QXmlDTDHandler, QXmlDeclHandler, QXmlEntityResolver, QXmlErrorHandler, QXmlLexicalHandler, and XML. +See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlEntityResolver, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "bool QXmlContentHandler::characters ( const TQString & ch )\fC [pure virtual]\fR" -The reader calls this function when it has parsed a chunk of character data (either normal character data or character data inside a CDATA section; if you need to distinguish between those two types you must use QXmlLexicalHandler::startCDATA() and QXmlLexicalHandler::endCDATA()). The character data is reported in \fIch\fR. +.SH "bool TQXmlContentHandler::characters ( const TQString & ch )\fC [pure virtual]\fR" +The reader calls this function when it has parsed a chunk of character data (either normal character data or character data inside a CDATA section; if you need to distinguish between those two types you must use TQXmlLexicalHandler::startCDATA() and TQXmlLexicalHandler::endCDATA()). The character data is reported in \fIch\fR. .PP Some readers report whitespace in element content using the ignorableWhitespace() function rather than using this one. .PP A reader may report the character data of an element in more than one chunk; e.g. a reader might want to report "a<b" in three characters() events ("a ", "<" and " b"). .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. -.SH "bool QXmlContentHandler::endDocument ()\fC [pure virtual]\fR" +.SH "bool TQXmlContentHandler::endDocument ()\fC [pure virtual]\fR" The reader calls this function after it has finished parsing. It is called just once, and is the last handler function called. It is called after the reader has read all input or has abandoned parsing because of a fatal error. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. .PP See also startDocument(). -.SH "bool QXmlContentHandler::endElement ( const TQString & namespaceURI, const TQString & localName, const TQString & qName )\fC [pure virtual]\fR" +.SH "bool TQXmlContentHandler::endElement ( const TQString & namespaceURI, const TQString & localName, const TQString & qName )\fC [pure virtual]\fR" The reader calls this function when it has parsed an end element tag with the qualified name \fIqName\fR, the local name \fIlocalName\fR and the namespace URI \fInamespaceURI\fR. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. @@ -93,7 +93,7 @@ See also the namespace description. See also startElement(). .PP Example: xml/tagreader/structureparser.cpp. -.SH "bool QXmlContentHandler::endPrefixMapping ( const TQString & prefix )\fC [pure virtual]\fR" +.SH "bool TQXmlContentHandler::endPrefixMapping ( const TQString & prefix )\fC [pure virtual]\fR" The reader calls this function to signal the end of a prefix mapping for the prefix \fIprefix\fR. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. @@ -101,35 +101,35 @@ If this function returns FALSE the reader stops parsing and reports an error. Th See also the namespace description. .PP See also startPrefixMapping(). -.SH "TQString QXmlContentHandler::errorString ()\fC [pure virtual]\fR" +.SH "TQString TQXmlContentHandler::errorString ()\fC [pure virtual]\fR" The reader calls this function to get an error string, e.g. if any of the handler functions returns FALSE. -.SH "bool QXmlContentHandler::ignorableWhitespace ( const TQString & ch )\fC [pure virtual]\fR" +.SH "bool TQXmlContentHandler::ignorableWhitespace ( const TQString & ch )\fC [pure virtual]\fR" Some readers may use this function to report each chunk of whitespace in element content. The whitespace is reported in \fIch\fR. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. -.SH "bool QXmlContentHandler::processingInstruction ( const TQString & target, const TQString & data )\fC [pure virtual]\fR" +.SH "bool TQXmlContentHandler::processingInstruction ( const TQString & target, const TQString & data )\fC [pure virtual]\fR" The reader calls this function when it has parsed a processing instruction. .PP \fItarget\fR is the target name of the processing instruction and \fIdata\fR is the data in the processing instruction. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. -.SH "void QXmlContentHandler::setDocumentLocator ( QXmlLocator * locator )\fC [pure virtual]\fR" -The reader calls this function before it starts parsing the document. The argument \fIlocator\fR is a pointer to a QXmlLocator which allows the application to get the parsing position within the document. +.SH "void TQXmlContentHandler::setDocumentLocator ( TQXmlLocator * locator )\fC [pure virtual]\fR" +The reader calls this function before it starts parsing the document. The argument \fIlocator\fR is a pointer to a TQXmlLocator which allows the application to get the parsing position within the document. .PP Do not destroy the \fIlocator\fR; it is destroyed when the reader is destroyed. (Do not use the \fIlocator\fR after the reader is destroyed). -.SH "bool QXmlContentHandler::skippedEntity ( const TQString & name )\fC [pure virtual]\fR" +.SH "bool TQXmlContentHandler::skippedEntity ( const TQString & name )\fC [pure virtual]\fR" Some readers may skip entities if they have not seen the declarations (e.g. because they are in an external DTD). If they do so they report that they skipped the entity called \fIname\fR by calling this function. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. -.SH "bool QXmlContentHandler::startDocument ()\fC [pure virtual]\fR" -The reader calls this function when it starts parsing the document. The reader calls this function just once, after the call to setDocumentLocator(), and before any other functions in this class or in the QXmlDTDHandler class are called. +.SH "bool TQXmlContentHandler::startDocument ()\fC [pure virtual]\fR" +The reader calls this function when it starts parsing the document. The reader calls this function just once, after the call to setDocumentLocator(), and before any other functions in this class or in the TQXmlDTDHandler class are called. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. .PP See also endDocument(). .PP Example: xml/tagreader/structureparser.cpp. -.SH "bool QXmlContentHandler::startElement ( const TQString & namespaceURI, const TQString & localName, const TQString & qName, const QXmlAttributes & atts )\fC [pure virtual]\fR" +.SH "bool TQXmlContentHandler::startElement ( const TQString & namespaceURI, const TQString & localName, const TQString & qName, const TQXmlAttributes & atts )\fC [pure virtual]\fR" The reader calls this function when it has parsed a start element tag. .PP There is a corresponding endElement() call when the corresponding end element tag is read. The startElement() and endElement() calls are always nested correctly. Empty element tags (e.g. \fC<x/>\fR) cause a startElement() call to be immediately followed by an endElement() call. @@ -145,7 +145,7 @@ See also the namespace description. See also endElement(). .PP Example: xml/tagreader/structureparser.cpp. -.SH "bool QXmlContentHandler::startPrefixMapping ( const TQString & prefix, const TQString & uri )\fC [pure virtual]\fR" +.SH "bool TQXmlContentHandler::startPrefixMapping ( const TQString & prefix, const TQString & uri )\fC [pure virtual]\fR" The reader calls this function to signal the begin of a prefix-URI namespace mapping scope. This information is not necessary for normal namespace processing since the reader automatically replaces prefixes for element and attribute names. .PP Note that startPrefixMapping() and endPrefixMapping() calls are not guaranteed to be properly nested relative to each other: all startPrefixMapping() events occur before the corresponding startElement() event, and all endPrefixMapping() events occur after the corresponding endElement() event, but their order is not otherwise guaranteed. @@ -159,7 +159,7 @@ See also the namespace description. See also endPrefixMapping(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlcontenthandler.html +.BR http://doc.trolltech.com/tqxmlcontenthandler.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmldeclhandler.3qt b/doc/man/man3/tqxmldeclhandler.3qt index c2de08024..719f78fc5 100644 --- a/doc/man/man3/tqxmldeclhandler.3qt +++ b/doc/man/man3/tqxmldeclhandler.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlDeclHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlDeclHandler 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,13 +7,13 @@ .ad l .nh .SH NAME -QXmlDeclHandler \- Interface to report declaration content of XML data +TQXmlDeclHandler \- Interface to report declaration content of XML data .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqxml.h>\fR +\fC#include <tqxml.h>\fR .PP -Inherited by QXmlDefaultHandler. +Inherited by TQXmlDefaultHandler. .PP .SS "Public Members" .in +1c @@ -31,9 +31,9 @@ Inherited by QXmlDefaultHandler. .br .in -1c .SH DESCRIPTION -The QXmlDeclHandler class provides an interface to report declaration content of XML data. +The TQXmlDeclHandler class provides an interface to report declaration content of XML data. .PP -You can set the declaration handler with QXmlReader::setDeclHandler(). +You can set the declaration handler with TQXmlReader::setDeclHandler(). .PP This interface is based on the SAX2 extension DeclHandler. .PP @@ -41,23 +41,23 @@ The interface provides attributeDecl(), internalEntityDecl() and externalEntityD .PP See also the Introduction to SAX2. .PP -See also QXmlDTDHandler, QXmlContentHandler, QXmlEntityResolver, QXmlErrorHandler, QXmlLexicalHandler, and XML. +See also TQXmlDTDHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "bool QXmlDeclHandler::attributeDecl ( const TQString & eName, const TQString & aName, const TQString & type, const TQString & valueDefault, const TQString & value )\fC [pure virtual]\fR" +.SH "bool TQXmlDeclHandler::attributeDecl ( const TQString & eName, const TQString & aName, const TQString & type, const TQString & valueDefault, const TQString & value )\fC [pure virtual]\fR" The reader calls this function to report an attribute type declaration. Only the effective (first) declaration for an attribute is reported. .PP The reader passes the name of the associated element in \fIeName\fR and the name of the attribute in \fIaName\fR. It passes a string that represents the attribute type in \fItype\fR and a string that represents the attribute default in \fIvalueDefault\fR. This string is one of "#IMPLIED", "#REQUIRED", "#FIXED" or TQString::null (if none of the others applies). The reader passes the attribute's default value in \fIvalue\fR. If no default value is specified in the XML file, \fIvalue\fR is TQString::null. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. -.SH "TQString QXmlDeclHandler::errorString ()\fC [pure virtual]\fR" +.SH "TQString TQXmlDeclHandler::errorString ()\fC [pure virtual]\fR" The reader calls this function to get an error string if any of the handler functions returns FALSE. -.SH "bool QXmlDeclHandler::externalEntityDecl ( const TQString & name, const TQString & publicId, const TQString & systemId )\fC [pure virtual]\fR" +.SH "bool TQXmlDeclHandler::externalEntityDecl ( const TQString & name, const TQString & publicId, const TQString & systemId )\fC [pure virtual]\fR" The reader calls this function to report a parsed external entity declaration. Only the effective (first) declaration for each entity is reported. .PP The reader passes the name of the entity in \fIname\fR, the public identifier in \fIpublicId\fR and the system identifier in \fIsystemId\fR. If there is no public identifier specified, it passes TQString::null in \fIpublicId\fR. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. -.SH "bool QXmlDeclHandler::internalEntityDecl ( const TQString & name, const TQString & value )\fC [pure virtual]\fR" +.SH "bool TQXmlDeclHandler::internalEntityDecl ( const TQString & name, const TQString & value )\fC [pure virtual]\fR" The reader calls this function to report an internal entity declaration. Only the effective (first) declaration is reported. .PP The reader passes the name of the entity in \fIname\fR and the value of the entity in \fIvalue\fR. @@ -67,7 +67,7 @@ reports an error. The reader uses the function errorString() to get the error message. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmldeclhandler.html +.BR http://doc.trolltech.com/tqxmldeclhandler.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmldefaulthandler.3qt b/doc/man/man3/tqxmldefaulthandler.3qt index 621cf85ba..7252f91d8 100644 --- a/doc/man/man3/tqxmldefaulthandler.3qt +++ b/doc/man/man3/tqxmldefaulthandler.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlDefaultHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlDefaultHandler 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,39 +7,39 @@ .ad l .nh .SH NAME -QXmlDefaultHandler \- Default implementation of all the XML handler classes +TQXmlDefaultHandler \- Default implementation of all the XML handler classes .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqxml.h>\fR +\fC#include <tqxml.h>\fR .PP -Inherits QXmlContentHandler, QXmlErrorHandler, QXmlDTDHandler, QXmlEntityResolver, QXmlLexicalHandler, and QXmlDeclHandler. +Inherits TQXmlContentHandler, TQXmlErrorHandler, TQXmlDTDHandler, TQXmlEntityResolver, TQXmlLexicalHandler, and TQXmlDeclHandler. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQXmlDefaultHandler\fR ()" +.BI "\fBTQXmlDefaultHandler\fR ()" .br .ti -1c -.BI "virtual \fB~QXmlDefaultHandler\fR ()" +.BI "virtual \fB~TQXmlDefaultHandler\fR ()" .br .in -1c .SH DESCRIPTION -The QXmlDefaultHandler class provides a default implementation of all the XML handler classes. +The TQXmlDefaultHandler class provides a default implementation of all the XML handler classes. .PP Very often we are only interested in parts of the things that the reader reports. This class implements a default behaviour for the handler classes (i.e. most of the time do nothing). Usually this is the class you subclass for implementing your own customized handler. .PP See also the Introduction to SAX2. .PP -See also QXmlDTDHandler, QXmlDeclHandler, QXmlContentHandler, QXmlEntityResolver, QXmlErrorHandler, QXmlLexicalHandler, and XML. +See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlDefaultHandler::QXmlDefaultHandler ()" +.SH "TQXmlDefaultHandler::TQXmlDefaultHandler ()" Constructor. -.SH "QXmlDefaultHandler::~QXmlDefaultHandler ()\fC [virtual]\fR" +.SH "TQXmlDefaultHandler::~TQXmlDefaultHandler ()\fC [virtual]\fR" Destructor. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmldefaulthandler.html +.BR http://doc.trolltech.com/tqxmldefaulthandler.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmldtdhandler.3qt b/doc/man/man3/tqxmldtdhandler.3qt index b4401ba18..97c2c34de 100644 --- a/doc/man/man3/tqxmldtdhandler.3qt +++ b/doc/man/man3/tqxmldtdhandler.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlDTDHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlDTDHandler 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,13 +7,13 @@ .ad l .nh .SH NAME -QXmlDTDHandler \- Interface to report DTD content of XML data +TQXmlDTDHandler \- Interface to report DTD content of XML data .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqxml.h>\fR +\fC#include <tqxml.h>\fR .PP -Inherited by QXmlDefaultHandler. +Inherited by TQXmlDefaultHandler. .PP .SS "Public Members" .in +1c @@ -28,25 +28,25 @@ Inherited by QXmlDefaultHandler. .br .in -1c .SH DESCRIPTION -The QXmlDTDHandler class provides an interface to report DTD content of XML data. +The TQXmlDTDHandler class provides an interface to report DTD content of XML data. .PP -If an application needs information about notations and unparsed entities, it can implement this interface and register an instance with QXmlReader::setDTDHandler(). +If an application needs information about notations and unparsed entities, it can implement this interface and register an instance with TQXmlReader::setDTDHandler(). .PP Note that this interface includes only those DTD events that the XML recommendation requires processors to report, i.e. notation and unparsed entity declarations using notationDecl() and unparsedEntityDecl() respectively. .PP See also the Introduction to SAX2. .PP -See also QXmlDeclHandler, QXmlContentHandler, QXmlEntityResolver, QXmlErrorHandler, QXmlLexicalHandler, and XML. +See also TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "TQString QXmlDTDHandler::errorString ()\fC [pure virtual]\fR" +.SH "TQString TQXmlDTDHandler::errorString ()\fC [pure virtual]\fR" The reader calls this function to get an error string if any of the handler functions returns FALSE. -.SH "bool QXmlDTDHandler::notationDecl ( const TQString & name, const TQString & publicId, const TQString & systemId )\fC [pure virtual]\fR" +.SH "bool TQXmlDTDHandler::notationDecl ( const TQString & name, const TQString & publicId, const TQString & systemId )\fC [pure virtual]\fR" The reader calls this function when it has parsed a notation declaration. .PP The argument \fIname\fR is the notation name, \fIpublicId\fR is the notation's public identifier and \fIsystemId\fR is the notation's system identifier. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. -.SH "bool QXmlDTDHandler::unparsedEntityDecl ( const TQString & name, const TQString & publicId, const TQString & systemId, const TQString & notationName )\fC [pure virtual]\fR" +.SH "bool TQXmlDTDHandler::unparsedEntityDecl ( const TQString & name, const TQString & publicId, const TQString & systemId, const TQString & notationName )\fC [pure virtual]\fR" The reader calls this function when it finds an unparsed entity declaration. .PP The argument \fIname\fR is the unparsed entity's name, \fIpublicId\fR is the entity's public identifier, \fIsystemId\fR is the entity's system identifier and \fInotationName\fR is the name of the associated notation. @@ -56,7 +56,7 @@ reports an error. The reader uses the function errorString() to get the error message. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmldtdhandler.html +.BR http://doc.trolltech.com/tqxmldtdhandler.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmlentityresolver.3qt b/doc/man/man3/tqxmlentityresolver.3qt index d44cb2dc9..6143f0762 100644 --- a/doc/man/man3/tqxmlentityresolver.3qt +++ b/doc/man/man3/tqxmlentityresolver.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlEntityResolver 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlEntityResolver 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,35 +7,35 @@ .ad l .nh .SH NAME -QXmlEntityResolver \- Interface to resolve external entities contained in XML data +TQXmlEntityResolver \- Interface to resolve external entities contained in XML data .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqxml.h>\fR +\fC#include <tqxml.h>\fR .PP -Inherited by QXmlDefaultHandler. +Inherited by TQXmlDefaultHandler. .PP .SS "Public Members" .in +1c .ti -1c -.BI "virtual bool \fBresolveEntity\fR ( const TQString & publicId, const TQString & systemId, QXmlInputSource *& ret ) = 0" +.BI "virtual bool \fBresolveEntity\fR ( const TQString & publicId, const TQString & systemId, TQXmlInputSource *& ret ) = 0" .br .ti -1c .BI "virtual TQString \fBerrorString\fR () = 0" .br .in -1c .SH DESCRIPTION -The QXmlEntityResolver class provides an interface to resolve external entities contained in XML data. +The TQXmlEntityResolver class provides an interface to resolve external entities contained in XML data. .PP -If an application needs to implement customized handling for external entities, it must implement this interface, i.e. resolveEntity(), and register it with QXmlReader::setEntityResolver(). +If an application needs to implement customized handling for external entities, it must implement this interface, i.e. resolveEntity(), and register it with TQXmlReader::setEntityResolver(). .PP See also the Introduction to SAX2. .PP -See also QXmlDTDHandler, QXmlDeclHandler, QXmlContentHandler, QXmlErrorHandler, QXmlLexicalHandler, and XML. +See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlErrorHandler, TQXmlLexicalHandler, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "TQString QXmlEntityResolver::errorString ()\fC [pure virtual]\fR" +.SH "TQString TQXmlEntityResolver::errorString ()\fC [pure virtual]\fR" The reader calls this function to get an error string if any of the handler functions returns FALSE. -.SH "bool QXmlEntityResolver::resolveEntity ( const TQString & publicId, const TQString & systemId, QXmlInputSource *& ret )\fC [pure virtual]\fR" +.SH "bool TQXmlEntityResolver::resolveEntity ( const TQString & publicId, const TQString & systemId, TQXmlInputSource *& ret )\fC [pure virtual]\fR" The reader calls this function before it opens any external entity, except the top-level document entity. The application may request the reader to resolve the entity itself (\fIret\fR is 0) or to use an entirely different input source (\fIret\fR points to the input source). .PP The reader deletes the input source \fIret\fR when it no longer needs it, so you should allocate it on the heap with \fCnew\fR. @@ -47,7 +47,7 @@ reports an error. The reader uses the function errorString() to get the error message. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlentityresolver.html +.BR http://doc.trolltech.com/tqxmlentityresolver.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmlerrorhandler.3qt b/doc/man/man3/tqxmlerrorhandler.3qt index a928ba9f6..15f4cc73d 100644 --- a/doc/man/man3/tqxmlerrorhandler.3qt +++ b/doc/man/man3/tqxmlerrorhandler.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlErrorHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlErrorHandler 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,55 +7,55 @@ .ad l .nh .SH NAME -QXmlErrorHandler \- Interface to report errors in XML data +TQXmlErrorHandler \- Interface to report errors in XML data .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqxml.h>\fR +\fC#include <tqxml.h>\fR .PP -Inherited by QXmlDefaultHandler. +Inherited by TQXmlDefaultHandler. .PP .SS "Public Members" .in +1c .ti -1c -.BI "virtual bool \fBwarning\fR ( const QXmlParseException & exception ) = 0" +.BI "virtual bool \fBwarning\fR ( const TQXmlParseException & exception ) = 0" .br .ti -1c -.BI "virtual bool \fBerror\fR ( const QXmlParseException & exception ) = 0" +.BI "virtual bool \fBerror\fR ( const TQXmlParseException & exception ) = 0" .br .ti -1c -.BI "virtual bool \fBfatalError\fR ( const QXmlParseException & exception ) = 0" +.BI "virtual bool \fBfatalError\fR ( const TQXmlParseException & exception ) = 0" .br .ti -1c .BI "virtual TQString \fBerrorString\fR () = 0" .br .in -1c .SH DESCRIPTION -The QXmlErrorHandler class provides an interface to report errors in XML data. +The TQXmlErrorHandler class provides an interface to report errors in XML data. .PP If you want your application to report errors to the user or to perform customized error handling, you should subclass this class. .PP -You can set the error handler with QXmlReader::setErrorHandler(). +You can set the error handler with TQXmlReader::setErrorHandler(). .PP Errors can be reported using warning(), error() and fatalError(), with the error text being reported with errorString(). .PP See also the Introduction to SAX2. .PP -See also QXmlDTDHandler, QXmlDeclHandler, QXmlContentHandler, QXmlEntityResolver, QXmlLexicalHandler, and XML. +See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlLexicalHandler, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "bool QXmlErrorHandler::error ( const QXmlParseException & exception )\fC [pure virtual]\fR" +.SH "bool TQXmlErrorHandler::error ( const TQXmlParseException & exception )\fC [pure virtual]\fR" A reader might use this function to report a recoverable error. A recoverable error corresponds to the definiton of "error" in section 1.2 of the XML 1.0 specification. Details of the error are stored in \fIexception\fR. .PP The reader must continue to provide normal parsing events after invoking this function. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. -.SH "TQString QXmlErrorHandler::errorString ()\fC [pure virtual]\fR" +.SH "TQString TQXmlErrorHandler::errorString ()\fC [pure virtual]\fR" The reader calls this function to get an error string if any of the handler functions returns FALSE. -.SH "bool QXmlErrorHandler::fatalError ( const QXmlParseException & exception )\fC [pure virtual]\fR" +.SH "bool TQXmlErrorHandler::fatalError ( const TQXmlParseException & exception )\fC [pure virtual]\fR" A reader must use this function to report a non-recoverable error. Details of the error are stored in \fIexception\fR. .PP If this function returns TRUE the reader might try to go on parsing and reporting further errors; but no regular parsing events are reported. -.SH "bool QXmlErrorHandler::warning ( const QXmlParseException & exception )\fC [pure virtual]\fR" +.SH "bool TQXmlErrorHandler::warning ( const TQXmlParseException & exception )\fC [pure virtual]\fR" A reader might use this function to report a warning. Warnings are conditions that are not errors or fatal errors as defined by the XML 1.0 specification. Details of the warning are stored in \fIexception\fR. .PP If this function returns FALSE the reader stops parsing and @@ -63,7 +63,7 @@ reports an error. The reader uses the function errorString() to get the error message. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlerrorhandler.html +.BR http://doc.trolltech.com/tqxmlerrorhandler.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmlinputsource.3qt b/doc/man/man3/tqxmlinputsource.3qt index bdfc2d890..5801fb582 100644 --- a/doc/man/man3/tqxmlinputsource.3qt +++ b/doc/man/man3/tqxmlinputsource.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlInputSource 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlInputSource 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,28 +7,28 @@ .ad l .nh .SH NAME -QXmlInputSource \- The input data for the QXmlReader subclasses +TQXmlInputSource \- The input data for the TQXmlReader subclasses .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqxml.h>\fR +\fC#include <tqxml.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQXmlInputSource\fR ()" +.BI "\fBTQXmlInputSource\fR ()" .br .ti -1c -.BI "\fBQXmlInputSource\fR ( TQIODevice * dev )" +.BI "\fBTQXmlInputSource\fR ( TQIODevice * dev )" .br .ti -1c -.BI "QXmlInputSource ( QFile & file ) \fI(obsolete)\fR" +.BI "TQXmlInputSource ( QFile & file ) \fI(obsolete)\fR" .br .ti -1c -.BI "QXmlInputSource ( QTextStream & stream ) \fI(obsolete)\fR" +.BI "TQXmlInputSource ( QTextStream & stream ) \fI(obsolete)\fR" .br .ti -1c -.BI "virtual \fB~QXmlInputSource\fR ()" +.BI "virtual \fB~TQXmlInputSource\fR ()" .br .ti -1c .BI "virtual void \fBsetData\fR ( const TQString & dat )" @@ -56,45 +56,45 @@ All the functions in this class are reentrant when TQt is built with thread supp .br .in -1c .SH DESCRIPTION -The QXmlInputSource class provides the input data for the QXmlReader subclasses. +The TQXmlInputSource class provides the input data for the TQXmlReader subclasses. .PP -All subclasses of QXmlReader read the input XML document from this class. +All subclasses of TQXmlReader read the input XML document from this class. .PP This class recognizes the encoding of the data by reading the encoding declaration in the XML file if it finds one, and reading the data using the corresponding encoding. If it does not find an encoding declaration, then it assumes that the data is either in UTF-8 or UTF-16, depending on whether it can find a byte-order mark. .PP There are two ways to populate the input source with data: you can construct it with a TQIODevice* so that the input source reads the data from that device. Or you can set the data explicitly with one of the setData() functions. .PP -Usually you either construct a QXmlInputSource that works on a TQIODevice* or you construct an empty QXmlInputSource and set the data with setData(). There are only rare occasions where you would want to mix both methods. +Usually you either construct a TQXmlInputSource that works on a TQIODevice* or you construct an empty TQXmlInputSource and set the data with setData(). There are only rare occasions where you would want to mix both methods. .PP -The QXmlReader subclasses use the next() function to read the input character by character. If you want to start from the beginning again, use reset(). +The TQXmlReader subclasses use the next() function to read the input character by character. If you want to start from the beginning again, use reset(). .PP -The functions data() and fetchData() are useful if you want to do something with the data other than parsing, e.g. displaying the raw XML file. The benefit of using the QXmlInputClass in such cases is that it tries to use the correct encoding. +The functions data() and fetchData() are useful if you want to do something with the data other than parsing, e.g. displaying the raw XML file. The benefit of using the TQXmlInputClass in such cases is that it tries to use the correct encoding. .PP -See also QXmlReader, QXmlSimpleReader, and XML. +See also TQXmlReader, TQXmlSimpleReader, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlInputSource::QXmlInputSource ()" +.SH "TQXmlInputSource::TQXmlInputSource ()" Constructs an input source which contains no data. .PP See also setData(). -.SH "QXmlInputSource::QXmlInputSource ( TQIODevice * dev )" +.SH "TQXmlInputSource::TQXmlInputSource ( TQIODevice * dev )" Constructs an input source and gets the data from device \fIdev\fR. If \fIdev\fR is not open, it is opened in read-only mode. If \fIdev\fR is 0 or it is not possible to read from the device, the input source will contain no data. .PP See also setData(), fetchData(), and TQIODevice. -.SH "QXmlInputSource::QXmlInputSource ( QFile & file )" +.SH "TQXmlInputSource::TQXmlInputSource ( QFile & file )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Constructs an input source and gets the data from the file \fIfile\fR. If the file cannot be read the input source is empty. -.SH "QXmlInputSource::QXmlInputSource ( QTextStream & stream )" +.SH "TQXmlInputSource::TQXmlInputSource ( QTextStream & stream )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Constructs an input source and gets the data from the text stream \fIstream\fR. -.SH "QXmlInputSource::~QXmlInputSource ()\fC [virtual]\fR" +.SH "TQXmlInputSource::~TQXmlInputSource ()\fC [virtual]\fR" Destructor. -.SH "TQString QXmlInputSource::data ()\fC [virtual]\fR" +.SH "TQString TQXmlInputSource::data ()\fC [virtual]\fR" Returns the data the input source contains or TQString::null if the input source does not contain any data. .PP -See also setData(), QXmlInputSource(), and fetchData(). -.SH "void QXmlInputSource::fetchData ()\fC [virtual]\fR" +See also setData(), TQXmlInputSource(), and fetchData(). +.SH "void TQXmlInputSource::fetchData ()\fC [virtual]\fR" This function reads more data from the device that was set during construction. If the input source already contained data, this function deletes that data first. .PP This object contains no data after a call to this function if the object was constructed without a device to read data from or if this function was not able to get more data from the device. @@ -103,35 +103,35 @@ There are two occasions where a fetch is done implicitly by another function cal .PP You don't normally need to use this function if you use next(). .PP -See also data(), next(), and QXmlInputSource(). -.SH "TQString QXmlInputSource::fromRawData ( const QByteArray & data, bool beginning = FALSE )\fC [virtual protected]\fR" +See also data(), next(), and TQXmlInputSource(). +.SH "TQString TQXmlInputSource::fromRawData ( const QByteArray & data, bool beginning = FALSE )\fC [virtual protected]\fR" This function reads the XML file from \fIdata\fR and tries to recognize the encoding. It converts the raw data \fIdata\fR into a TQString and returns it. It tries its best to get the correct encoding for the XML file. .PP If \fIbeginning\fR is TRUE, this function assumes that the data starts at the beginning of a new XML document and looks for an encoding declaration. If \fIbeginning\fR is FALSE, it converts the raw data using the encoding determined from prior calls. -.SH "TQChar QXmlInputSource::next ()\fC [virtual]\fR" -Returns the next character of the input source. If this function reaches the end of available data, it returns QXmlInputSource::EndOfData. If you call next() after that, it tries to fetch more data by calling fetchData(). If the fetchData() call results in new data, this function returns the first character of that data; otherwise it returns QXmlInputSource::EndOfDocument. +.SH "TQChar TQXmlInputSource::next ()\fC [virtual]\fR" +Returns the next character of the input source. If this function reaches the end of available data, it returns TQXmlInputSource::EndOfData. If you call next() after that, it tries to fetch more data by calling fetchData(). If the fetchData() call results in new data, this function returns the first character of that data; otherwise it returns TQXmlInputSource::EndOfDocument. .PP -See also reset(), fetchData(), QXmlSimpleReader::parse(), and QXmlSimpleReader::parseContinue(). -.SH "void QXmlInputSource::reset ()\fC [virtual]\fR" +See also reset(), fetchData(), TQXmlSimpleReader::parse(), and TQXmlSimpleReader::parseContinue(). +.SH "void TQXmlInputSource::reset ()\fC [virtual]\fR" This function sets the position used by next() to the beginning of the data returned by data(). This is useful if you want to use the input source for more than one parse. .PP See also next(). .PP Example: xml/tagreader-with-features/tagreader.cpp. -.SH "void QXmlInputSource::setData ( const TQString & dat )\fC [virtual]\fR" +.SH "void TQXmlInputSource::setData ( const TQString & dat )\fC [virtual]\fR" Sets the data of the input source to \fIdat\fR. .PP If the input source already contains data, this function deletes that data first. .PP See also data(). -.SH "void QXmlInputSource::setData ( const QByteArray & dat )\fC [virtual]\fR" +.SH "void TQXmlInputSource::setData ( const QByteArray & dat )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP The data \fIdat\fR is passed through the correct text-codec, before it is set. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlinputsource.html +.BR http://doc.trolltech.com/tqxmlinputsource.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmllexicalhandler.3qt b/doc/man/man3/tqxmllexicalhandler.3qt index 7b9b5712a..888126ff6 100644 --- a/doc/man/man3/tqxmllexicalhandler.3qt +++ b/doc/man/man3/tqxmllexicalhandler.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlLexicalHandler 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlLexicalHandler 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,13 +7,13 @@ .ad l .nh .SH NAME -QXmlLexicalHandler \- Interface to report the lexical content of XML data +TQXmlLexicalHandler \- Interface to report the lexical content of XML data .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqxml.h>\fR +\fC#include <tqxml.h>\fR .PP -Inherited by QXmlDefaultHandler. +Inherited by TQXmlDefaultHandler. .PP .SS "Public Members" .in +1c @@ -43,11 +43,11 @@ Inherited by QXmlDefaultHandler. .br .in -1c .SH DESCRIPTION -The QXmlLexicalHandler class provides an interface to report the lexical content of XML data. +The TQXmlLexicalHandler class provides an interface to report the lexical content of XML data. .PP The events in the lexical handler apply to the entire document, not just to the document element, and all lexical handler events appear between the content handler's startDocument and endDocument events. .PP -You can set the lexical handler with QXmlReader::setLexicalHandler(). +You can set the lexical handler with TQXmlReader::setLexicalHandler(). .PP This interface's design is based on the the SAX2 extension LexicalHandler. .PP @@ -55,61 +55,61 @@ The interface provides the startDTD(), endDTD(), startEntity(), endEntity(), sta .PP See also the Introduction to SAX2. .PP -See also QXmlDTDHandler, QXmlDeclHandler, QXmlContentHandler, QXmlEntityResolver, QXmlErrorHandler, and XML. +See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "bool QXmlLexicalHandler::comment ( const TQString & ch )\fC [pure virtual]\fR" +.SH "bool TQXmlLexicalHandler::comment ( const TQString & ch )\fC [pure virtual]\fR" The reader calls this function to report an XML comment anywhere in the document. It reports the text of the comment in \fIch\fR. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. -.SH "bool QXmlLexicalHandler::endCDATA ()\fC [pure virtual]\fR" +.SH "bool TQXmlLexicalHandler::endCDATA ()\fC [pure virtual]\fR" The reader calls this function to report the end of a CDATA section. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. .PP -See also startCDATA() and QXmlContentHandler::characters(). -.SH "bool QXmlLexicalHandler::endDTD ()\fC [pure virtual]\fR" +See also startCDATA() and TQXmlContentHandler::characters(). +.SH "bool TQXmlLexicalHandler::endDTD ()\fC [pure virtual]\fR" The reader calls this function to report the end of a DTD declaration, if any. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. .PP See also startDTD(). -.SH "bool QXmlLexicalHandler::endEntity ( const TQString & name )\fC [pure virtual]\fR" +.SH "bool TQXmlLexicalHandler::endEntity ( const TQString & name )\fC [pure virtual]\fR" The reader calls this function to report the end of an entity called \fIname\fR. .PP For every startEntity() call, there is a corresponding endEntity() call. The calls to startEntity() and endEntity() are properly nested. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. .PP -See also startEntity(), QXmlContentHandler::skippedEntity(), and QXmlSimpleReader::setFeature(). -.SH "TQString QXmlLexicalHandler::errorString ()\fC [pure virtual]\fR" +See also startEntity(), TQXmlContentHandler::skippedEntity(), and TQXmlSimpleReader::setFeature(). +.SH "TQString TQXmlLexicalHandler::errorString ()\fC [pure virtual]\fR" The reader calls this function to get an error string if any of the handler functions returns FALSE. -.SH "bool QXmlLexicalHandler::startCDATA ()\fC [pure virtual]\fR" -The reader calls this function to report the start of a CDATA section. The content of the CDATA section is reported through the QXmlContentHandler::characters() function. This function is intended only to report the boundary. +.SH "bool TQXmlLexicalHandler::startCDATA ()\fC [pure virtual]\fR" +The reader calls this function to report the start of a CDATA section. The content of the CDATA section is reported through the TQXmlContentHandler::characters() function. This function is intended only to report the boundary. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. .PP See also endCDATA(). -.SH "bool QXmlLexicalHandler::startDTD ( const TQString & name, const TQString & publicId, const TQString & systemId )\fC [pure virtual]\fR" +.SH "bool TQXmlLexicalHandler::startDTD ( const TQString & name, const TQString & publicId, const TQString & systemId )\fC [pure virtual]\fR" The reader calls this function to report the start of a DTD declaration, if any. It reports the name of the document type in \fIname\fR, the public identifier in \fIpublicId\fR and the system identifier in \fIsystemId\fR. .PP If the public identifier is missing, \fIpublicId\fR is set to TQString::null. If the system identifier is missing, \fIsystemId\fR is set to TQString::null. Note that it is not valid XML to have a public identifier but no system identifier; in such cases a parse error will occur. .PP -All declarations reported through QXmlDTDHandler or QXmlDeclHandler appear between the startDTD() and endDTD() calls. +All declarations reported through TQXmlDTDHandler or TQXmlDeclHandler appear between the startDTD() and endDTD() calls. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. .PP See also endDTD(). -.SH "bool QXmlLexicalHandler::startEntity ( const TQString & name )\fC [pure virtual]\fR" +.SH "bool TQXmlLexicalHandler::startEntity ( const TQString & name )\fC [pure virtual]\fR" The reader calls this function to report the start of an entity called \fIname\fR. .PP -Note that if the entity is unknown, the reader reports it through QXmlContentHandler::skippedEntity() and not through this function. +Note that if the entity is unknown, the reader reports it through TQXmlContentHandler::skippedEntity() and not through this function. .PP If this function returns FALSE the reader stops parsing and reports an error. The reader uses the function errorString() to get the error message. .PP -See also endEntity() and QXmlSimpleReader::setFeature(). +See also endEntity() and TQXmlSimpleReader::setFeature(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmllexicalhandler.html +.BR http://doc.trolltech.com/tqxmllexicalhandler.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmllocator.3qt b/doc/man/man3/tqxmllocator.3qt index fa3302691..53083deba 100644 --- a/doc/man/man3/tqxmllocator.3qt +++ b/doc/man/man3/tqxmllocator.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlLocator 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlLocator 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,19 +7,19 @@ .ad l .nh .SH NAME -QXmlLocator \- The XML handler classes with information about the parsing position within a file +TQXmlLocator \- The XML handler classes with information about the parsing position within a file .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqxml.h>\fR +\fC#include <tqxml.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQXmlLocator\fR ()" +.BI "\fBTQXmlLocator\fR ()" .br .ti -1c -.BI "virtual \fB~QXmlLocator\fR ()" +.BI "virtual \fB~TQXmlLocator\fR ()" .br .ti -1c .BI "virtual int \fBcolumnNumber\fR () = 0" @@ -29,24 +29,24 @@ All the functions in this class are reentrant when TQt is built with thread supp .br .in -1c .SH DESCRIPTION -The QXmlLocator class provides the XML handler classes with information about the parsing position within a file. +The TQXmlLocator class provides the XML handler classes with information about the parsing position within a file. .PP -The reader reports a QXmlLocator to the content handler before it starts to parse the document. This is done with the QXmlContentHandler::setDocumentLocator() function. The handler classes can now use this locator to get the position (lineNumber() and columnNumber()) that the reader has reached. +The reader reports a TQXmlLocator to the content handler before it starts to parse the document. This is done with the TQXmlContentHandler::setDocumentLocator() function. The handler classes can now use this locator to get the position (lineNumber() and columnNumber()) that the reader has reached. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlLocator::QXmlLocator ()" +.SH "TQXmlLocator::TQXmlLocator ()" Constructor. -.SH "QXmlLocator::~QXmlLocator ()\fC [virtual]\fR" +.SH "TQXmlLocator::~TQXmlLocator ()\fC [virtual]\fR" Destructor. -.SH "int QXmlLocator::columnNumber ()\fC [pure virtual]\fR" +.SH "int TQXmlLocator::columnNumber ()\fC [pure virtual]\fR" Returns the column number (starting at 1) or -1 if there is no column number available. -.SH "int QXmlLocator::lineNumber ()\fC [pure virtual]\fR" +.SH "int TQXmlLocator::lineNumber ()\fC [pure virtual]\fR" Returns the line number (starting at 1) or -1 if there is no line number available. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmllocator.html +.BR http://doc.trolltech.com/tqxmllocator.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmlnamespacesupport.3qt b/doc/man/man3/tqxmlnamespacesupport.3qt index 30e1a584e..b324ec291 100644 --- a/doc/man/man3/tqxmlnamespacesupport.3qt +++ b/doc/man/man3/tqxmlnamespacesupport.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlNamespaceSupport 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlNamespaceSupport 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,19 +7,19 @@ .ad l .nh .SH NAME -QXmlNamespaceSupport \- Helper class for XML readers which want to include namespace support +TQXmlNamespaceSupport \- Helper class for XML readers which want to include namespace support .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqxml.h>\fR +\fC#include <tqxml.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQXmlNamespaceSupport\fR ()" +.BI "\fBTQXmlNamespaceSupport\fR ()" .br .ti -1c -.BI "\fB~QXmlNamespaceSupport\fR ()" +.BI "\fB~TQXmlNamespaceSupport\fR ()" .br .ti -1c .BI "void \fBsetPrefix\fR ( const TQString & pre, const TQString & uri )" @@ -53,7 +53,7 @@ All the functions in this class are reentrant when TQt is built with thread supp .br .in -1c .SH DESCRIPTION -The QXmlNamespaceSupport class is a helper class for XML readers which want to include namespace support. +The TQXmlNamespaceSupport class is a helper class for XML readers which want to include namespace support. .PP You can set the prefix for the current namespace with setPrefix(), and get the list of current prefixes (or those for a given URI) with prefixes(). The namespace URI is available from uri(). Use pushContext() to start a new namespace context, and popContext() to return to the previous namespace context. Use splitName() or processName() to split a name into its prefix and local name. .PP @@ -61,23 +61,23 @@ See also the namespace description. .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlNamespaceSupport::QXmlNamespaceSupport ()" -Constructs a QXmlNamespaceSupport. -.SH "QXmlNamespaceSupport::~QXmlNamespaceSupport ()" -Destroys a QXmlNamespaceSupport. -.SH "void QXmlNamespaceSupport::popContext ()" +.SH "TQXmlNamespaceSupport::TQXmlNamespaceSupport ()" +Constructs a TQXmlNamespaceSupport. +.SH "TQXmlNamespaceSupport::~TQXmlNamespaceSupport ()" +Destroys a TQXmlNamespaceSupport. +.SH "void TQXmlNamespaceSupport::popContext ()" Reverts to the previous namespace context. .PP Normally, you should pop the context at the end of each XML element. After popping the context, all namespace prefix mappings that were previously in force are restored. .PP See also pushContext(). -.SH "TQString QXmlNamespaceSupport::prefix ( const TQString & uri ) const" +.SH "TQString TQXmlNamespaceSupport::prefix ( const TQString & uri ) const" Returns one of the prefixes mapped to the namespace URI \fIuri\fR. .PP If more than one prefix is currently mapped to the same URI, this function makes an arbitrary selection; if you want all of the prefixes, use prefixes() instead. .PP Note: to check for a default prefix, use the uri() function with an argument of "". -.SH "QStringList QXmlNamespaceSupport::prefixes () const" +.SH "QStringList TQXmlNamespaceSupport::prefixes () const" Returns a list of all the prefixes currently declared. .PP If there is a default prefix, this function does not return it in the list; check for the default prefix using uri() with an argument of "". @@ -99,7 +99,7 @@ Note that if you want to iterate over the list, you should iterate over a copy, } .br .fi -.SH "QStringList QXmlNamespaceSupport::prefixes ( const TQString & uri ) const" +.SH "QStringList TQXmlNamespaceSupport::prefixes ( const TQString & uri ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a list of all prefixes currently declared for the namespace URI \fIuri\fR. @@ -125,7 +125,7 @@ Note that if you want to iterate over the list, you should iterate over a copy, } .br .fi -.SH "void QXmlNamespaceSupport::processName ( const TQString & qname, bool isAttribute, TQString & nsuri, TQString & localname ) const" +.SH "void TQXmlNamespaceSupport::processName ( const TQString & qname, bool isAttribute, TQString & nsuri, TQString & localname ) const" Processes a raw XML 1.0 name in the current context by removing the prefix and looking it up among the prefixes currently declared. .PP \fIqname\fR is the raw XML 1.0 name to be processed. \fIisAttribute\fR is TRUE if the name is an attribute name. @@ -133,29 +133,29 @@ Processes a raw XML 1.0 name in the current context by removing the prefix and l This function stores the namespace URI in \fInsuri\fR (which will be set to TQString::null if the raw name has an undeclared prefix), and stores the local name (without prefix) in \fIlocalname\fR (which will be set to TQString::null if no namespace is in use). .PP Note that attribute names are processed differently than element names: an unprefixed element name gets the default namespace (if any), while an unprefixed element name does not. -.SH "void QXmlNamespaceSupport::pushContext ()" +.SH "void TQXmlNamespaceSupport::pushContext ()" Starts a new namespace context. .PP Normally, you should push a new context at the beginning of each XML element: the new context automatically inherits the declarations of its parent context, and it also keeps track of which declarations were made within this context. .PP See also popContext(). -.SH "void QXmlNamespaceSupport::reset ()" +.SH "void TQXmlNamespaceSupport::reset ()" Resets this namespace support object ready for reuse. -.SH "void QXmlNamespaceSupport::setPrefix ( const TQString & pre, const TQString & uri )" +.SH "void TQXmlNamespaceSupport::setPrefix ( const TQString & pre, const TQString & uri )" This function declares a prefix \fIpre\fR in the current namespace context to be the namespace URI \fIuri\fR. The prefix remains in force until this context is popped, unless it is shadowed in a descendant context. .PP Note that there is an asymmetry in this library. prefix() does not return the default "" prefix, even if you have declared one; to check for a default prefix, you must look it up explicitly using uri(). This asymmetry exists to make it easier to look up prefixes for attribute names, where the default prefix is not allowed. -.SH "void QXmlNamespaceSupport::splitName ( const TQString & qname, TQString & prefix, TQString & localname ) const" +.SH "void TQXmlNamespaceSupport::splitName ( const TQString & qname, TQString & prefix, TQString & localname ) const" Splits the name \fIqname\fR at the ':' and returns the prefix in \fIprefix\fR and the local name in \fIlocalname\fR. .PP See also processName(). -.SH "TQString QXmlNamespaceSupport::uri ( const TQString & prefix ) const" +.SH "TQString TQXmlNamespaceSupport::uri ( const TQString & prefix ) const" Looks up the prefix \fIprefix\fR in the current context and returns the currently-mapped namespace URI. Use the empty string ("") for the default namespace. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlnamespacesupport.html +.BR http://doc.trolltech.com/tqxmlnamespacesupport.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmlparseexception.3qt b/doc/man/man3/tqxmlparseexception.3qt index fe150b236..5161f9fff 100644 --- a/doc/man/man3/tqxmlparseexception.3qt +++ b/doc/man/man3/tqxmlparseexception.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlParseException 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlParseException 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,16 +7,16 @@ .ad l .nh .SH NAME -QXmlParseException \- Used to report errors with the QXmlErrorHandler interface +TQXmlParseException \- Used to report errors with the TQXmlErrorHandler interface .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqxml.h>\fR +\fC#include <tqxml.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQXmlParseException\fR ( const TQString & name = """", int c = -1, int l = -1, const TQString & p = """", const TQString & s = """" )" +.BI "\fBTQXmlParseException\fR ( const TQString & name = """", int c = -1, int l = -1, const TQString & p = """", const TQString & s = """" )" .br .ti -1c .BI "int \fBcolumnNumber\fR () const" @@ -35,27 +35,27 @@ All the functions in this class are reentrant when TQt is built with thread supp .br .in -1c .SH DESCRIPTION -The QXmlParseException class is used to report errors with the QXmlErrorHandler interface. +The TQXmlParseException class is used to report errors with the TQXmlErrorHandler interface. .PP The XML subsystem constructs an instance of this class when it detects an error. You can retrieve the place where the error occurred using systemId(), publicId(), lineNumber() and columnNumber(), along with the error message(). .PP -See also QXmlErrorHandler, QXmlReader, and XML. +See also TQXmlErrorHandler, TQXmlReader, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlParseException::QXmlParseException ( const TQString & name = "", int c = -1, int l = -1, const TQString & p = "", const TQString & s = "" )" +.SH "TQXmlParseException::TQXmlParseException ( const TQString & name = "", int c = -1, int l = -1, const TQString & p = "", const TQString & s = "" )" Constructs a parse exception with the error string \fIname\fR for column \fIc\fR and line \fIl\fR for the public identifier \fIp\fR and the system identifier \fIs\fR. -.SH "int QXmlParseException::columnNumber () const" +.SH "int TQXmlParseException::columnNumber () const" Returns the column number where the error occurred. -.SH "int QXmlParseException::lineNumber () const" +.SH "int TQXmlParseException::lineNumber () const" Returns the line number where the error occurred. -.SH "TQString QXmlParseException::message () const" +.SH "TQString TQXmlParseException::message () const" Returns the error message. -.SH "TQString QXmlParseException::publicId () const" +.SH "TQString TQXmlParseException::publicId () const" Returns the public identifier where the error occurred. -.SH "TQString QXmlParseException::systemId () const" +.SH "TQString TQXmlParseException::systemId () const" Returns the system identifier where the error occurred. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlparseexception.html +.BR http://doc.trolltech.com/tqxmlparseexception.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmlreader.3qt b/doc/man/man3/tqxmlreader.3qt index 65aa90ff5..f9978f27e 100644 --- a/doc/man/man3/tqxmlreader.3qt +++ b/doc/man/man3/tqxmlreader.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlReader 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlReader 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,13 +7,13 @@ .ad l .nh .SH NAME -QXmlReader \- Interface for XML readers (i.e. parsers) +TQXmlReader \- Interface for XML readers (i.e. parsers) .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqxml.h>\fR +\fC#include <tqxml.h>\fR .PP -Inherited by QXmlSimpleReader. +Inherited by TQXmlSimpleReader. .PP .SS "Public Members" .in +1c @@ -36,152 +36,152 @@ Inherited by QXmlSimpleReader. .BI "virtual bool \fBhasProperty\fR ( const TQString & name ) const = 0" .br .ti -1c -.BI "virtual void \fBsetEntityResolver\fR ( QXmlEntityResolver * handler ) = 0" +.BI "virtual void \fBsetEntityResolver\fR ( TQXmlEntityResolver * handler ) = 0" .br .ti -1c -.BI "virtual QXmlEntityResolver * \fBentityResolver\fR () const = 0" +.BI "virtual TQXmlEntityResolver * \fBentityResolver\fR () const = 0" .br .ti -1c -.BI "virtual void \fBsetDTDHandler\fR ( QXmlDTDHandler * handler ) = 0" +.BI "virtual void \fBsetDTDHandler\fR ( TQXmlDTDHandler * handler ) = 0" .br .ti -1c -.BI "virtual QXmlDTDHandler * \fBDTDHandler\fR () const = 0" +.BI "virtual TQXmlDTDHandler * \fBDTDHandler\fR () const = 0" .br .ti -1c -.BI "virtual void \fBsetContentHandler\fR ( QXmlContentHandler * handler ) = 0" +.BI "virtual void \fBsetContentHandler\fR ( TQXmlContentHandler * handler ) = 0" .br .ti -1c -.BI "virtual QXmlContentHandler * \fBcontentHandler\fR () const = 0" +.BI "virtual TQXmlContentHandler * \fBcontentHandler\fR () const = 0" .br .ti -1c -.BI "virtual void \fBsetErrorHandler\fR ( QXmlErrorHandler * handler ) = 0" +.BI "virtual void \fBsetErrorHandler\fR ( TQXmlErrorHandler * handler ) = 0" .br .ti -1c -.BI "virtual QXmlErrorHandler * \fBerrorHandler\fR () const = 0" +.BI "virtual TQXmlErrorHandler * \fBerrorHandler\fR () const = 0" .br .ti -1c -.BI "virtual void \fBsetLexicalHandler\fR ( QXmlLexicalHandler * handler ) = 0" +.BI "virtual void \fBsetLexicalHandler\fR ( TQXmlLexicalHandler * handler ) = 0" .br .ti -1c -.BI "virtual QXmlLexicalHandler * \fBlexicalHandler\fR () const = 0" +.BI "virtual TQXmlLexicalHandler * \fBlexicalHandler\fR () const = 0" .br .ti -1c -.BI "virtual void \fBsetDeclHandler\fR ( QXmlDeclHandler * handler ) = 0" +.BI "virtual void \fBsetDeclHandler\fR ( TQXmlDeclHandler * handler ) = 0" .br .ti -1c -.BI "virtual QXmlDeclHandler * \fBdeclHandler\fR () const = 0" +.BI "virtual TQXmlDeclHandler * \fBdeclHandler\fR () const = 0" .br .ti -1c -.BI "virtual bool parse ( const QXmlInputSource & input ) = 0 \fI(obsolete)\fR" +.BI "virtual bool parse ( const TQXmlInputSource & input ) = 0 \fI(obsolete)\fR" .br .ti -1c -.BI "virtual bool \fBparse\fR ( const QXmlInputSource * input ) = 0" +.BI "virtual bool \fBparse\fR ( const TQXmlInputSource * input ) = 0" .br .in -1c .SH DESCRIPTION -The QXmlReader class provides an interface for XML readers (i.e. parsers). +The TQXmlReader class provides an interface for XML readers (i.e. parsers). .PP -This abstract class provides an interface for all of Qt's XML readers. Currently there is only one implementation of a reader included in Qt's XML module: QXmlSimpleReader. In future releases there might be more readers with different properties available (e.g. a validating parser). +This abstract class provides an interface for all of Qt's XML readers. Currently there is only one implementation of a reader included in Qt's XML module: TQXmlSimpleReader. In future releases there might be more readers with different properties available (e.g. a validating parser). .PP The design of the XML classes follows the SAX2 Java interface, with the names adapted to fit TQt naming conventions. It should be very easy for anybody who has worked with SAX2 to get started with the TQt XML classes. .PP -All readers use the class QXmlInputSource to read the input document. Since you are normally interested in particular content in the XML document, the reader reports the content through special handler classes (QXmlDTDHandler, QXmlDeclHandler, QXmlContentHandler, QXmlEntityResolver, QXmlErrorHandler and QXmlLexicalHandler), which you must subclass, if you want to process the contents. +All readers use the class TQXmlInputSource to read the input document. Since you are normally interested in particular content in the XML document, the reader reports the content through special handler classes (TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler and TQXmlLexicalHandler), which you must subclass, if you want to process the contents. .PP -Since the handler classes only describe interfaces you must implement all the functions. We provide the QXmlDefaultHandler class to make this easier: it implements a default behaviour (do nothing) for all functions, so you can subclass it and just implement the functions you are interested in. +Since the handler classes only describe interfaces you must implement all the functions. We provide the TQXmlDefaultHandler class to make this easier: it implements a default behaviour (do nothing) for all functions, so you can subclass it and just implement the functions you are interested in. .PP Features and properties of the reader can be set with setFeature() and setProperty() respectively. You can set the reader to use your own subclasses with setEntityResolver(), setDTDHandler(), setContentHandler(), setErrorHandler(), setLexicalHandler() and setDeclHandler(). The parse itself is started with a call to parse(). .PP -See also QXmlSimpleReader and XML. +See also TQXmlSimpleReader and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlDTDHandler * QXmlReader::DTDHandler () const\fC [pure virtual]\fR" +.SH "TQXmlDTDHandler * TQXmlReader::DTDHandler () const\fC [pure virtual]\fR" Returns the DTD handler or 0 if none was set. .PP See also setDTDHandler(). -.SH "QXmlContentHandler * QXmlReader::contentHandler () const\fC [pure virtual]\fR" +.SH "TQXmlContentHandler * TQXmlReader::contentHandler () const\fC [pure virtual]\fR" Returns the content handler or 0 if none was set. .PP See also setContentHandler(). -.SH "QXmlDeclHandler * QXmlReader::declHandler () const\fC [pure virtual]\fR" +.SH "TQXmlDeclHandler * TQXmlReader::declHandler () const\fC [pure virtual]\fR" Returns the declaration handler or 0 if none was set. .PP See also setDeclHandler(). -.SH "QXmlEntityResolver * QXmlReader::entityResolver () const\fC [pure virtual]\fR" +.SH "TQXmlEntityResolver * TQXmlReader::entityResolver () const\fC [pure virtual]\fR" Returns the entity resolver or 0 if none was set. .PP See also setEntityResolver(). -.SH "QXmlErrorHandler * QXmlReader::errorHandler () const\fC [pure virtual]\fR" +.SH "TQXmlErrorHandler * TQXmlReader::errorHandler () const\fC [pure virtual]\fR" Returns the error handler or 0 if none is set. .PP See also setErrorHandler(). -.SH "bool QXmlReader::feature ( const TQString & name, bool * ok = 0 ) const\fC [pure virtual]\fR" +.SH "bool TQXmlReader::feature ( const TQString & name, bool * ok = 0 ) const\fC [pure virtual]\fR" If the reader has the feature called \fIname\fR, the feature's value is returned. If no such feature exists the return value is undefined. .PP If \fIok\fR is not 0: \fI*ok\fR is set to TRUE if the reader has the feature called \fIname\fR; otherwise \fI*ok\fR is set to FALSE. .PP See also setFeature() and hasFeature(). -.SH "bool QXmlReader::hasFeature ( const TQString & name ) const\fC [pure virtual]\fR" +.SH "bool TQXmlReader::hasFeature ( const TQString & name ) const\fC [pure virtual]\fR" Returns \fCTRUE\fR if the reader has the feature called \fIname\fR; otherwise returns FALSE. .PP See also feature() and setFeature(). -.SH "bool QXmlReader::hasProperty ( const TQString & name ) const\fC [pure virtual]\fR" +.SH "bool TQXmlReader::hasProperty ( const TQString & name ) const\fC [pure virtual]\fR" Returns TRUE if the reader has the property \fIname\fR; otherwise returns FALSE. .PP See also property() and setProperty(). -.SH "QXmlLexicalHandler * QXmlReader::lexicalHandler () const\fC [pure virtual]\fR" +.SH "TQXmlLexicalHandler * TQXmlReader::lexicalHandler () const\fC [pure virtual]\fR" Returns the lexical handler or 0 if none was set. .PP See also setLexicalHandler(). -.SH "bool QXmlReader::parse ( const QXmlInputSource * input )\fC [pure virtual]\fR" +.SH "bool TQXmlReader::parse ( const TQXmlInputSource * input )\fC [pure virtual]\fR" Reads an XML document from \fIinput\fR and parses it. Returns TRUE if the parsing was successful; otherwise returns FALSE. .PP Example: xml/tagreader/tagreader.cpp. -.SH "bool QXmlReader::parse ( const QXmlInputSource & input )\fC [pure virtual]\fR" +.SH "bool TQXmlReader::parse ( const TQXmlInputSource & input )\fC [pure virtual]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "void * QXmlReader::property ( const TQString & name, bool * ok = 0 ) const\fC [pure virtual]\fR" +.SH "void * TQXmlReader::property ( const TQString & name, bool * ok = 0 ) const\fC [pure virtual]\fR" If the reader has the property \fIname\fR, this function returns the value of the property; otherwise the return value is undefined. .PP If \fIok\fR is not 0: if the reader has the \fIname\fR property \fI*ok\fR is set to TRUE; otherwise \fI*ok\fR is set to FALSE. .PP See also setProperty() and hasProperty(). -.SH "void QXmlReader::setContentHandler ( QXmlContentHandler * handler )\fC [pure virtual]\fR" +.SH "void TQXmlReader::setContentHandler ( TQXmlContentHandler * handler )\fC [pure virtual]\fR" Sets the content handler to \fIhandler\fR. .PP See also contentHandler(). .PP Example: xml/tagreader/tagreader.cpp. -.SH "void QXmlReader::setDTDHandler ( QXmlDTDHandler * handler )\fC [pure virtual]\fR" +.SH "void TQXmlReader::setDTDHandler ( TQXmlDTDHandler * handler )\fC [pure virtual]\fR" Sets the DTD handler to \fIhandler\fR. .PP See also DTDHandler(). -.SH "void QXmlReader::setDeclHandler ( QXmlDeclHandler * handler )\fC [pure virtual]\fR" +.SH "void TQXmlReader::setDeclHandler ( TQXmlDeclHandler * handler )\fC [pure virtual]\fR" Sets the declaration handler to \fIhandler\fR. .PP See also declHandler(). -.SH "void QXmlReader::setEntityResolver ( QXmlEntityResolver * handler )\fC [pure virtual]\fR" +.SH "void TQXmlReader::setEntityResolver ( TQXmlEntityResolver * handler )\fC [pure virtual]\fR" Sets the entity resolver to \fIhandler\fR. .PP See also entityResolver(). -.SH "void QXmlReader::setErrorHandler ( QXmlErrorHandler * handler )\fC [pure virtual]\fR" +.SH "void TQXmlReader::setErrorHandler ( TQXmlErrorHandler * handler )\fC [pure virtual]\fR" Sets the error handler to \fIhandler\fR. Clears the error handler if \fIhandler\fR is 0. .PP See also errorHandler(). -.SH "void QXmlReader::setFeature ( const TQString & name, bool value )\fC [pure virtual]\fR" +.SH "void TQXmlReader::setFeature ( const TQString & name, bool value )\fC [pure virtual]\fR" Sets the feature called \fIname\fR to the given \fIvalue\fR. If the reader doesn't have the feature nothing happens. .PP See also feature() and hasFeature(). .PP -Reimplemented in QXmlSimpleReader. -.SH "void QXmlReader::setLexicalHandler ( QXmlLexicalHandler * handler )\fC [pure virtual]\fR" +Reimplemented in TQXmlSimpleReader. +.SH "void TQXmlReader::setLexicalHandler ( TQXmlLexicalHandler * handler )\fC [pure virtual]\fR" Sets the lexical handler to \fIhandler\fR. .PP See also lexicalHandler(). -.SH "void QXmlReader::setProperty ( const TQString & name, void * value )\fC [pure virtual]\fR" +.SH "void TQXmlReader::setProperty ( const TQString & name, void * value )\fC [pure virtual]\fR" Sets the property \fIname\fR to \fIvalue\fR. If the reader doesn't have the property nothing happens. .PP See also property() and hasProperty(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlreader.html +.BR http://doc.trolltech.com/tqxmlreader.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqxmlsimplereader.3qt b/doc/man/man3/tqxmlsimplereader.3qt index 9784d11f6..524a60142 100644 --- a/doc/man/man3/tqxmlsimplereader.3qt +++ b/doc/man/man3/tqxmlsimplereader.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlSimpleReader 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlSimpleReader 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,34 +7,34 @@ .ad l .nh .SH NAME -QXmlSimpleReader \- Implementation of a simple XML reader (parser) +TQXmlSimpleReader \- Implementation of a simple XML reader (parser) .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqxml.h>\fR +\fC#include <tqxml.h>\fR .PP -Inherits QXmlReader. +Inherits TQXmlReader. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQXmlSimpleReader\fR ()" +.BI "\fBTQXmlSimpleReader\fR ()" .br .ti -1c -.BI "virtual \fB~QXmlSimpleReader\fR ()" +.BI "virtual \fB~TQXmlSimpleReader\fR ()" .br .ti -1c .BI "virtual void \fBsetFeature\fR ( const TQString & name, bool value )" .br .ti -1c -.BI "virtual bool \fBparse\fR ( const QXmlInputSource * input, bool incremental )" +.BI "virtual bool \fBparse\fR ( const TQXmlInputSource * input, bool incremental )" .br .ti -1c .BI "virtual bool \fBparseContinue\fR ()" .br .in -1c .SH DESCRIPTION -The QXmlSimpleReader class provides an implementation of a simple XML reader (parser). +The TQXmlSimpleReader class provides an implementation of a simple XML reader (parser). .PP This XML reader is sufficient for simple parsing tasks. The reader: .TP @@ -48,7 +48,7 @@ Documents are parsed with a call to parse(). .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlSimpleReader::QXmlSimpleReader ()" +.SH "TQXmlSimpleReader::TQXmlSimpleReader ()" Constructs a simple XML reader with the following feature settings: <center>.nf .TS l - l. Feature Setting \fIhttp://xml.org/sax/features/namespaces\fR TRUE \fIhttp://xml.org/sax/features/namespace-prefixes\fR FALSE \fIhttp://trolltech.com/xml/features/report-whitespace-only-CharData\fR TRUE \fIhttp://trolltech.com/xml/features/report-start-end-entity\fR @@ -59,9 +59,9 @@ l - l. Feature Setting \fIhttp://xml.org/sax/features/namespaces\fR TRUE \fIhttp More information about features can be found in the TQt SAX2 overview. .PP See also setFeature(). -.SH "QXmlSimpleReader::~QXmlSimpleReader ()\fC [virtual]\fR" +.SH "TQXmlSimpleReader::~TQXmlSimpleReader ()\fC [virtual]\fR" Destroys the simple XML reader. -.SH "bool QXmlSimpleReader::parse ( const QXmlInputSource * input, bool incremental )\fC [virtual]\fR" +.SH "bool TQXmlSimpleReader::parse ( const TQXmlInputSource * input, bool incremental )\fC [virtual]\fR" Reads an XML document from \fIinput\fR and parses it. Returns FALSE if the parsing detects an error; otherwise returns TRUE. .PP If \fIincremental\fR is TRUE, the parser does not return FALSE when it reaches the end of the \fIinput\fR without reaching the end of the XML file. Instead it stores the state of the parser so that parsing can be continued at a later stage when more data is available. You can use the function parseContinue() to continue with parsing. This class stores a pointer to the input source \fIinput\fR and the parseContinue() function tries to read from that input souce. This means that you should not delete the input source \fIinput\fR until you've finished your calls to parseContinue(). If you call this function with \fIincremental\fR TRUE whilst an incremental parse is in progress a new parsing session will be started and the previous session lost. @@ -72,26 +72,26 @@ See also parseContinue() and QSocket. .PP Examples: .)l xml/tagreader-with-features/tagreader.cpp and xml/tagreader/tagreader.cpp. -.SH "bool QXmlSimpleReader::parseContinue ()\fC [virtual]\fR" -Continues incremental parsing; this function reads the input from the QXmlInputSource that was specified with the last parse() command. To use this function, you \fImust\fR have called parse() with the incremental argument set to TRUE. +.SH "bool TQXmlSimpleReader::parseContinue ()\fC [virtual]\fR" +Continues incremental parsing; this function reads the input from the TQXmlInputSource that was specified with the last parse() command. To use this function, you \fImust\fR have called parse() with the incremental argument set to TRUE. .PP Returns FALSE if a parsing error occurs; otherwise returns TRUE. .PP -If the input source returns an empty string for the function QXmlInputSource::data(), then this means that the end of the XML file has been reached; this is quite important, especially if you want to use the reader to parse more than one XML file. +If the input source returns an empty string for the function TQXmlInputSource::data(), then this means that the end of the XML file has been reached; this is quite important, especially if you want to use the reader to parse more than one XML file. .PP The case of the end of the XML file being reached without having finished parsing is not considered to be an error: you can continue parsing at a later stage by calling this function again when there is more data available to parse. .PP -This function assumes that the end of the XML document is reached if the QXmlInputSource::next() function returns QXmlInputSource::EndOfDocument. If the parser has not finished parsing when it encounters this symbol, it is an error and FALSE is returned. +This function assumes that the end of the XML document is reached if the TQXmlInputSource::next() function returns TQXmlInputSource::EndOfDocument. If the parser has not finished parsing when it encounters this symbol, it is an error and FALSE is returned. .PP -See also parse() and QXmlInputSource::next(). -.SH "void QXmlSimpleReader::setFeature ( const TQString & name, bool value )\fC [virtual]\fR" +See also parse() and TQXmlInputSource::next(). +.SH "void TQXmlSimpleReader::setFeature ( const TQString & name, bool value )\fC [virtual]\fR" Sets the state of the feature \fIname\fR to \fIvalue\fR: .PP If the feature is not recognized, it is ignored. .PP The following features are supported: <center>.nf .TS -l - l. Feature Notes \fIhttp://xml.org/sax/features/namespaces\fR If this feature is TRUE, namespace processing is performed. \fIhttp://xml.org/sax/features/namespace-prefixes\fR If this feature is TRUE, the the original prefixed names and attributes used for namespace declarations are reported. \fIhttp://trolltech.com/xml/features/report-whitespace-only-CharData\fR If this feature is TRUE, CharData that only contain whitespace are not ignored, but are reported via QXmlContentHandler::characters(). \fIhttp://trolltech.com/xml/features/report-start-end-entity\fR +l - l. Feature Notes \fIhttp://xml.org/sax/features/namespaces\fR If this feature is TRUE, namespace processing is performed. \fIhttp://xml.org/sax/features/namespace-prefixes\fR If this feature is TRUE, the the original prefixed names and attributes used for namespace declarations are reported. \fIhttp://trolltech.com/xml/features/report-whitespace-only-CharData\fR If this feature is TRUE, CharData that only contain whitespace are not ignored, but are reported via TQXmlContentHandler::characters(). \fIhttp://trolltech.com/xml/features/report-start-end-entity\fR .TE .fi </center> @@ -114,10 +114,10 @@ See also feature() and hasFeature(). .PP Example: xml/tagreader-with-features/tagreader.cpp. .PP -Reimplemented from QXmlReader. +Reimplemented from TQXmlReader. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlsimplereader.html +.BR http://doc.trolltech.com/tqxmlsimplereader.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |