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
ListLayout Class Reference

#include <qqmllistmodel_p_p.h>

Collaboration diagram for ListLayout:

Classes

class  Role

Public Member Functions

 ListLayout ()
 ListLayout (const ListLayout *other)
 ~ListLayout ()
const RolegetRoleOrCreate (const QString &key, const QVariant &data)
const RolegetRoleOrCreate (QV4::String *key, Role::DataType type)
const RolegetRoleOrCreate (const QString &key, Role::DataType type)
const RolegetExistingRole (int index) const
const RolegetExistingRole (const QString &key) const
const RolegetExistingRole (QV4::String *key) const
int roleCount () const

Static Public Member Functions

static void sync (ListLayout *src, ListLayout *target)

Detailed Description

Definition at line 169 of file qqmllistmodel_p_p.h.

Constructor & Destructor Documentation

◆ ListLayout() [1/2]

ListLayout::ListLayout ( )
inline

Definition at line 172 of file qqmllistmodel_p_p.h.

◆ ListLayout() [2/2]

ListLayout::ListLayout ( const ListLayout * other)

Definition at line 156 of file qqmllistmodel.cpp.

Referenced by ListLayout::Role::Role().

Here is the caller graph for this function:

◆ ~ListLayout()

ListLayout::~ListLayout ( )

Definition at line 169 of file qqmllistmodel.cpp.

Member Function Documentation

◆ getExistingRole() [1/3]

const ListLayout::Role * ListLayout::getExistingRole ( const QString & key) const

Definition at line 246 of file qqmllistmodel.cpp.

◆ getExistingRole() [2/3]

const Role & ListLayout::getExistingRole ( int index) const
inline

Definition at line 214 of file qqmllistmodel_p_p.h.

Referenced by ListModel::getExistingRole(), ListModel::getExistingRole(), ListModel::getProperty(), ListModel::setExistingProperty(), and ListElement::sync().

Here is the caller graph for this function:

◆ getExistingRole() [3/3]

const ListLayout::Role * ListLayout::getExistingRole ( QV4::String * key) const

Definition at line 255 of file qqmllistmodel.cpp.

◆ getRoleOrCreate() [1/3]

◆ getRoleOrCreate() [2/3]

const ListLayout::Role & ListLayout::getRoleOrCreate ( const QString & key,
Role::DataType type )

Definition at line 70 of file qqmllistmodel.cpp.

◆ getRoleOrCreate() [3/3]

const ListLayout::Role & ListLayout::getRoleOrCreate ( QV4::String * key,
Role::DataType type )

Definition at line 83 of file qqmllistmodel.cpp.

◆ roleCount()

int ListLayout::roleCount ( ) const
inline

Definition at line 218 of file qqmllistmodel_p_p.h.

Referenced by ListModel::getProperty(), ListModel::roleCount(), and ListElement::sync().

Here is the caller graph for this function:

◆ sync()

void ListLayout::sync ( ListLayout * src,
ListLayout * target )
static

Definition at line 174 of file qqmllistmodel.cpp.

Referenced by ListModel::sync().

Here is the caller graph for this function:

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