![]() |
Qt 6.x
The Qt SDK
|
#include <qqmllistmodel_p_p.h>
Collaboration diagram for ListLayout:Classes | |
| class | Role |
Public Member Functions | |
| ListLayout () | |
| ListLayout (const ListLayout *other) | |
| ~ListLayout () | |
| const Role * | getRoleOrCreate (const QString &key, const QVariant &data) |
| const Role & | getRoleOrCreate (QV4::String *key, Role::DataType type) |
| const Role & | getRoleOrCreate (const QString &key, Role::DataType type) |
| const Role & | getExistingRole (int index) const |
| const Role * | getExistingRole (const QString &key) const |
| const Role * | getExistingRole (QV4::String *key) const |
| int | roleCount () const |
Static Public Member Functions | |
| static void | sync (ListLayout *src, ListLayout *target) |
Definition at line 156 of file qqmllistmodel_p_p.h.
|
inline |
Definition at line 159 of file qqmllistmodel_p_p.h.
Referenced by ListLayout::Role::Role().
Here is the caller graph for this function:| ListLayout::ListLayout | ( | const ListLayout * | other | ) |
Definition at line 152 of file qqmllistmodel.cpp.
References i, ListLayout::Role::name, and other().
Here is the call graph for this function:| ListLayout::~ListLayout | ( | ) |
Definition at line 165 of file qqmllistmodel.cpp.
References qDeleteAll().
Here is the call graph for this function:| const ListLayout::Role * ListLayout::getExistingRole | ( | const QString & | key | ) | const |
Definition at line 242 of file qqmllistmodel.cpp.
References QStringHash< T >::Node::value.
|
inline |
Definition at line 201 of file qqmllistmodel_p_p.h.
Referenced by ListModel::getExistingRole(), ListModel::getExistingRole(), ListModel::getProperty(), ListModel::set(), ListModel::set(), ListModel::setExistingProperty(), and ListElement::sync().
Here is the caller graph for this function:| const ListLayout::Role * ListLayout::getExistingRole | ( | QV4::String * | key | ) | const |
Definition at line 251 of file qqmllistmodel.cpp.
References QStringHash< T >::Node::value.
| const ListLayout::Role * ListLayout::getRoleOrCreate | ( | const QString & | key, |
| const QVariant & | data | ||
| ) |
Definition at line 203 of file qqmllistmodel.cpp.
References ListLayout::Role::Bool, ListLayout::Role::DateTime, ListLayout::Role::Function, getRoleOrCreate(), ListLayout::Role::Invalid, QJSValue::isCallable(), QV4::CompiledData::Binding::isTranslationBinding(), ListLayout::Role::List, ListLayout::Role::Number, qmlWarning(), ListLayout::Role::String, ListLayout::Role::Url, QMetaType::User, and ListLayout::Role::VariantMap.
Referenced by ListModel::getOrCreateListRole(), getRoleOrCreate(), ListModel::set(), ListModel::set(), and ListModel::setOrCreateProperty().
Here is the call graph for this function:
Here is the caller graph for this function:| const ListLayout::Role & ListLayout::getRoleOrCreate | ( | const QString & | key, |
| Role::DataType | type | ||
| ) |
Definition at line 66 of file qqmllistmodel.cpp.
References qmlWarning(), QStringLiteral, roleTypeName(), and QStringHash< T >::Node::value.
Here is the call graph for this function:| const ListLayout::Role & ListLayout::getRoleOrCreate | ( | QV4::String * | key, |
| Role::DataType | type | ||
| ) |
Definition at line 79 of file qqmllistmodel.cpp.
References qmlWarning(), QStringLiteral, roleTypeName(), and QStringHash< T >::Node::value.
Here is the call graph for this function:
|
inline |
Definition at line 205 of file qqmllistmodel_p_p.h.
Referenced by ListModel::getProperty(), ListModel::roleCount(), QQmlListModel::setDynamicRoles(), and ListElement::sync().
Here is the caller graph for this function:
|
static |
Definition at line 170 of file qqmllistmodel.cpp.
References i, and ListLayout::Role::name.
Referenced by ListModel::sync().
Here is the caller graph for this function: