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.5 6.6 6.7
Change-Id: I104f73b338a144ef5f296500a9a4368cd3791750
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Alexey Edelev 2023-12-27 09:41:59 +01:00
parent 39290c508e
commit 8081c61882

View File

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