summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.cpp
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2022-07-06 14:59:04 +0200
committerIvan Solovev <ivan.solovev@qt.io>2022-07-08 09:50:05 +0200
commit13868474f9aac7a0138a1a8d226973713b46a9ba (patch)
treeb3a85de5de524302cc5b0489a325498da633dd1b /src/corelib/global/qglobal.cpp
parente44edaac2c575df9b2f065b18b716cb21a0c2b75 (diff)
Move numeric functions from qglobal.h to qnumeric.h
Task-number: QTBUG-99313 Change-Id: Ic7f7d6ea6d2b81a8593c7cfe05aee1d62921afd1 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/corelib/global/qglobal.cpp')
-rw-r--r--src/corelib/global/qglobal.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index c894471ad6..2cbbd8d68d 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -1113,7 +1113,7 @@ static_assert(sizeof(qint64) == 8, "Internal error, qint64 is misdefined");
*/
/*! \fn template <typename T> T qAbs(const T &t)
- \relates <QtGlobal>
+ \relates <QtNumeric>
Compares \a t to the 0 of type T and returns the absolute
value. Thus if T is \e {double}, then \a t is compared to
@@ -1125,7 +1125,7 @@ static_assert(sizeof(qint64) == 8, "Internal error, qint64 is misdefined");
*/
/*! \fn int qRound(double d)
- \relates <QtGlobal>
+ \relates <QtNumeric>
Rounds \a d to the nearest integer.
@@ -1139,7 +1139,7 @@ static_assert(sizeof(qint64) == 8, "Internal error, qint64 is misdefined");
*/
/*! \fn int qRound(float d)
- \relates <QtGlobal>
+ \relates <QtNumeric>
Rounds \a d to the nearest integer.
@@ -1153,7 +1153,7 @@ static_assert(sizeof(qint64) == 8, "Internal error, qint64 is misdefined");
*/
/*! \fn qint64 qRound64(double d)
- \relates <QtGlobal>
+ \relates <QtNumeric>
Rounds \a d to the nearest 64-bit integer.
@@ -1167,7 +1167,7 @@ static_assert(sizeof(qint64) == 8, "Internal error, qint64 is misdefined");
*/
/*! \fn qint64 qRound64(float d)
- \relates <QtGlobal>
+ \relates <QtNumeric>
Rounds \a d to the nearest 64-bit integer.
@@ -4468,7 +4468,7 @@ bool QInternal::activateCallbacks(Callback cb, void **parameters)
/*!
\fn bool qFuzzyCompare(double p1, double p2)
- \relates <QtGlobal>
+ \relates <QtNumeric>
\since 4.4
\threadsafe
@@ -4488,7 +4488,7 @@ bool QInternal::activateCallbacks(Callback cb, void **parameters)
/*!
\fn bool qFuzzyCompare(float p1, float p2)
- \relates <QtGlobal>
+ \relates <QtNumeric>
\since 4.4
\threadsafe
@@ -4501,7 +4501,7 @@ bool QInternal::activateCallbacks(Callback cb, void **parameters)
/*!
\fn bool qFuzzyIsNull(double d)
- \relates <QtGlobal>
+ \relates <QtNumeric>
\since 4.4
\threadsafe
@@ -4510,7 +4510,7 @@ bool QInternal::activateCallbacks(Callback cb, void **parameters)
/*!
\fn bool qFuzzyIsNull(float f)
- \relates <QtGlobal>
+ \relates <QtNumeric>
\since 4.4
\threadsafe