From f326a565efadcac909436101e25befa63e89e9ca Mon Sep 17 00:00:00 2001 From: Sona Kurazyan Date: Mon, 19 Sep 2022 14:54:00 +0200 Subject: [PATCH] Move docs for Q_INT64_C()/Q_UINT64_C() macros to qtypes.cpp Task-number: QTBUG-106154 Change-Id: I5975a1633c2848d13e95cb857b31bb1eab11573c Reviewed-by: Thiago Macieira --- src/corelib/global/qglobal.cpp | 26 -------------------------- src/corelib/global/qtypes.cpp | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index ca01ea0659..7ea1ed69db 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -203,32 +203,6 @@ using namespace Qt::StringLiterals; no arguments and returns void. */ -/*! \macro qint64 Q_INT64_C(literal) - \relates - - Wraps the signed 64-bit integer \a literal in a - platform-independent way. - - Example: - - \snippet code/src_corelib_global_qglobal.cpp 8 - - \sa qint64, Q_UINT64_C() -*/ - -/*! \macro quint64 Q_UINT64_C(literal) - \relates - - Wraps the unsigned 64-bit integer \a literal in a - platform-independent way. - - Example: - - \snippet code/src_corelib_global_qglobal.cpp 9 - - \sa quint64, Q_INT64_C() -*/ - /*! \macro QT_VERSION_STR \relates diff --git a/src/corelib/global/qtypes.cpp b/src/corelib/global/qtypes.cpp index 8c2bab253c..515f158f52 100644 --- a/src/corelib/global/qtypes.cpp +++ b/src/corelib/global/qtypes.cpp @@ -317,6 +317,32 @@ QT_BEGIN_NAMESPACE See qsizetype. */ +/*! \macro qint64 Q_INT64_C(literal) + \relates + + Wraps the signed 64-bit integer \a literal in a + platform-independent way. + + Example: + + \snippet code/src_corelib_global_qglobal.cpp 8 + + \sa qint64, Q_UINT64_C() +*/ + +/*! \macro quint64 Q_UINT64_C(literal) + \relates + + Wraps the unsigned 64-bit integer \a literal in a + platform-independent way. + + Example: + + \snippet code/src_corelib_global_qglobal.cpp 9 + + \sa quint64, Q_INT64_C() +*/ + // Statically check assumptions about the environment we're running // in. The idea here is to error or warn if otherwise implicit Qt // assumptions are not fulfilled on new hardware or compilers