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 92b8fce..40f2c20 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
- tqDebug( "%d: %d", i, a[i] );
+ qDebug( "%d: %d", i, a[i] );
.br
.br
- tqDebug( "1 is found %d times", a.contains(1) );
+ qDebug( "1 is found %d times", a.contains(1) );
.br
- tqDebug( "5 is found at index %d", a.find(5) );
+ qDebug( "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 tqChecksum ( const char * data, uint len )"
+.SH "Q_UINT16 qChecksum ( 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).