Fix some qdoc warnings from QByteArray

A snippet bug, and removed overloads.

Change-Id: I82aee3627ba1a4e75e392b28d8ec72d470c395db
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Volker Hilsheimer 2020-09-23 00:34:49 +02:00
parent 93e22bd21f
commit 50e33159f1
2 changed files with 1 additions and 18 deletions

View File

@ -422,7 +422,7 @@ text.data(); // returns "Qt is great!"
QByteArray::fromBase64("PHA+SGVsbG8/PC9wPg==", QByteArray::Base64Encoding); // returns "<p>Hello?</p>"
QByteArray::fromBase64("PHA-SGVsbG8_PC9wPg==", QByteArray::Base64UrlEncoding); // returns "<p>Hello?</p>"
//! [44bis]
//! [44]
//! [44ter]
void process(const QByteArray &);

View File

@ -2191,23 +2191,6 @@ QByteArray &QByteArray::replace(QByteArrayView before, QByteArrayView after)
return *this;
}
/*!
\fn QByteArray &QByteArray::replace(const QByteArray &before, const char *after)
\overload
Replaces every occurrence of the byte in \a before with the '\\0'-terminated
string \a after.
*/
/*! \fn QByteArray &QByteArray::replace(const char *before, const char *after)
\overload
Replaces every occurrence of the '\\0'-terminated string \a before with the
'\\0'-terminated string \a after.
*/
/*!
\fn QByteArray &QByteArray::replace(char before, QByteArrayView after)
\overload