summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqbuffer.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqbuffer.3qt')
-rw-r--r--doc/man/man3/tqbuffer.3qt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqbuffer.3qt b/doc/man/man3/tqbuffer.3qt
index 1b0b5b1ef..150ee6243 100644
--- a/doc/man/man3/tqbuffer.3qt
+++ b/doc/man/man3/tqbuffer.3qt
@@ -42,19 +42,19 @@ Inherits TQIODevice.
.SH DESCRIPTION
The QBuffer class is an I/O device that operates on a QByteArray.
.PP
-QBuffer is used to read and write to a memory buffer. It is normally used with a QTextStream or a QDataStream. QBuffer has an associated QByteArray which holds the buffer data. The size() of the buffer is automatically adjusted as data is written.
+QBuffer is used to read and write to a memory buffer. It is normally used with a TQTextStream or a QDataStream. QBuffer has an associated QByteArray which holds the buffer data. The size() of the buffer is automatically adjusted as data is written.
.PP
The constructor \fCQBuffer(QByteArray)\fR creates a QBuffer using an existing byte array. The byte array can also be set with setBuffer(). Writing to the QBuffer will modify the original byte array because QByteArray is explicitly shared.
.PP
Use open() to open the buffer before use and to set the mode (read-only, write-only, etc.). close() closes the buffer. The buffer must be closed before reopening or calling setBuffer().
.PP
-A common way to use QBuffer is through QDataStream or QTextStream, which have constructors that take a QBuffer parameter. For convenience, there are also QDataStream and QTextStream constructors that take a QByteArray parameter. These constructors create and open an internal QBuffer.
+A common way to use QBuffer is through QDataStream or TQTextStream, which have constructors that take a QBuffer parameter. For convenience, there are also QDataStream and TQTextStream constructors that take a QByteArray parameter. These constructors create and open an internal QBuffer.
.PP
-Note that QTextStream can also operate on a TQString (a Unicode string); a QBuffer cannot.
+Note that TQTextStream can also operate on a TQString (a Unicode string); a QBuffer cannot.
.PP
You can also use QBuffer directly through the standard TQIODevice functions readBlock(), writeBlock() readLine(), at(), getch(), putch() and ungetch().
.PP
-See also QFile, QDataStream, QTextStream, QByteArray, Shared Classes, Collection Classes, and Input/Output and Networking.
+See also QFile, QDataStream, TQTextStream, QByteArray, Shared Classes, Collection Classes, and Input/Output and Networking.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QBuffer::QBuffer ()"
Constructs an empty buffer.