On this page

QRangeModelAdapter::ConstRowReference Struct

struct QRangeModelAdapter::ConstRowReference

ConstRowReference is a reference wrapper around a const row in a QRangeModel. More...

This struct is in technology preview and is subject to change.

This struct was introduced in Qt 6.11.

Public Functions

ConstRowReference()
ConstRowReference(const QRangeModelAdapter<Range, Protocol, Model>::ConstRowReference &)
ConstRowReference(QRangeModelAdapter<Range, Protocol, Model>::ConstRowReference &&)
~ConstRowReference()
QRangeModelAdapter<Range, Protocol, Model>::ConstRowReference &operator=(QRangeModelAdapter<Range, Protocol, Model>::ConstRowReference &&)
QRangeModelAdapter<Range, Protocol, Model>::ConstRowReference &operator=(const QRangeModelAdapter<Range, Protocol, Model>::ConstRowReference &)

Detailed Description

For ranges that are tables or trees, accessing a row of a QRangeModelAdapter using the const overloads of at() or subscript operator[], or by dereferencing a ConstRowIterator, returns a ConstRowReference for the specified row.

See also RowReference and DataReference.

Member Function Documentation

[default] ConstRowReference::ConstRowReference()

Default-constructs an instance of ConstRowReference.

[default] ConstRowReference::ConstRowReference(const QRangeModelAdapter<Range, Protocol, Model>::ConstRowReference &)

Copy-constructs an instance of ConstRowReference.

[default] ConstRowReference::ConstRowReference(QRangeModelAdapter<Range, Protocol, Model>::ConstRowReference &&)

Move-constructs an instance of ConstRowReference.

[default] ConstRowReference::~ConstRowReference()

Destroys the instance of ConstRowReference.

[default] QRangeModelAdapter<Range, Protocol, Model>::ConstRowReference &ConstRowReference::operator=(QRangeModelAdapter<Range, Protocol, Model>::ConstRowReference &&)

Move-assigns other to this ConstRowReference instance.

[default] QRangeModelAdapter<Range, Protocol, Model>::ConstRowReference &ConstRowReference::operator=(const QRangeModelAdapter<Range, Protocol, Model>::ConstRowReference &)

Copy-assigns other to this ConstRowReference instance.

© 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.