Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
VDMObjectDelegateDataType Class Referencefinal

#include <qqmldmobjectdata_p.h>

Inheritance diagram for VDMObjectDelegateDataType:
Collaboration diagram for VDMObjectDelegateDataType:

Public Member Functions

 VDMObjectDelegateDataType (QQmlAdaptorModel *model)
 VDMObjectDelegateDataType (const VDMObjectDelegateDataType &type)
int rowCount (const QQmlAdaptorModel &model) const override
int columnCount (const QQmlAdaptorModel &) const override
QVariant value (const QQmlAdaptorModel &model, int index, const QString &role) const override
QQmlDelegateModelItemcreateItem (QQmlAdaptorModel &model, const QQmlRefPointer< QQmlDelegateModelItemMetaType > &metaType, int index, int row, int column) override
void initializeMetaObject ()
void cleanup (QQmlAdaptorModel &) const override
bool notify (const QQmlAdaptorModel &model, const QList< QQmlDelegateModelItem * > &items, int index, int count, const QVector< int > &) const override
Public Member Functions inherited from QQmlRefCounted< VDMObjectDelegateDataType >
void release () const
Public Member Functions inherited from QQmlRefCount
 QQmlRefCount ()
void addref () const
int count () const
Public Member Functions inherited from QQmlAdaptorModel::Accessors
 Accessors ()
virtual ~Accessors ()
virtual void replaceWatchedRoles (QQmlAdaptorModel &, const QList< QByteArray > &, const QList< QByteArray > &) const
virtual QVariant parentModelIndex (const QQmlAdaptorModel &) const
virtual QVariant modelIndex (const QQmlAdaptorModel &, int) const
virtual bool canFetchMore (const QQmlAdaptorModel &) const
virtual void fetchMore (QQmlAdaptorModel &) const

Public Attributes

QMetaObjectBuilder builder
QQmlAdaptorModelmodel = nullptr
int propertyOffset = 0
int signalOffset = 0
bool shared = false
Public Attributes inherited from QQmlAdaptorModel::Accessors
QScopedPointer< QMetaObject, QScopedPointerPodDeletermetaObject
QQmlPropertyCache::ConstPtr propertyCache

Additional Inherited Members

Protected Member Functions inherited from QQmlRefCounted< VDMObjectDelegateDataType >
 ~QQmlRefCounted ()

Detailed Description

Definition at line 58 of file qqmldmobjectdata_p.h.

Constructor & Destructor Documentation

◆ VDMObjectDelegateDataType() [1/2]

VDMObjectDelegateDataType::VDMObjectDelegateDataType ( QQmlAdaptorModel * model)
inline

Definition at line 69 of file qqmldmobjectdata_p.h.

References VDMObjectDelegateDataType(), and shared.

Referenced by VDMObjectDelegateDataType().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ VDMObjectDelegateDataType() [2/2]

VDMObjectDelegateDataType::VDMObjectDelegateDataType ( const VDMObjectDelegateDataType & type)
inline

Definition at line 75 of file qqmldmobjectdata_p.h.

References VDMObjectDelegateDataType(), propertyOffset, and signalOffset.

Referenced by VDMObjectDelegateDataType(), and QQmlDMObjectDataMetaObject::createProperty().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ cleanup()

void VDMObjectDelegateDataType::cleanup ( QQmlAdaptorModel & ) const
inlineoverridevirtual

Reimplemented from QQmlAdaptorModel::Accessors.

Definition at line 129 of file qqmldmobjectdata_p.h.

◆ columnCount()

int VDMObjectDelegateDataType::columnCount ( const QQmlAdaptorModel & ) const
inlineoverridevirtual

Reimplemented from QQmlAdaptorModel::Accessors.

Definition at line 92 of file qqmldmobjectdata_p.h.

◆ createItem()

QQmlDelegateModelItem * VDMObjectDelegateDataType::createItem ( QQmlAdaptorModel & model,
const QQmlRefPointer< QQmlDelegateModelItemMetaType > & metaType,
int index,
int row,
int column )
inlineoverridevirtual

Reimplemented from QQmlAdaptorModel::Accessors.

Definition at line 104 of file qqmldmobjectdata_p.h.

References initializeMetaObject().

Here is the call graph for this function:

◆ initializeMetaObject()

void VDMObjectDelegateDataType::initializeMetaObject ( )
inline

Definition at line 116 of file qqmldmobjectdata_p.h.

Referenced by createItem().

Here is the caller graph for this function:

◆ notify()

bool VDMObjectDelegateDataType::notify ( const QQmlAdaptorModel & model,
const QList< QQmlDelegateModelItem * > & items,
int index,
int count,
const QVector< int > &  ) const
inlineoverridevirtual

Reimplemented from QQmlAdaptorModel::Accessors.

Definition at line 134 of file qqmldmobjectdata_p.h.

◆ rowCount()

int VDMObjectDelegateDataType::rowCount ( const QQmlAdaptorModel & model) const
inlineoverridevirtual

Reimplemented from QQmlAdaptorModel::Accessors.

Definition at line 87 of file qqmldmobjectdata_p.h.

◆ value()

QVariant VDMObjectDelegateDataType::value ( const QQmlAdaptorModel & model,
int index,
const QString & role ) const
inlineoverridevirtual

Reimplemented from QQmlAdaptorModel::Accessors.

Definition at line 97 of file qqmldmobjectdata_p.h.

Member Data Documentation

◆ builder

QMetaObjectBuilder VDMObjectDelegateDataType::builder

Definition at line 63 of file qqmldmobjectdata_p.h.

◆ model

QQmlAdaptorModel* VDMObjectDelegateDataType::model = nullptr

Definition at line 64 of file qqmldmobjectdata_p.h.

◆ propertyOffset

int VDMObjectDelegateDataType::propertyOffset = 0

◆ shared

bool VDMObjectDelegateDataType::shared = false

◆ signalOffset

int VDMObjectDelegateDataType::signalOffset = 0

Definition at line 66 of file qqmldmobjectdata_p.h.

Referenced by VDMObjectDelegateDataType().


The documentation for this class was generated from the following file: