Doc: Cross-link QString's methods

Arguably, when talking about «null-string» constructor, it might be
useful to read about which strings are considered null, and which
methods one can use to test that.

Change-Id: Ie30144f33000aac53f4041cfb99da28a79dad946
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
Ivan Tkachenko 2022-01-12 18:39:04 +03:00
parent 9f6f3da8eb
commit 321e51d926

View File

@ -2323,9 +2323,9 @@ static int qArgDigitValue(QChar ch) noexcept
/*!
\fn QString::QString()
Constructs a null string. Null strings are also empty.
Constructs a null string. Null strings are also considered empty.
\sa isEmpty()
\sa isEmpty(), isNull(), {Distinction Between Null and Empty Strings}
*/
/*!
@ -9108,7 +9108,9 @@ QString &QString::setRawData(const QChar *unicode, qsizetype size)
/*! \fn QLatin1String::QLatin1String()
\since 5.6
Constructs a QLatin1String object that stores a nullptr.
Constructs a QLatin1String object that stores a \nullptr.
\sa data(), isEmpty(), isNull(), {Distinction Between Null and Empty Strings}
*/
/*! \fn QLatin1String::QLatin1String(const char *str)