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 6.9
Change-Id: If6fc421ee08364de9a879fb704a7989046b9b43a
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
David Boddie 2025-02-11 17:23:12 +01:00
parent f9334be98e
commit c8e59d682c

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.