From e6077c30d14e9d662e8843c554db86c0d366d0b6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 6 Jun 2024 13:44:12 +0900 Subject: Rename str nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/ntqdatastream.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/ntqdatastream.html') 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 TQFile class is an example of an IO devi TQFile file( "file.dat" ); file.open( IO_ReadOnly ); TQDataStream stream( &file ); // read the data serialized from the file - TQString str; + TQString str; TQ_INT32 a; stream >> str >> a; // extract "the answer is" and 42

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 TQBrush, TQColor, TQDateTime, TQFont, TQPixmap, TQString, +types include TQBrush, TQColor, TQDateTime, TQFont, TQPixmap, TQString, TQVariant and many others. For the complete list of all TQt types supporting data streaming see the Format of the TQDataStream operators.

For integers it is best to always cast to a TQt integer type for -- cgit v1.2.3