summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqxmlinputsource.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-30 12:36:05 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-30 12:36:05 +0900
commit1702a6daff27f5d3e6fdac16962d1828df6ca270 (patch)
treeb451256c2cc2e22e895251bac6ec1e4bdfd40e09 /doc/man/man3/tqxmlinputsource.3qt
parent5fffa30386502b5423e45c2ed5e6af756b11c7b4 (diff)
downloadtqt3-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/tqxmlinputsource.3qt')
-rw-r--r--doc/man/man3/tqxmlinputsource.3qt62
1 files changed, 31 insertions, 31 deletions
diff --git a/doc/man/man3/tqxmlinputsource.3qt b/doc/man/man3/tqxmlinputsource.3qt
index bdfc2d89..5801fb58 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