Doc: Show correct headerfile for StringLiterals

The automatically generated `#include` statement for the
`Qt::Literals::StringLiterals` namespace contains the wrong header file
name. Use QDoc's `\headerfile` command to ensure QDoc generates the
correct `#include` statement.

Pick-to: 6.5
Fixes: QTBUG-112884
Change-Id: I825402dc9d8d451fecc120697486d4bf81e468d3
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Paul Wicking 2023-04-15 09:34:57 +02:00
parent 72d6768ec1
commit ab636a95c3

View File

@ -11,6 +11,7 @@
/*!
\namespace Qt::Literals
\inmodule QtCore
\headerfile QtLiterals
\brief The Literals inline namespace declares literal operators for Qt types.
*/
@ -18,6 +19,7 @@
/*!
\namespace Qt::Literals::StringLiterals
\inmodule QtCore
\headerfile QStringLiterals
\brief The StringLiterals namespace declares string literal operators
for Qt types.