QMetaSequence::Iterable::Iterator Class
class QMetaSequence::Iterable::IteratorQMetaSequence::Iterable::Iterator allows iteration over a container in a QVariant. More...
This class was introduced in Qt 6.11.
Public Functions
| int | operator*() const |
| int | operator->() const |
| int | operator[](qsizetype n) const |
Detailed Description
A QMetaSequence::Iterable::Iterator can only be created by a QMetaSequence::Iterable instance, and can be used in a way similar to other stl-style iterators.
Member Function Documentation
int Iterator::operator*() const
Returns the current item, converted to a QVariant::Reference.
int Iterator::operator->() const
Returns the current item, converted to a QVariant::Pointer.
int Iterator::operator[](qsizetype n) const
Returns the item offset from the current one by n, converted to a QVariant::Reference.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.