From d3f6e14066219a957f48d24e9f39d3d0c5a61f53 Mon Sep 17 00:00:00 2001 From: Zeno Albisser Date: Tue, 29 Jun 2010 10:33:03 +0200 Subject: added a comment for QByteArray::replace(..) Reviewed-by: Thomas Zander Task-number: QTBUG-8370 --- src/corelib/tools/qbytearray.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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) { -- cgit v0.12