summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/qmemarray.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/qmemarray.3qt')
-rw-r--r--doc/man/man3/qmemarray.3qt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/qmemarray.3qt b/doc/man/man3/qmemarray.3qt
index 1b6e68735..5a26651d0 100644
--- a/doc/man/man3/qmemarray.3qt
+++ b/doc/man/man3/qmemarray.3qt
@@ -203,12 +203,12 @@ Example:
.br
for ( int i = 0; i < a.size(); i++ )
.br
- qDebug( "%d: %d", i, a[i] );
+ tqDebug( "%d: %d", i, a[i] );
.br
.br
- qDebug( "1 is found %d times", a.contains(1) );
+ tqDebug( "1 is found %d times", a.contains(1) );
.br
- qDebug( "5 is found at index %d", a.find(5) );
+ tqDebug( "5 is found at index %d", a.find(5) );
.br
.br
return 0;
@@ -540,7 +540,7 @@ See also Format of the QDataStream operators.
Reads a byte array into \fIa\fR from the stream \fIs\fR and returns a reference to the stream.
.PP
See also Format of the QDataStream operators.
-.SH "Q_UINT16 qChecksum ( const char * data, uint len )"
+.SH "Q_UINT16 tqChecksum ( const char * data, uint len )"
Returns the CRC-16 checksum of \fIlen\fR bytes starting at \fIdata\fR.
.PP
The checksum is independent of the byte order (endianness).