diff options
Diffstat (limited to 'doc/man/man3/tqdomdocument.3qt')
-rw-r--r-- | doc/man/man3/tqdomdocument.3qt | 102 |
1 files changed, 51 insertions, 51 deletions
diff --git a/doc/man/man3/tqdomdocument.3qt b/doc/man/man3/tqdomdocument.3qt index c10a5c69c..676c7da95 100644 --- a/doc/man/man3/tqdomdocument.3qt +++ b/doc/man/man3/tqdomdocument.3qt @@ -21,7 +21,7 @@ Inherits QDomNode. .BI "\fBQDomDocument\fR ()" .br .ti -1c -.BI "explicit \fBQDomDocument\fR ( const QString & name )" +.BI "explicit \fBQDomDocument\fR ( const TQString & name )" .br .ti -1c .BI "explicit \fBQDomDocument\fR ( const QDomDocumentType & doctype )" @@ -36,46 +36,46 @@ Inherits QDomNode. .BI "\fB~QDomDocument\fR ()" .br .ti -1c -.BI "QDomElement \fBcreateElement\fR ( const QString & tagName )" +.BI "QDomElement \fBcreateElement\fR ( const TQString & tagName )" .br .ti -1c .BI "QDomDocumentFragment \fBcreateDocumentFragment\fR ()" .br .ti -1c -.BI "QDomText \fBcreateTextNode\fR ( const QString & value )" +.BI "QDomText \fBcreateTextNode\fR ( const TQString & value )" .br .ti -1c -.BI "QDomComment \fBcreateComment\fR ( const QString & value )" +.BI "QDomComment \fBcreateComment\fR ( const TQString & value )" .br .ti -1c -.BI "QDomCDATASection \fBcreateCDATASection\fR ( const QString & value )" +.BI "QDomCDATASection \fBcreateCDATASection\fR ( const TQString & value )" .br .ti -1c -.BI "QDomProcessingInstruction \fBcreateProcessingInstruction\fR ( const QString & target, const QString & data )" +.BI "QDomProcessingInstruction \fBcreateProcessingInstruction\fR ( const TQString & target, const TQString & data )" .br .ti -1c -.BI "QDomAttr \fBcreateAttribute\fR ( const QString & name )" +.BI "QDomAttr \fBcreateAttribute\fR ( const TQString & name )" .br .ti -1c -.BI "QDomEntityReference \fBcreateEntityReference\fR ( const QString & name )" +.BI "QDomEntityReference \fBcreateEntityReference\fR ( const TQString & name )" .br .ti -1c -.BI "QDomNodeList \fBelementsByTagName\fR ( const QString & tagname ) const" +.BI "QDomNodeList \fBelementsByTagName\fR ( const TQString & tagname ) const" .br .ti -1c .BI "QDomNode \fBimportNode\fR ( const QDomNode & importedNode, bool deep )" .br .ti -1c -.BI "QDomElement \fBcreateElementNS\fR ( const QString & nsURI, const QString & qName )" +.BI "QDomElement \fBcreateElementNS\fR ( const TQString & nsURI, const TQString & qName )" .br .ti -1c -.BI "QDomAttr \fBcreateAttributeNS\fR ( const QString & nsURI, const QString & qName )" +.BI "QDomAttr \fBcreateAttributeNS\fR ( const TQString & nsURI, const TQString & qName )" .br .ti -1c -.BI "QDomNodeList \fBelementsByTagNameNS\fR ( const QString & nsURI, const QString & localName )" +.BI "QDomNodeList \fBelementsByTagNameNS\fR ( const TQString & nsURI, const TQString & localName )" .br .ti -1c -.BI "QDomElement \fBelementById\fR ( const QString & elementId )" +.BI "QDomElement \fBelementById\fR ( const TQString & elementId )" .br .ti -1c .BI "QDomDocumentType \fBdoctype\fR () const" @@ -87,31 +87,31 @@ Inherits QDomNode. .BI "QDomElement \fBdocumentElement\fR () const" .br .ti -1c -.BI "bool \fBsetContent\fR ( const QCString & buffer, bool namespaceProcessing, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.BI "bool \fBsetContent\fR ( const QCString & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" .br .ti -1c -.BI "bool \fBsetContent\fR ( const QByteArray & buffer, bool namespaceProcessing, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.BI "bool \fBsetContent\fR ( const QByteArray & buffer, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" .br .ti -1c -.BI "bool \fBsetContent\fR ( const QString & text, bool namespaceProcessing, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.BI "bool \fBsetContent\fR ( const TQString & text, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" .br .ti -1c -.BI "bool \fBsetContent\fR ( QIODevice * dev, bool namespaceProcessing, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.BI "bool \fBsetContent\fR ( TQIODevice * dev, bool namespaceProcessing, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" .br .ti -1c -.BI "bool \fBsetContent\fR ( const QCString & buffer, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.BI "bool \fBsetContent\fR ( const QCString & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" .br .ti -1c -.BI "bool \fBsetContent\fR ( const QByteArray & buffer, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.BI "bool \fBsetContent\fR ( const QByteArray & buffer, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" .br .ti -1c -.BI "bool \fBsetContent\fR ( const QString & text, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.BI "bool \fBsetContent\fR ( const TQString & text, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" .br .ti -1c -.BI "bool \fBsetContent\fR ( QIODevice * dev, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.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, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.BI "bool \fBsetContent\fR ( QXmlInputSource * source, QXmlReader * reader, TQString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" .br .ti -1c .BI "virtual QDomNode::NodeType \fBnodeType\fR () const" @@ -120,10 +120,10 @@ Inherits QDomNode. .BI "virtual bool \fBisDocument\fR () const" .br .ti -1c -.BI "QString \fBtoString\fR () const" +.BI "TQString \fBtoString\fR () const" .br .ti -1c -.BI "QString \fBtoString\fR ( int indent ) const" +.BI "TQString \fBtoString\fR ( int indent ) const" .br .ti -1c .BI "QCString \fBtoCString\fR () const" @@ -231,7 +231,7 @@ To create a document using DOM use code like this: tag.appendChild( t ); .br .br - QString xml = doc.toString(); + TQString xml = doc.toString(); .br .fi .PP @@ -241,7 +241,7 @@ See also XML. .SH MEMBER FUNCTION DOCUMENTATION .SH "QDomDocument::QDomDocument ()" Constructs an empty document. -.SH "explicit QDomDocument::QDomDocument ( const QString & name )" +.SH "explicit QDomDocument::QDomDocument ( const TQString & name )" Creates a document and sets the name of the document type to \fIname\fR. .SH "explicit QDomDocument::QDomDocument ( const QDomDocumentType & doctype )" Creates a document with the document type \fIdoctype\fR. @@ -253,41 +253,41 @@ Constructs a copy of \fIx\fR. The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). .SH "QDomDocument::~QDomDocument ()" Destroys the object and frees its resources. -.SH "QDomAttr QDomDocument::createAttribute ( const QString & name )" +.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(). .PP See also createAttributeNS(). -.SH "QDomAttr QDomDocument::createAttributeNS ( const QString & nsURI, const QString & qName )" +.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). .PP See also createAttribute(). -.SH "QDomCDATASection QDomDocument::createCDATASection ( const QString & value )" +.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(). .PP See also QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). -.SH "QDomComment QDomDocument::createComment ( const QString & value )" +.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(). .PP See also QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). .SH "QDomDocumentFragment QDomDocument::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 QString & tagName )" +.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(). .PP See also createElementNS(), QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). -.SH "QDomElement QDomDocument::createElementNS ( const QString & nsURI, const QString & qName )" +.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). .PP See also createElement(). -.SH "QDomEntityReference QDomDocument::createEntityReference ( const QString & name )" +.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(). .PP See also QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). -.SH "QDomProcessingInstruction QDomDocument::createProcessingInstruction ( const QString & target, const QString & data )" +.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. .PP See also QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insertAfter(). -.SH "QDomText QDomDocument::createTextNode ( const QString & value )" +.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(). .PP \fBWarning:\fR All characters within an XML document must be in the range: @@ -303,15 +303,15 @@ See also QDomNode::appendChild(), QDomNode::insertBefore(), and QDomNode::insert Returns the document type of this document. .SH "QDomElement QDomDocument::documentElement () const" Returns the root element of the document. -.SH "QDomElement QDomDocument::elementById ( const QString & elementId )" +.SH "QDomElement QDomDocument::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 QString & tagname ) const" +.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. .PP See also elementsByTagNameNS() and QDomElement::elementsByTagName(). -.SH "QDomNodeList QDomDocument::elementsByTagNameNS ( const QString & nsURI, const QString & localName )" +.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. .PP See also elementsByTagName() and QDomElement::elementsByTagNameNS(). @@ -344,7 +344,7 @@ Reimplemented from QDomNode. 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, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool QDomDocument::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. @@ -353,24 +353,24 @@ If a parse error occurs, the function returns FALSE; otherwise it returns TRUE. .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. .PP -If \fInamespaceProcessing\fR is FALSE, the functions QDomNode::prefix(), QDomNode::localName() and QDomNode::namespaceURI() return QString::null. +If \fInamespaceProcessing\fR is FALSE, the functions QDomNode::prefix(), QDomNode::localName() and QDomNode::namespaceURI() return TQString::null. .PP -See also QDomNode::namespaceURI(), QDomNode::localName(), QDomNode::prefix(), QString::isNull(), and QString::isEmpty(). -.SH "bool QDomDocument::setContent ( const QCString & buffer, bool namespaceProcessing, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +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 )" 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 QString & text, bool namespaceProcessing, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool QDomDocument::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 ( QIODevice * dev, bool namespaceProcessing, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool QDomDocument::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, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool QDomDocument::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,25 +378,25 @@ 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, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool QDomDocument::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 QString & text, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool QDomDocument::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 ( QIODevice * dev, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool QDomDocument::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, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" +.SH "bool QDomDocument::setContent ( QXmlInputSource * source, QXmlReader * 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. @@ -412,11 +412,11 @@ See also toString(). 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 "QString QDomDocument::toString () const" +.SH "TQString QDomDocument::toString () const" Converts the parsed document back to its textual representation. .PP See also toCString(). -.SH "QString QDomDocument::toString ( int indent ) const" +.SH "TQString QDomDocument::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 |