Fix the qtliterals documentation

Use QString as inheader record as the place of definition of both
Qt::Literals and Qt::Literals::StringLiterals. Previously mentioned
headers never exist.

Fixes: QTBUG-120379
Pick-to: 6.6 6.5
Change-Id: I104f73b338a144ef5f296500a9a4368cd3791750
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 8081c618827403b2658236d6fefbca0e88517303)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Alexey Edelev 2023-12-27 09:41:59 +01:00 committed by Qt Cherry-pick Bot
parent 6b9270fd72
commit c257e2bf99

View File

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