diff options
Diffstat (limited to 'doc/html/ntqdatastream.html')
-rw-r--r-- | doc/html/ntqdatastream.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/ntqdatastream.html b/doc/html/ntqdatastream.html index 0cea75757..5808241b5 100644 --- a/doc/html/ntqdatastream.html +++ b/doc/html/ntqdatastream.html @@ -121,14 +121,14 @@ data to. The <a href="ntqfile.html">TQFile</a> class is an example of an IO devi <a href="ntqfile.html">TQFile</a> file( "file.dat" ); file.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_ReadOnly</a> ); TQDataStream stream( &file ); // read the data serialized from the file - <a href="ntqstring.html">TQString</a> str; + <a href="tqstring.html">TQString</a> str; TQ_INT32 a; stream >> str >> a; // extract "the answer is" and 42 </pre> <p> Each item written to the stream is written in a predefined binary format that varies depending on the item's type. Supported TQt -types include <a href="ntqbrush.html">TQBrush</a>, <a href="ntqcolor.html">TQColor</a>, <a href="ntqdatetime.html">TQDateTime</a>, <a href="ntqfont.html">TQFont</a>, <a href="ntqpixmap.html">TQPixmap</a>, <a href="ntqstring.html">TQString</a>, +types include <a href="ntqbrush.html">TQBrush</a>, <a href="ntqcolor.html">TQColor</a>, <a href="ntqdatetime.html">TQDateTime</a>, <a href="ntqfont.html">TQFont</a>, <a href="ntqpixmap.html">TQPixmap</a>, <a href="tqstring.html">TQString</a>, <a href="ntqvariant.html">TQVariant</a> and many others. For the complete list of all TQt types supporting data streaming see the <a href="datastreamformat.html">Format of the TQDataStream operators</a>. <p> For integers it is best to always cast to a TQt integer type for |