QRangeModelAdapter::RowIterator Struct
struct QRangeModelAdapter::RowIteratorProvides an STL-style non-const iterator over the rows of a model. More...
This struct is in technology preview and is subject to change.
This struct was introduced in Qt 6.11.
Public Functions
| RowIterator(const QRangeModelAdapter<Range, Protocol, Model>::RowIterator &other) | |
| RowIterator(QRangeModelAdapter<Range, Protocol, Model>::RowIterator &&other) | |
| ~RowIterator() | |
| QRangeModelAdapter<Range, Protocol, Model>::RowIterator & | operator=(QRangeModelAdapter<Range, Protocol, Model>::RowIterator &&other) |
| QRangeModelAdapter<Range, Protocol, Model>::RowIterator & | operator=(const QRangeModelAdapter<Range, Protocol, Model>::RowIterator &other) |
Detailed Description
The iterator models std::random_access_iterator. If the model is a list, then dereferencing the iterator returns a DataReference wrapper for the pointed-to item in the model.
For tables and trees, dereferencing the iterator returns a RowReference for the pointed-to row.
Member Function Documentation
[default] RowIterator::RowIterator(const QRangeModelAdapter<Range, Protocol, Model>::RowIterator &other)
Copy-constructs an instance of RowIterator.
[default] RowIterator::RowIterator(QRangeModelAdapter<Range, Protocol, Model>::RowIterator &&other)
Move-constructs an instance of RowIterator.
[default] RowIterator::~RowIterator()
Destroys the instance of RowIterator.
[default] QRangeModelAdapter<Range, Protocol, Model>::RowIterator &RowIterator::operator=(QRangeModelAdapter<Range, Protocol, Model>::RowIterator &&other)
Move-assigns other to this RowIterator instance.
[default] QRangeModelAdapter<Range, Protocol, Model>::RowIterator &RowIterator::operator=(const QRangeModelAdapter<Range, Protocol, Model>::RowIterator &other)
Copy-assigns other to this RowIterator instance.