QRangeModelAdapter::RowIterator Struct
struct QRangeModelAdapter::RowIteratorモデルの行に対して、STL スタイルの非 const イテレータを提供します。詳細...
この構造体はテクノロジープレビュー段階にあり、変更される可能性があります。
この構造体は Qt 6.11 で導入されました。
パブリック関数
| 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) |
詳細な説明
このイテレータは、std::random_access_iterator をモデルとしています。モデルがリストの場合、イテレータの参照を解除すると、モデル内の指し示された項目に対するDataReference ラッパーが返されます。
テーブルやツリーの場合、イテレータの参照を解除すると、ポインタが指す行に対する `RowReference ` が返されます。
メンバ関数のドキュメント
[default] RowIterator::RowIterator(const QRangeModelAdapter<Range, Protocol, Model>::RowIterator &other)
RowIterator のインスタンスをコピーして生成します。
[default] RowIterator::RowIterator(QRangeModelAdapter<Range, Protocol, Model>::RowIterator &&other)
RowIterator のインスタンスをMoveコンストラクタで生成します。
[default] RowIterator::~RowIterator()
RowIterator のインスタンスを破棄します。
[default] QRangeModelAdapter<Range, Protocol, Model>::RowIterator &RowIterator::operator=(QRangeModelAdapter<Range, Protocol, Model>::RowIterator &&other)
other をこのRowIterator インスタンスに割り当てます。
[default] QRangeModelAdapter<Range, Protocol, Model>::RowIterator &RowIterator::operator=(const QRangeModelAdapter<Range, Protocol, Model>::RowIterator &other)
other をこの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.