doc: Change links from begin() and end() to constBegin() and constEnd()

It appears that there are no longer relevant begin() and end() functions
to link to. constBegin() and constEnd() are the relevant alternatives.

Pick-to: 6.8
Change-Id: If6fc421ee08364de9a879fb704a7989046b9b43a
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit c8e59d682cc2c6a5cbe124575bb54316af55bed1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
David Boddie 2025-02-11 17:23:12 +01:00 committed by Qt Cherry-pick Bot
parent 80dee1a9f9
commit 8014b45a7a

View File

@ -155,7 +155,7 @@ QT_BEGIN_NAMESPACE
next item in the container and returns an iterator to the new current
item.
Calling this function on QSequentialIterable::end() leads to undefined results.
Calling this function on QSequentialIterable::constEnd() leads to undefined results.
\sa operator--()
*/
@ -176,7 +176,7 @@ QT_BEGIN_NAMESPACE
The prefix \c{--} operator (\c{--it}) makes the preceding item
current and returns an iterator to the new current item.
Calling this function on QSequentialIterable::begin() leads to undefined results.
Calling this function on QSequentialIterable::constBegin() leads to undefined results.
If the container in the QVariant does not support bi-directional iteration, calling this function
leads to undefined results.
@ -512,7 +512,7 @@ QT_BEGIN_NAMESPACE
next item in the container and returns an iterator to the new current
item.
Calling this function on QSequentialIterable::end() leads to undefined results.
Calling this function on QSequentialIterable::constEnd() leads to undefined results.
\sa operator--()
*/
@ -533,7 +533,7 @@ QT_BEGIN_NAMESPACE
The prefix \c{--} operator (\c{--it}) makes the preceding item
current and returns an iterator to the new current item.
Calling this function on QSequentialIterable::begin() leads to undefined results.
Calling this function on QSequentialIterable::constBegin() leads to undefined results.
If the container in the QVariant does not support bi-directional iteration, calling this function
leads to undefined results.