Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 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 58 of file qqmldmobjectdata_p.h.

Constructor & Destructor Documentation

◆ VDMObjectDelegateDataType() [1/2]

VDMObjectDelegateDataType::VDMObjectDelegateDataType ( )
inline

Definition at line 68 of file qqmldmobjectdata_p.h.

◆ VDMObjectDelegateDataType() [2/2]

VDMObjectDelegateDataType::VDMObjectDelegateDataType ( const VDMObjectDelegateDataType & type)
inline

Definition at line 75 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 130 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 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 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 116 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 135 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 87 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 97 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 65 of file qqmldmobjectdata_p.h.

Referenced by QQmlDMObjectDataMetaObject::createProperty().

◆ signalOffset

int VDMObjectDelegateDataType::signalOffset

Definition at line 64 of file qqmldmobjectdata_p.h.

Referenced by QQmlDMObjectDataMetaObject::metaCall().


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