QItemModelBuffer Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | QItemModelBuffer

Qt 5.6.2 Reference Documentation

# QItemModelBuffer Class

(Qt3DRender::QItemModelBuffer)

Inherits: | QObject

- List of all members, including inherited members

## Public Functions

| QItemModelBuffer()
QAttribute * | attributeByName(QString nm) const
QStringList | attributeNames() const
QBuffer * | buffer()
void | mapRoleName(QByteArray roleName, int type)
void | mapRoleName(QByteArray roleName, QString attributeName, int type)
void | setModel(QAbstractItemModel *model)
void | setRoot(const QModelIndex &rootIndex)

- 31 public functions inherited from QObject

### Additional Inherited Members

- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject

## Member Function Documentation

### QItemModelBuffer::QItemModelBuffer()

Default constructs an instance of QItemModelBuffer.

### QAttribute *QItemModelBuffer::attributeByName(QString nm) const

### QStringList QItemModelBuffer::attributeNames() const

### QBuffer *QItemModelBuffer::buffer()

### void QItemModelBuffer::mapRoleName(QByteArray roleName, int type)

### void QItemModelBuffer::mapRoleName(QByteArray roleName, QString attributeName, int type)

### void QItemModelBuffer::setModel(QAbstractItemModel *model)

### void QItemModelBuffer::setRoot(const QModelIndex &rootIndex)