summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqdatastream.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/ntqdatastream.html')
-rw-r--r--doc/html/ntqdatastream.html104
1 files changed, 52 insertions, 52 deletions
diff --git a/doc/html/ntqdatastream.html b/doc/html/ntqdatastream.html
index a20fd8eab..0cea75757 100644
--- a/doc/html/ntqdatastream.html
+++ b/doc/html/ntqdatastream.html
@@ -55,29 +55,29 @@ to a TQIODevice.
<li class=fn>void <a href="#setPrintableData"><b>setPrintableData</b></a> ( bool&nbsp;enable )</li>
<li class=fn>int <a href="#version"><b>version</b></a> () const</li>
<li class=fn>void <a href="#setVersion"><b>setVersion</b></a> ( int&nbsp;v )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt"><b>operator&gt;&gt;</b></a> ( Q_INT8&nbsp;&amp;&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-2"><b>operator&gt;&gt;</b></a> ( Q_UINT8&nbsp;&amp;&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-3"><b>operator&gt;&gt;</b></a> ( Q_INT16&nbsp;&amp;&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-4"><b>operator&gt;&gt;</b></a> ( Q_UINT16&nbsp;&amp;&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-5"><b>operator&gt;&gt;</b></a> ( Q_INT32&nbsp;&amp;&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-6"><b>operator&gt;&gt;</b></a> ( Q_UINT32&nbsp;&amp;&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-7"><b>operator&gt;&gt;</b></a> ( Q_INT64&nbsp;&amp;&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-8"><b>operator&gt;&gt;</b></a> ( Q_UINT64&nbsp;&amp;&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-9"><b>operator&gt;&gt;</b></a> ( Q_LONG&nbsp;&amp;&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-a"><b>operator&gt;&gt;</b></a> ( Q_ULONG&nbsp;&amp;&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt"><b>operator&gt;&gt;</b></a> ( TQ_INT8&nbsp;&amp;&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-2"><b>operator&gt;&gt;</b></a> ( TQ_UINT8&nbsp;&amp;&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-3"><b>operator&gt;&gt;</b></a> ( TQ_INT16&nbsp;&amp;&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-4"><b>operator&gt;&gt;</b></a> ( TQ_UINT16&nbsp;&amp;&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-5"><b>operator&gt;&gt;</b></a> ( TQ_INT32&nbsp;&amp;&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-6"><b>operator&gt;&gt;</b></a> ( TQ_UINT32&nbsp;&amp;&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-7"><b>operator&gt;&gt;</b></a> ( TQ_INT64&nbsp;&amp;&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-8"><b>operator&gt;&gt;</b></a> ( TQ_UINT64&nbsp;&amp;&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-9"><b>operator&gt;&gt;</b></a> ( TQ_LONG&nbsp;&amp;&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-a"><b>operator&gt;&gt;</b></a> ( TQ_ULONG&nbsp;&amp;&nbsp;i )</li>
<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-b"><b>operator&gt;&gt;</b></a> ( float&nbsp;&amp;&nbsp;f )</li>
<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-c"><b>operator&gt;&gt;</b></a> ( double&nbsp;&amp;&nbsp;f )</li>
<li class=fn>TQDataStream &amp; <a href="#operator-gt-gt-d"><b>operator&gt;&gt;</b></a> ( char&nbsp;*&amp;&nbsp;s )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt"><b>operator&lt;&lt;</b></a> ( Q_INT8&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-2"><b>operator&lt;&lt;</b></a> ( Q_UINT8&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-3"><b>operator&lt;&lt;</b></a> ( Q_INT16&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-4"><b>operator&lt;&lt;</b></a> ( Q_UINT16&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-5"><b>operator&lt;&lt;</b></a> ( Q_INT32&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-6"><b>operator&lt;&lt;</b></a> ( Q_UINT32&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-7"><b>operator&lt;&lt;</b></a> ( Q_INT64&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-8"><b>operator&lt;&lt;</b></a> ( Q_UINT64&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-9"><b>operator&lt;&lt;</b></a> ( Q_LONG&nbsp;i )</li>
-<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-a"><b>operator&lt;&lt;</b></a> ( Q_ULONG&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt"><b>operator&lt;&lt;</b></a> ( TQ_INT8&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-2"><b>operator&lt;&lt;</b></a> ( TQ_UINT8&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-3"><b>operator&lt;&lt;</b></a> ( TQ_INT16&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-4"><b>operator&lt;&lt;</b></a> ( TQ_UINT16&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-5"><b>operator&lt;&lt;</b></a> ( TQ_INT32&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-6"><b>operator&lt;&lt;</b></a> ( TQ_UINT32&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-7"><b>operator&lt;&lt;</b></a> ( TQ_INT64&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-8"><b>operator&lt;&lt;</b></a> ( TQ_UINT64&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-9"><b>operator&lt;&lt;</b></a> ( TQ_LONG&nbsp;i )</li>
+<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-a"><b>operator&lt;&lt;</b></a> ( TQ_ULONG&nbsp;i )</li>
<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-b"><b>operator&lt;&lt;</b></a> ( float&nbsp;f )</li>
<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-c"><b>operator&lt;&lt;</b></a> ( double&nbsp;f )</li>
<li class=fn>TQDataStream &amp; <a href="#operator-lt-lt-d"><b>operator&lt;&lt;</b></a> ( const&nbsp;char&nbsp;*&nbsp;s )</li>
@@ -113,7 +113,7 @@ data to. The <a href="ntqfile.html">TQFile</a> class is an example of an IO devi
file.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_WriteOnly</a> );
TQDataStream stream( &amp;file ); // we will serialize the data into the file
stream &lt;&lt; "the answer is"; // serialize a string
- stream &lt;&lt; (Q_INT32)42; // serialize an integer
+ stream &lt;&lt; (TQ_INT32)42; // serialize an integer
</pre>
<p> Example (read binary data from a stream):
@@ -122,7 +122,7 @@ data to. The <a href="ntqfile.html">TQFile</a> class is an example of an IO devi
file.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_ReadOnly</a> );
TQDataStream stream( &amp;file ); // read the data serialized from the file
<a href="ntqstring.html">TQString</a> str;
- Q_INT32 a;
+ TQ_INT32 a;
stream &gt;&gt; str &gt;&gt; a; // extract "the answer is" and 42
</pre>
@@ -161,8 +161,8 @@ number to give yourself room for future expansion. For example:
TQDataStream stream( &amp;file );
// Write a header with a "magic number" and a version
- stream &lt;&lt; (Q_UINT32)0xA0B0C0D0;
- stream &lt;&lt; (Q_INT32)123;
+ stream &lt;&lt; (TQ_UINT32)0xA0B0C0D0;
+ stream &lt;&lt; (TQ_INT32)123;
// Write the data
stream &lt;&lt; [lots of interesting data]
@@ -175,13 +175,13 @@ number to give yourself room for future expansion. For example:
TQDataStream stream( &amp;file );
// Read and check the header
- Q_UINT32 magic;
+ TQ_UINT32 magic;
stream &gt;&gt; magic;
if ( magic != 0xA0B0C0D0 )
return XXX_BAD_FILE_FORMAT;
// Read the version
- Q_INT32 version;
+ TQ_INT32 version;
stream &gt;&gt; version;
if ( version &lt; 100 )
return XXX_BAD_FILE_TOO_OLD;
@@ -212,11 +212,11 @@ written to the stream using <a href="#writeRawBytes">writeRawBytes</a>(). Notice
encoding/decoding of the data must be done by you.
<p> A similar pair of functions is <a href="#readBytes">readBytes</a>() and <a href="#writeBytes">writeBytes</a>(). These
differ from their <em>raw</em> counterparts as follows: readBytes()
-reads a Q_UINT32 which is taken to be the length of the data to be
+reads a TQ_UINT32 which is taken to be the length of the data to be
read, then that number of bytes is read into the preallocated
-char*; writeBytes() writes a Q_UINT32 containing the length of the
+char*; writeBytes() writes a TQ_UINT32 containing the length of the
data, followed by the data. Notice that any encoding/decoding of
-the data (apart from the length Q_UINT32) must be done by you.
+the data (apart from the length TQ_UINT32) must be done by you.
<p> <p>See also <a href="ntqtextstream.html">TQTextStream</a>, <a href="ntqvariant.html">TQVariant</a>, and <a href="io.html">Input/Output and Networking</a>.
<hr><h2>Member Type Documentation</h2>
@@ -304,60 +304,60 @@ device is somewhere before the end position.
returns FALSE.
<p> <p>See also <a href="#setPrintableData">setPrintableData</a>().
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt"></a>TQDataStream::operator&lt;&lt; ( Q_INT8&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt"></a>TQDataStream::operator&lt;&lt; ( TQ_INT8&nbsp;i )
</h3>
Writes a signed byte, <em>i</em>, to the stream and returns a reference
to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-2"></a>TQDataStream::operator&lt;&lt; ( Q_UINT8&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-2"></a>TQDataStream::operator&lt;&lt; ( TQ_UINT8&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Writes an unsigned byte, <em>i</em>, to the stream and returns a
reference to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-3"></a>TQDataStream::operator&lt;&lt; ( Q_INT16&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-3"></a>TQDataStream::operator&lt;&lt; ( TQ_INT16&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Writes a signed 16-bit integer, <em>i</em>, to the stream and returns a
reference to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-4"></a>TQDataStream::operator&lt;&lt; ( Q_UINT16&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-4"></a>TQDataStream::operator&lt;&lt; ( TQ_UINT16&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Writes an unsigned 16-bit integer, <em>i</em>, to the stream and returns
a reference to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-5"></a>TQDataStream::operator&lt;&lt; ( Q_INT32&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-5"></a>TQDataStream::operator&lt;&lt; ( TQ_INT32&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Writes a signed 32-bit integer, <em>i</em>, to the stream and returns a
reference to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-6"></a>TQDataStream::operator&lt;&lt; ( Q_UINT32&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-6"></a>TQDataStream::operator&lt;&lt; ( TQ_UINT32&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Writes an unsigned integer, <em>i</em>, to the stream as a 32-bit
-unsigned integer (Q_UINT32). Returns a reference to the stream.
+unsigned integer (TQ_UINT32). Returns a reference to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-7"></a>TQDataStream::operator&lt;&lt; ( Q_INT64&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-7"></a>TQDataStream::operator&lt;&lt; ( TQ_INT64&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Writes a signed 64-bit integer, <em>i</em>, to the stream and returns a
reference to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-8"></a>TQDataStream::operator&lt;&lt; ( Q_UINT64&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-8"></a>TQDataStream::operator&lt;&lt; ( TQ_UINT64&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Writes an unsigned 64-bit integer, <em>i</em>, to the stream and returns a
reference to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-9"></a>TQDataStream::operator&lt;&lt; ( Q_LONG&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-9"></a>TQDataStream::operator&lt;&lt; ( TQ_LONG&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Writes a signed integer <em>i</em>, of the system's word length, to the
stream and returns a reference to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-a"></a>TQDataStream::operator&lt;&lt; ( Q_ULONG&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt-a"></a>TQDataStream::operator&lt;&lt; ( TQ_ULONG&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Writes an unsigned integer <em>i</em>, of the system's word length, to
@@ -382,60 +382,60 @@ This is an overloaded member function, provided for convenience. It behaves esse
reference to the stream.
<p> The string is serialized using <a href="#writeBytes">writeBytes</a>().
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt"></a>TQDataStream::operator&gt;&gt; ( Q_INT8&nbsp;&amp;&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt"></a>TQDataStream::operator&gt;&gt; ( TQ_INT8&nbsp;&amp;&nbsp;i )
</h3>
Reads a signed byte from the stream into <em>i</em>, and returns a
reference to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-2"></a>TQDataStream::operator&gt;&gt; ( Q_UINT8&nbsp;&amp;&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-2"></a>TQDataStream::operator&gt;&gt; ( TQ_UINT8&nbsp;&amp;&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Reads an unsigned byte from the stream into <em>i</em>, and returns a
reference to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-3"></a>TQDataStream::operator&gt;&gt; ( Q_INT16&nbsp;&amp;&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-3"></a>TQDataStream::operator&gt;&gt; ( TQ_INT16&nbsp;&amp;&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Reads a signed 16-bit integer from the stream into <em>i</em>, and
returns a reference to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-4"></a>TQDataStream::operator&gt;&gt; ( Q_UINT16&nbsp;&amp;&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-4"></a>TQDataStream::operator&gt;&gt; ( TQ_UINT16&nbsp;&amp;&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Reads an unsigned 16-bit integer from the stream into <em>i</em>, and
returns a reference to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-5"></a>TQDataStream::operator&gt;&gt; ( Q_INT32&nbsp;&amp;&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-5"></a>TQDataStream::operator&gt;&gt; ( TQ_INT32&nbsp;&amp;&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Reads a signed 32-bit integer from the stream into <em>i</em>, and
returns a reference to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-6"></a>TQDataStream::operator&gt;&gt; ( Q_UINT32&nbsp;&amp;&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-6"></a>TQDataStream::operator&gt;&gt; ( TQ_UINT32&nbsp;&amp;&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Reads an unsigned 32-bit integer from the stream into <em>i</em>, and
returns a reference to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-7"></a>TQDataStream::operator&gt;&gt; ( Q_INT64&nbsp;&amp;&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-7"></a>TQDataStream::operator&gt;&gt; ( TQ_INT64&nbsp;&amp;&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Reads a signed 64-bit integer from the stream into <em>i</em>, and
returns a reference to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-8"></a>TQDataStream::operator&gt;&gt; ( Q_UINT64&nbsp;&amp;&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-8"></a>TQDataStream::operator&gt;&gt; ( TQ_UINT64&nbsp;&amp;&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Reads an unsigned 64-bit integer from the stream, into <em>i</em>, and
returns a reference to the stream.
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-9"></a>TQDataStream::operator&gt;&gt; ( Q_LONG&nbsp;&amp;&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-9"></a>TQDataStream::operator&gt;&gt; ( TQ_LONG&nbsp;&amp;&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Reads a signed integer of the system's word length from the stream
into <em>i</em>, and returns a reference to the stream.
<p>
-<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-a"></a>TQDataStream::operator&gt;&gt; ( Q_ULONG&nbsp;&amp;&nbsp;i )
+<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt-a"></a>TQDataStream::operator&gt;&gt; ( TQ_ULONG&nbsp;&amp;&nbsp;i )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Reads an unsigned integer of the system's word length from the
@@ -470,7 +470,7 @@ the stream.
<p> The buffer <em>s</em> is allocated using <tt>new</tt>. Destroy it with the <tt>delete[]</tt> operator. If the length is zero or <em>s</em> cannot be
allocated, <em>s</em> is set to 0.
<p> The <em>l</em> parameter will be set to the length of the buffer.
-<p> The serialization format is a Q_UINT32 length specifier first,
+<p> The serialization format is a TQ_UINT32 length specifier first,
then <em>l</em> bytes of data. Note that the data is <em>not</em> encoded.
<p> <p>See also <a href="#readRawBytes">readRawBytes</a>() and <a href="#writeBytes">writeBytes</a>().
@@ -547,7 +547,7 @@ Unsets the IO device. This is the same as calling <a href="#setDevice">setDevice
</h3>
Writes the length specifier <em>len</em> and the buffer <em>s</em> to the
stream and returns a reference to the stream.
-<p> The <em>len</em> is serialized as a Q_UINT32, followed by <em>len</em> bytes
+<p> The <em>len</em> is serialized as a TQ_UINT32, followed by <em>len</em> bytes
from <em>s</em>. Note that the data is <em>not</em> encoded.
<p> <p>See also <a href="#writeRawBytes">writeRawBytes</a>() and <a href="#readBytes">readBytes</a>().