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
QQmlDelegateModelItemMetaType Class Referencefinal

#include <qqmldelegatemodel_p_p.h>

Inheritance diagram for QQmlDelegateModelItemMetaType:
Collaboration diagram for QQmlDelegateModelItemMetaType:

Public Types

enum class  ModelKind : quint8 { InstanceModel , DelegateModel , TableInstanceModel }

Public Member Functions

 QQmlDelegateModelItemMetaType (QV4::ExecutionEngine *engine, QQmlDelegateModel *model, const QStringList &groupNames)
 QQmlDelegateModelItemMetaType (QV4::ExecutionEngine *engine, QQmlTableInstanceModel *model)
 ~QQmlDelegateModelItemMetaType ()
void initializeAttachedMetaObject ()
void initializePrototype ()
int parseGroups (const QStringList &groupNames) const
int parseGroups (const QV4::Value &groupNames) const
QQmlDelegateModeldelegateModel () const
qsizetype groupCount () const
void emitModelChanged () const
Public Member Functions inherited from QQmlRefCounted< QQmlDelegateModelItemMetaType >
void release () const
Public Member Functions inherited from QQmlRefCount
 QQmlRefCount ()
void addref () const
int count () const

Public Attributes

QPointer< QQmlInstanceModelmodel
QV4::ExecutionEngine *const v4Engine
QQmlRefPointer< QQmlDelegateModelAttachedMetaObjectattachedMetaObject
const QStringList groupNames
QV4::PersistentValue modelItemProto
ModelKind modelKind = ModelKind::InstanceModel

Additional Inherited Members

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

Detailed Description

Definition at line 43 of file qqmldelegatemodel_p_p.h.

Member Enumeration Documentation

◆ ModelKind

Enumerator
InstanceModel 
DelegateModel 
TableInstanceModel 

Definition at line 47 of file qqmldelegatemodel_p_p.h.

Constructor & Destructor Documentation

◆ QQmlDelegateModelItemMetaType() [1/2]

QQmlDelegateModelItemMetaType::QQmlDelegateModelItemMetaType ( QV4::ExecutionEngine * engine,
QQmlDelegateModel * model,
const QStringList & groupNames )

Definition at line 2250 of file qqmldelegatemodel.cpp.

◆ QQmlDelegateModelItemMetaType() [2/2]

QQmlDelegateModelItemMetaType::QQmlDelegateModelItemMetaType ( QV4::ExecutionEngine * engine,
QQmlTableInstanceModel * model )

Definition at line 2259 of file qqmldelegatemodel.cpp.

◆ ~QQmlDelegateModelItemMetaType()

QQmlDelegateModelItemMetaType::~QQmlDelegateModelItemMetaType ( )
default

Member Function Documentation

◆ delegateModel()

QQmlDelegateModel * QQmlDelegateModelItemMetaType::delegateModel ( ) const
inline

Definition at line 65 of file qqmldelegatemodel_p_p.h.

◆ emitModelChanged()

void QQmlDelegateModelItemMetaType::emitModelChanged ( ) const

Definition at line 2269 of file qqmldelegatemodel.cpp.

◆ groupCount()

qsizetype QQmlDelegateModelItemMetaType::groupCount ( ) const
inline

Definition at line 72 of file qqmldelegatemodel_p_p.h.

◆ initializeAttachedMetaObject()

void QQmlDelegateModelItemMetaType::initializeAttachedMetaObject ( )

Definition at line 2283 of file qqmldelegatemodel.cpp.

◆ initializePrototype()

void QQmlDelegateModelItemMetaType::initializePrototype ( )

Definition at line 2311 of file qqmldelegatemodel.cpp.

◆ parseGroups() [1/2]

int QQmlDelegateModelItemMetaType::parseGroups ( const QStringList & groupNames) const

Definition at line 2365 of file qqmldelegatemodel.cpp.

◆ parseGroups() [2/2]

int QQmlDelegateModelItemMetaType::parseGroups ( const QV4::Value & groupNames) const

Definition at line 2376 of file qqmldelegatemodel.cpp.

Member Data Documentation

◆ attachedMetaObject

QQmlRefPointer<QQmlDelegateModelAttachedMetaObject> QQmlDelegateModelItemMetaType::attachedMetaObject

Definition at line 78 of file qqmldelegatemodel_p_p.h.

◆ groupNames

const QStringList QQmlDelegateModelItemMetaType::groupNames

Definition at line 79 of file qqmldelegatemodel_p_p.h.

◆ model

QPointer<QQmlInstanceModel> QQmlDelegateModelItemMetaType::model

Definition at line 76 of file qqmldelegatemodel_p_p.h.

◆ modelItemProto

QV4::PersistentValue QQmlDelegateModelItemMetaType::modelItemProto

Definition at line 80 of file qqmldelegatemodel_p_p.h.

◆ modelKind

ModelKind QQmlDelegateModelItemMetaType::modelKind = ModelKind::InstanceModel

Definition at line 81 of file qqmldelegatemodel_p_p.h.

◆ v4Engine

QV4::ExecutionEngine* const QQmlDelegateModelItemMetaType::v4Engine

Definition at line 77 of file qqmldelegatemodel_p_p.h.


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