QRangeModelAdapter::RowIterator Struct
struct QRangeModelAdapter::RowIteratorFornece um iterador não-const no estilo STL para as linhas de um modelo. Mais...
Essa estrutura está em pré-visualização tecnológica e está sujeita a alterações.
Essa estrutura foi introduzida no Qt 6.11.
Funções públicas
| 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) |
Descrição detalhada
O iterador modela um ` std::random_access_iterator`. Se o modelo for uma lista, a desreferência do iterador retorna um wrapper ` DataReference ` para o item apontado no modelo.
Para tabelas e árvores, a desreferência do iterador retorna um ` RowReference ` para a linha apontada.
Documentação das funções-membro
[default] RowIterator::RowIterator(const QRangeModelAdapter<Range, Protocol, Model>::RowIterator &other)
Cria uma instância de ` RowIterator` por meio de cópia.
[default] RowIterator::RowIterator(QRangeModelAdapter<Range, Protocol, Model>::RowIterator &&other)
Move cria uma instância de ` RowIterator`.
[default] RowIterator::~RowIterator()
Destrói a instância de ` RowIterator`.
[default] QRangeModelAdapter<Range, Protocol, Model>::RowIterator &RowIterator::operator=(QRangeModelAdapter<Range, Protocol, Model>::RowIterator &&other)
Atribui o ` other ` a esta instância do ` RowIterator `.
[default] QRangeModelAdapter<Range, Protocol, Model>::RowIterator &RowIterator::operator=(const QRangeModelAdapter<Range, Protocol, Model>::RowIterator &other)
Copia e atribui other a esta instância de RowIterator.
© 2026 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.