diff options
Diffstat (limited to 'src/corelib/global/qforeach.qdoc')
-rw-r--r-- | src/corelib/global/qforeach.qdoc | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/corelib/global/qforeach.qdoc b/src/corelib/global/qforeach.qdoc index 278f1a1007..e6abf0e29c 100644 --- a/src/corelib/global/qforeach.qdoc +++ b/src/corelib/global/qforeach.qdoc @@ -52,11 +52,9 @@ \snippet code/src_corelib_global_qglobal.cpp 33 - \note Since Qt 5.7, the use of this macro is discouraged. It will - be removed in a future version of Qt. Please use C++11 range-for, - possibly with qAsConst(), as needed. - - \sa qAsConst() + \note Since Qt 5.7, the use of this macro is discouraged. + Use C++11 range-based \c for, possibly with \c {std::as_const()}, + as needed. */ /*! @@ -68,9 +66,7 @@ This macro is available even when \c no_keywords is specified using the \c .pro file's \c CONFIG variable. - \note Since Qt 5.7, the use of this macro is discouraged. It will - be removed in a future version of Qt. Please use C++11 range-for, - possibly with qAsConst(), as needed. - - \sa qAsConst() + \note Since Qt 5.7, the use of this macro is discouraged. + Use C++11 range-based \c for, possibly with \c {std::as_const()}, + as needed. */ |