diff options
Diffstat (limited to 'doc/html/tqbuffer.html')
-rw-r--r-- | doc/html/tqbuffer.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/tqbuffer.html b/doc/html/tqbuffer.html index 2e6b6e1c9..72c12cf7f 100644 --- a/doc/html/tqbuffer.html +++ b/doc/html/tqbuffer.html @@ -112,8 +112,8 @@ Destroys the buffer. <h3 class=fn>bool <a name="setBuffer"></a>TQBuffer::setBuffer ( <a href="tqbytearray.html">TQByteArray</a> buf ) </h3> -Replaces the buffer's contents with <em>buf</em> and returns TRUE. -<p> Does nothing (and returns FALSE) if <a href="tqiodevice.html#isOpen">isOpen</a>() is TRUE. +Replaces the buffer's contents with <em>buf</em> and returns true. +<p> Does nothing (and returns false) if <a href="tqiodevice.html#isOpen">isOpen</a>() is true. <p> Note that if you open the buffer in write mode (<a href="tqfile.html#open"><a href="tqfile.html#open">IO_WriteOnly</a></a> or <a href="tqfile.html#open">IO_ReadWrite</a>) and write something into the buffer, <em>buf</em> is also modified because <a href="tqbytearray.html">TQByteArray</a> is an <a href="shclass.html#explicitly-shared">explicitly shared</a> class. |