diff options
Diffstat (limited to 'doc/html/ntqbuffer.html')
-rw-r--r-- | doc/html/ntqbuffer.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/ntqbuffer.html b/doc/html/ntqbuffer.html index 0472498a6..a3510d7cd 100644 --- a/doc/html/ntqbuffer.html +++ b/doc/html/ntqbuffer.html @@ -51,7 +51,7 @@ body { background: #ffffff; color: black; } -The TQBuffer class is an I/O device that operates on a <a href="qbytearray.html">TQByteArray</a>. +The TQBuffer class is an I/O device that operates on a <a href="tqbytearray.html">TQByteArray</a>. <p> <p> TQBuffer is used to read and write to a memory buffer. It is @@ -68,21 +68,21 @@ array because TQByteArray is <a href="shclass.html">explicitly buffer must be closed before reopening or calling setBuffer(). <p> A common way to use TQBuffer is through <a href="ntqdatastream.html">TQDataStream</a> or <a href="tqtextstream.html">TQTextStream</a>, which have constructors that take a TQBuffer parameter. For convenience, there are also TQDataStream and -<a href="tqtextstream.html">TQTextStream</a> constructors that take a <a href="qbytearray.html">TQByteArray</a> parameter. These +<a href="tqtextstream.html">TQTextStream</a> constructors that take a <a href="tqbytearray.html">TQByteArray</a> parameter. These constructors create and open an internal TQBuffer. <p> Note that TQTextStream can also operate on a <a href="tqstring.html">TQString</a> (a Unicode string); a TQBuffer cannot. <p> You can also use TQBuffer directly through the standard <a href="ntqiodevice.html">TQIODevice</a> functions <a href="ntqiodevice.html#readBlock">readBlock</a>(), <a href="#writeBlock">writeBlock</a>() <a href="ntqiodevice.html#readLine">readLine</a>(), <a href="ntqiodevice.html#at">at</a>(), <a href="ntqiodevice.html#getch">getch</a>(), <a href="ntqiodevice.html#putch">putch</a>() and <a href="ntqiodevice.html#ungetch">ungetch</a>(). -<p> <p>See also <a href="ntqfile.html">TQFile</a>, <a href="ntqdatastream.html">TQDataStream</a>, <a href="tqtextstream.html">TQTextStream</a>, <a href="qbytearray.html">TQByteArray</a>, <a href="shclass.html">Shared Classes</a>, <a href="collection.html">Collection Classes</a>, and <a href="io.html">Input/Output and Networking</a>. +<p> <p>See also <a href="ntqfile.html">TQFile</a>, <a href="ntqdatastream.html">TQDataStream</a>, <a href="tqtextstream.html">TQTextStream</a>, <a href="tqbytearray.html">TQByteArray</a>, <a href="shclass.html">Shared Classes</a>, <a href="collection.html">Collection Classes</a>, and <a href="io.html">Input/Output and Networking</a>. <hr><h2>Member Function Documentation</h2> <h3 class=fn><a name="TQBuffer"></a>TQBuffer::TQBuffer () </h3> Constructs an empty buffer. -<h3 class=fn><a name="TQBuffer-2"></a>TQBuffer::TQBuffer ( <a href="qbytearray.html">TQByteArray</a> buf ) +<h3 class=fn><a name="TQBuffer-2"></a>TQBuffer::TQBuffer ( <a href="tqbytearray.html">TQByteArray</a> buf ) </h3> Constructs a buffer that operates on <em>buf</em>. <p> If you open the buffer in write mode (<a href="ntqfile.html#open"><a href="ntqfile.html#open">IO_WriteOnly</a></a> or @@ -90,7 +90,7 @@ Constructs a buffer that operates on <em>buf</em>. will be modified. <p> Example: <pre> - <a href="ntqcstring.html">TQCString</a> str = "abc"; + <a href="tqcstring.html">TQCString</a> str = "abc"; TQBuffer b( str ); b.<a href="ntqiodevice.html#open">open</a>( IO_WriteOnly ); b.<a href="ntqiodevice.html#at">at</a>( 3 ); // position at the 4th character (the terminating \0) @@ -105,19 +105,19 @@ will be modified. </h3> Destroys the buffer. -<h3 class=fn><a href="qbytearray.html">TQByteArray</a> <a name="buffer"></a>TQBuffer::buffer () const +<h3 class=fn><a href="tqbytearray.html">TQByteArray</a> <a name="buffer"></a>TQBuffer::buffer () const </h3> <p> Returns this buffer's byte array. <p> <p>See also <a href="#setBuffer">setBuffer</a>(). -<h3 class=fn>bool <a name="setBuffer"></a>TQBuffer::setBuffer ( <a href="qbytearray.html">TQByteArray</a> buf ) +<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="ntqiodevice.html#isOpen">isOpen</a>() is TRUE. <p> Note that if you open the buffer in write mode (<a href="ntqfile.html#open"><a href="ntqfile.html#open">IO_WriteOnly</a></a> or <a href="ntqfile.html#open">IO_ReadWrite</a>) and write something into the buffer, <em>buf</em> is also -modified because <a href="qbytearray.html">TQByteArray</a> is an <a href="shclass.html#explicitly-shared">explicitly shared</a> class. +modified because <a href="tqbytearray.html">TQByteArray</a> is an <a href="shclass.html#explicitly-shared">explicitly shared</a> class. <p> <p>See also <a href="#buffer">buffer</a>(), <a href="ntqiodevice.html#open">open</a>(), and <a href="ntqiodevice.html#close">close</a>(). <h3 class=fn>TQ_LONG <a name="writeBlock"></a>TQBuffer::writeBlock ( const char * p, TQ_ULONG len )<tt> [virtual]</tt> @@ -129,7 +129,7 @@ buffer if necessary. Returns the number of bytes actually written. <p> <p>See also <a href="ntqiodevice.html#readBlock">readBlock</a>(). <p>Reimplemented from <a href="ntqiodevice.html#writeBlock">TQIODevice</a>. -<h3 class=fn>TQ_LONG <a name="writeBlock-2"></a>TQBuffer::writeBlock ( const <a href="qbytearray.html">TQByteArray</a> & data ) +<h3 class=fn>TQ_LONG <a name="writeBlock-2"></a>TQBuffer::writeBlock ( const <a href="tqbytearray.html">TQByteArray</a> & data ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This convenience function is the same as calling |