summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2022-01-11 15:05:44 +0100
committerTopi Reiniö <topi.reinio@qt.io>2022-01-17 17:23:50 +0000
commitb99c08dd4ed6c9660e1b2c4d93cb1271e8039e03 (patch)
tree148781aaad88f67da5e46e6184a7cc106d6a2960 /src/corelib/global
parent8c4dee6f97d744ee54d60733f5e160da5e7616c7 (diff)
Doc: Use \inmodule for all classes and headers
QDoc made some assumptions about the module a class/header belongs to, based on the source file path. This feature is rather error-prone and unnecessarily complex and will be removed from QDoc. Define modules explicitly to avoid documentation warnings when this removal happens. Pick-to: 6.2 6.3 Change-Id: I7947d197db5ac36c12e816caa19bb2f74eda8849 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qendian.cpp1
-rw-r--r--src/corelib/global/qglobal.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/global/qendian.cpp b/src/corelib/global/qendian.cpp
index cc9158e34d..3605fe2c09 100644
--- a/src/corelib/global/qendian.cpp
+++ b/src/corelib/global/qendian.cpp
@@ -47,6 +47,7 @@ QT_BEGIN_NAMESPACE
/*!
\headerfile <QtEndian>
+ \inmodule QtCore
\title Endian Conversion Functions
\ingroup funclists
\brief The <QtEndian> header provides functions to convert between
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index a9c44d3237..7bb2fbc6aa 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -698,6 +698,7 @@ static_assert(sizeof(qint64) == 8, "Internal error, qint64 is misdefined");
/*!
\headerfile <QtGlobal>
+ \inmodule QtCore
\title Global Qt Declarations
\ingroup funclists