diff options
Diffstat (limited to 'doc/man/man3/tqxmlcontenthandler.3qt')
-rw-r--r-- | doc/man/man3/tqxmlcontenthandler.3qt | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/man/man3/tqxmlcontenthandler.3qt b/doc/man/man3/tqxmlcontenthandler.3qt index ec37e88f8..bd5dee5fa 100644 --- a/doc/man/man3/tqxmlcontenthandler.3qt +++ b/doc/man/man3/tqxmlcontenthandler.3qt @@ -27,31 +27,31 @@ Inherited by QXmlDefaultHandler. .BI "virtual bool \fBendDocument\fR () = 0" .br .ti -1c -.BI "virtual bool \fBstartPrefixMapping\fR ( const QString & prefix, const QString & uri ) = 0" +.BI "virtual bool \fBstartPrefixMapping\fR ( const TQString & prefix, const TQString & uri ) = 0" .br .ti -1c -.BI "virtual bool \fBendPrefixMapping\fR ( const QString & prefix ) = 0" +.BI "virtual bool \fBendPrefixMapping\fR ( const TQString & prefix ) = 0" .br .ti -1c -.BI "virtual bool \fBstartElement\fR ( const QString & namespaceURI, const QString & localName, const QString & qName, const QXmlAttributes & atts ) = 0" +.BI "virtual bool \fBstartElement\fR ( const TQString & namespaceURI, const TQString & localName, const TQString & qName, const QXmlAttributes & atts ) = 0" .br .ti -1c -.BI "virtual bool \fBendElement\fR ( const QString & namespaceURI, const QString & localName, const QString & qName ) = 0" +.BI "virtual bool \fBendElement\fR ( const TQString & namespaceURI, const TQString & localName, const TQString & qName ) = 0" .br .ti -1c -.BI "virtual bool \fBcharacters\fR ( const QString & ch ) = 0" +.BI "virtual bool \fBcharacters\fR ( const TQString & ch ) = 0" .br .ti -1c -.BI "virtual bool \fBignorableWhitespace\fR ( const QString & ch ) = 0" +.BI "virtual bool \fBignorableWhitespace\fR ( const TQString & ch ) = 0" .br .ti -1c -.BI "virtual bool \fBprocessingInstruction\fR ( const QString & target, const QString & data ) = 0" +.BI "virtual bool \fBprocessingInstruction\fR ( const TQString & target, const TQString & data ) = 0" .br .ti -1c -.BI "virtual bool \fBskippedEntity\fR ( const QString & name ) = 0" +.BI "virtual bool \fBskippedEntity\fR ( const TQString & name ) = 0" .br .ti -1c -.BI "virtual QString \fBerrorString\fR () = 0" +.BI "virtual TQString \fBerrorString\fR () = 0" .br .in -1c .SH DESCRIPTION @@ -69,7 +69,7 @@ See also the Introduction to SAX2. .PP See also QXmlDTDHandler, QXmlDeclHandler, QXmlEntityResolver, QXmlErrorHandler, QXmlLexicalHandler, and XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "bool QXmlContentHandler::characters ( const QString & ch )\fC [pure virtual]\fR" +.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. .PP Some readers report whitespace in element content using the ignorableWhitespace() function rather than using this one. @@ -83,7 +83,7 @@ The reader calls this function after it has finished parsing. It is called just 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 QString & namespaceURI, const QString & localName, const QString & qName )\fC [pure virtual]\fR" +.SH "bool QXmlContentHandler::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 QString & prefix )\fC [pure virtual]\fR" +.SH "bool QXmlContentHandler::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,13 +101,13 @@ If this function returns FALSE the reader stops parsing and reports an error. Th See also the namespace description. .PP See also startPrefixMapping(). -.SH "QString QXmlContentHandler::errorString ()\fC [pure virtual]\fR" +.SH "TQString QXmlContentHandler::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 QString & ch )\fC [pure virtual]\fR" +.SH "bool QXmlContentHandler::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 QString & target, const QString & data )\fC [pure virtual]\fR" +.SH "bool QXmlContentHandler::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. @@ -117,7 +117,7 @@ If this function returns FALSE the reader stops parsing and reports an error. Th 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. .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 QString & name )\fC [pure virtual]\fR" +.SH "bool QXmlContentHandler::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. @@ -129,14 +129,14 @@ If this function returns FALSE the reader stops parsing and reports an error. Th See also endDocument(). .PP Example: xml/tagreader/structureparser.cpp. -.SH "bool QXmlContentHandler::startElement ( const QString & namespaceURI, const QString & localName, const QString & qName, const QXmlAttributes & atts )\fC [pure virtual]\fR" +.SH "bool QXmlContentHandler::startElement ( const TQString & namespaceURI, const TQString & localName, const TQString & qName, const QXmlAttributes & 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. .PP The attribute list provided only contains attributes with explicit values. The attribute list contains attributes used for namespace declaration (i.e. attributes starting with xmlns) only if the namespace-prefix property of the reader is TRUE. .PP -The argument \fInamespaceURI\fR is the namespace URI, or QString::null if the element has no namespace URI or if no namespace processing is done. \fIlocalName\fR is the local name (without prefix), or QString::null if no namespace processing is done, \fIqName\fR is the qualified name (with prefix) and \fIatts\fR are the attributes attached to the element. If there are no attributes, \fIatts\fR is an empty attributes object. +The argument \fInamespaceURI\fR is the namespace URI, or TQString::null if the element has no namespace URI or if no namespace processing is done. \fIlocalName\fR is the local name (without prefix), or TQString::null if no namespace processing is done, \fIqName\fR is the qualified name (with prefix) and \fIatts\fR are the attributes attached to the element. If there are no attributes, \fIatts\fR is an empty attributes object. .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 @@ -145,7 +145,7 @@ See also the namespace description. See also endElement(). .PP Example: xml/tagreader/structureparser.cpp. -.SH "bool QXmlContentHandler::startPrefixMapping ( const QString & prefix, const QString & uri )\fC [pure virtual]\fR" +.SH "bool QXmlContentHandler::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. |