Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
VDMObjectDelegateDataType Class Referencefinal

#include <qqmldmobjectdata_p.h>

+ Inheritance diagram for VDMObjectDelegateDataType:
+ Collaboration diagram for VDMObjectDelegateDataType:

Public Member Functions

 VDMObjectDelegateDataType ()
 
 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 initializeMetaType (QQmlAdaptorModel &model)
 
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 int rowCount (const QQmlAdaptorModel &) const
 
virtual int columnCount (const QQmlAdaptorModel &) const
 
virtual void cleanup (QQmlAdaptorModel &) const
 
virtual QVariant value (const QQmlAdaptorModel &, int, const QString &) const
 
virtual QQmlDelegateModelItemcreateItem (QQmlAdaptorModel &, const QQmlRefPointer< QQmlDelegateModelItemMetaType > &, int, int, int)
 
virtual bool notify (const QQmlAdaptorModel &, const QList< QQmlDelegateModelItem * > &, int, int, const QVector< int > &) const
 
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

int propertyOffset
 
int signalOffset
 
bool shared
 
QMetaObjectBuilder builder
 
- 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 56 of file qqmldmobjectdata_p.h.

Constructor & Destructor Documentation

◆ VDMObjectDelegateDataType() [1/2]

VDMObjectDelegateDataType::VDMObjectDelegateDataType ( )
inline

Definition at line 66 of file qqmldmobjectdata_p.h.

◆ VDMObjectDelegateDataType() [2/2]

VDMObjectDelegateDataType::VDMObjectDelegateDataType ( const VDMObjectDelegateDataType type)
inline

Definition at line 73 of file qqmldmobjectdata_p.h.

References builder, DynamicMetaObject, and QMetaObjectBuilder::setFlags().

+ Here is the call graph for this function:

Member Function Documentation

◆ cleanup()

void VDMObjectDelegateDataType::cleanup ( QQmlAdaptorModel ) const
inlineoverridevirtual

Reimplemented from QQmlAdaptorModel::Accessors.

Definition at line 128 of file qqmldmobjectdata_p.h.

References QQmlRefCounted< VDMObjectDelegateDataType >::release().

+ Here is the call graph for this function:

◆ columnCount()

int VDMObjectDelegateDataType::columnCount ( const QQmlAdaptorModel ) const
inlineoverridevirtual

Reimplemented from QQmlAdaptorModel::Accessors.

Definition at line 90 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 102 of file qqmldmobjectdata_p.h.

References QAbstractItemModel::count, initializeMetaType(), QQmlAdaptorModel::Accessors::metaObject, and model.

+ Here is the call graph for this function:

◆ initializeMetaType()

void VDMObjectDelegateDataType::initializeMetaType ( QQmlAdaptorModel model)
inline

Definition at line 114 of file qqmldmobjectdata_p.h.

References builder, QQmlAdaptorModel::Accessors::metaObject, model, Q_UNUSED, QScopedPointer< T, Cleanup >::reset(), and QMetaObjectBuilder::toMetaObject().

Referenced by createItem().

+ Here is the call graph for this function:
+ 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 133 of file qqmldmobjectdata_p.h.

References items, and model.

◆ rowCount()

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

Reimplemented from QQmlAdaptorModel::Accessors.

Definition at line 85 of file qqmldmobjectdata_p.h.

References QAbstractItemModel::count, and model.

◆ value()

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

Reimplemented from QQmlAdaptorModel::Accessors.

Definition at line 95 of file qqmldmobjectdata_p.h.

References model, and QString::toUtf8().

+ Here is the call graph for this function:

Member Data Documentation

◆ builder

QMetaObjectBuilder VDMObjectDelegateDataType::builder

◆ propertyOffset

int VDMObjectDelegateDataType::propertyOffset

◆ shared

bool VDMObjectDelegateDataType::shared

Definition at line 63 of file qqmldmobjectdata_p.h.

Referenced by QQmlDMObjectDataMetaObject::createProperty().

◆ signalOffset

int VDMObjectDelegateDataType::signalOffset

Definition at line 62 of file qqmldmobjectdata_p.h.

Referenced by QQmlDMObjectDataMetaObject::metaCall().


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