diff options
Diffstat (limited to 'doc/man/man3/tqbuffer.3qt')
| -rw-r--r-- | doc/man/man3/tqbuffer.3qt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man/man3/tqbuffer.3qt b/doc/man/man3/tqbuffer.3qt index 1b0b5b1ef..841066bab 100644 --- a/doc/man/man3/tqbuffer.3qt +++ b/doc/man/man3/tqbuffer.3qt @@ -91,9 +91,9 @@ Returns this buffer's byte array. .PP See also setBuffer(). .SH "bool QBuffer::setBuffer ( QByteArray buf )" -Replaces the buffer's contents with \fIbuf\fR and returns TRUE. +Replaces the buffer's contents with \fIbuf\fR and returns true. .PP -Does nothing (and returns FALSE) if isOpen() is TRUE. +Does nothing (and returns false) if isOpen() is true. .PP Note that if you open the buffer in write mode (<a href="ntqfile.html#open">IO_WriteOnly</a> or IO_ReadWrite) and write something into the buffer, \fIbuf\fR is also modified because QByteArray is an explicitly shared class. .PP |
