diff options
Diffstat (limited to 'doc/man/man3/tqxmlnamespacesupport.3qt')
-rw-r--r-- | doc/man/man3/tqxmlnamespacesupport.3qt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/man/man3/tqxmlnamespacesupport.3qt b/doc/man/man3/tqxmlnamespacesupport.3qt index c95335cc7..30e1a584e 100644 --- a/doc/man/man3/tqxmlnamespacesupport.3qt +++ b/doc/man/man3/tqxmlnamespacesupport.3qt @@ -22,25 +22,25 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "\fB~QXmlNamespaceSupport\fR ()" .br .ti -1c -.BI "void \fBsetPrefix\fR ( const QString & pre, const QString & uri )" +.BI "void \fBsetPrefix\fR ( const TQString & pre, const TQString & uri )" .br .ti -1c -.BI "QString \fBprefix\fR ( const QString & uri ) const" +.BI "TQString \fBprefix\fR ( const TQString & uri ) const" .br .ti -1c -.BI "QString \fBuri\fR ( const QString & prefix ) const" +.BI "TQString \fBuri\fR ( const TQString & prefix ) const" .br .ti -1c -.BI "void \fBsplitName\fR ( const QString & qname, QString & prefix, QString & localname ) const" +.BI "void \fBsplitName\fR ( const TQString & qname, TQString & prefix, TQString & localname ) const" .br .ti -1c -.BI "void \fBprocessName\fR ( const QString & qname, bool isAttribute, QString & nsuri, QString & localname ) const" +.BI "void \fBprocessName\fR ( const TQString & qname, bool isAttribute, TQString & nsuri, TQString & localname ) const" .br .ti -1c .BI "QStringList \fBprefixes\fR () const" .br .ti -1c -.BI "QStringList \fBprefixes\fR ( const QString & uri ) const" +.BI "QStringList \fBprefixes\fR ( const TQString & uri ) const" .br .ti -1c .BI "void \fBpushContext\fR ()" @@ -71,7 +71,7 @@ Reverts to the previous namespace context. 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 "QString QXmlNamespaceSupport::prefix ( const QString & uri ) const" +.SH "TQString QXmlNamespaceSupport::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. @@ -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 QString & uri ) const" +.SH "QStringList QXmlNamespaceSupport::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,12 +125,12 @@ Note that if you want to iterate over the list, you should iterate over a copy, } .br .fi -.SH "void QXmlNamespaceSupport::processName ( const QString & qname, bool isAttribute, QString & nsuri, QString & localname ) const" +.SH "void QXmlNamespaceSupport::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. .PP -This function stores the namespace URI in \fInsuri\fR (which will be set to QString::null if the raw name has an undeclared prefix), and stores the local name (without prefix) in \fIlocalname\fR (which will be set to QString::null if no namespace is in use). +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 ()" @@ -141,15 +141,15 @@ Normally, you should push a new context at the beginning of each XML element: th See also popContext(). .SH "void QXmlNamespaceSupport::reset ()" Resets this namespace support object ready for reuse. -.SH "void QXmlNamespaceSupport::setPrefix ( const QString & pre, const QString & uri )" +.SH "void QXmlNamespaceSupport::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 QString & qname, QString & prefix, QString & localname ) const" +.SH "void QXmlNamespaceSupport::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 "QString QXmlNamespaceSupport::uri ( const QString & prefix ) const" +.SH "TQString QXmlNamespaceSupport::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. |