doc: Fix null-termination function signatures and link
Pick-to: 6.9 Change-Id: I89498714daae5415fa595f0216dd888f4c6b9d33 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
69c992b02c
commit
3acd5a1951
@ -2012,7 +2012,7 @@ void QByteArray::expand(qsizetype i)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn QByteArray &QByteArray::nullTerminate() const
|
\fn QByteArray &QByteArray::nullTerminate()
|
||||||
\since 6.9
|
\since 6.9
|
||||||
|
|
||||||
If this byte array's data isn't null-terminated, this method will make
|
If this byte array's data isn't null-terminated, this method will make
|
||||||
@ -2027,7 +2027,7 @@ void QByteArray::expand(qsizetype i)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn QByteArray QByteArray::nullTerminated() const
|
\fn QByteArray QByteArray::nullTerminated() const &
|
||||||
\since 6.9
|
\since 6.9
|
||||||
|
|
||||||
Returns a copy of this byte array that is always null-terminated.
|
Returns a copy of this byte array that is always null-terminated.
|
||||||
@ -4459,7 +4459,7 @@ QByteArray QByteArray::number(double n, char format, int precision)
|
|||||||
This function can be used instead of fromRawData() to re-use
|
This function can be used instead of fromRawData() to re-use
|
||||||
existing QByteArray objects to save memory re-allocations.
|
existing QByteArray objects to save memory re-allocations.
|
||||||
|
|
||||||
\sa fromRawData(), data(), constData(), nullTermiante(), nullTerminated()
|
\sa fromRawData(), data(), constData(), nullTerminate(), nullTerminated()
|
||||||
*/
|
*/
|
||||||
QByteArray &QByteArray::setRawData(const char *data, qsizetype size)
|
QByteArray &QByteArray::setRawData(const char *data, qsizetype size)
|
||||||
{
|
{
|
||||||
|
@ -7064,7 +7064,7 @@ const ushort *QString::utf16() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn QString nullTerminate() const
|
\fn QString &QString::nullTerminate()
|
||||||
\since 6.9
|
\since 6.9
|
||||||
|
|
||||||
If this string data isn't null-terminated, this method will make a deep
|
If this string data isn't null-terminated, this method will make a deep
|
||||||
@ -7079,7 +7079,7 @@ const ushort *QString::utf16() const
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn QString nullTerminated() const
|
\fn QString QString::nullTerminated() const &
|
||||||
\since 6.9
|
\since 6.9
|
||||||
|
|
||||||
Returns a copy of this string that is always null-terminated.
|
Returns a copy of this string that is always null-terminated.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user