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.

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>
(cherry picked from commit 8014b45a7af7fb3b45b88fa6f4ee2ab5dca0fe23)
bb10
David Boddie 2025-02-11 17:23:12 +01:00 committed by Qt Cherry-pick Bot
parent 86a116482d
commit 22732578b7
1 changed files with 4 additions and 4 deletions

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.