summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@nokia.com>2010-06-29 08:33:03 (GMT)
committerZeno Albisser <zeno.albisser@nokia.com>2010-06-29 08:56:06 (GMT)
commitd3f6e14066219a957f48d24e9f39d3d0c5a61f53 (patch)
treed8d36306f53ff2d42225c998da93df7cf9615ccb /src/corelib
parentc1f7b33016db39f8e2d24d9a3dcd2df57e27c6e9 (diff)
downloadQt-d3f6e14066219a957f48d24e9f39d3d0c5a61f53.zip
Qt-d3f6e14066219a957f48d24e9f39d3d0c5a61f53.tar.gz
Qt-d3f6e14066219a957f48d24e9f39d3d0c5a61f53.tar.bz2
added a comment for QByteArray::replace(..)
Reviewed-by: Thomas Zander Task-number: QTBUG-8370
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/tools/qbytearray.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/tools/qbytearray.cpp b/src/corelib/tools/qbytearray.cpp
index 05d38f6..b46af1f 100644
--- a/src/corelib/tools/qbytearray.cpp
+++ b/src/corelib/tools/qbytearray.cpp
@@ -1805,6 +1805,11 @@ QByteArray &QByteArray::replace(int pos, int len, const QByteArray &after)
/*! \fn QByteArray &QByteArray::replace(int pos, int len, const char *after)
\overload
+
+ Replaces \a len bytes from index position \a pos with the zero terminated
+ string \a after.
+
+ Notice: this can change the lenght of the byte array.
*/
QByteArray &QByteArray::replace(int pos, int len, const char *after)
{