![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqmllistmodel_p_p.h>
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 169 of file qqmllistmodel_p_p.h.
|
inline |
Definition at line 172 of file qqmllistmodel_p_p.h.
ListLayout::ListLayout | ( | const ListLayout * | other | ) |
Definition at line 156 of file qqmllistmodel.cpp.
Referenced by ListLayout::Role::Role().
ListLayout::~ListLayout | ( | ) |
Definition at line 169 of file qqmllistmodel.cpp.
const ListLayout::Role * ListLayout::getExistingRole | ( | const QString & | key | ) | const |
Definition at line 246 of file qqmllistmodel.cpp.
|
inline |
Definition at line 214 of file qqmllistmodel_p_p.h.
Referenced by ListModel::getExistingRole(), ListModel::getExistingRole(), ListModel::getProperty(), ListModel::setExistingProperty(), and ListElement::sync().
const ListLayout::Role * ListLayout::getExistingRole | ( | QV4::String * | key | ) | const |
Definition at line 255 of file qqmllistmodel.cpp.
const ListLayout::Role * ListLayout::getRoleOrCreate | ( | const QString & | key, |
const QVariant & | data ) |
Definition at line 207 of file qqmllistmodel.cpp.
References ListLayout::Role::Bool, ListLayout::Role::DateTime, ListLayout::Role::Function, ListLayout::Role::Invalid, ListLayout::Role::List, ListLayout::Role::Number, ListLayout::Role::String, ListLayout::Role::Url, and ListLayout::Role::VariantMap.
const ListLayout::Role & ListLayout::getRoleOrCreate | ( | const QString & | key, |
Role::DataType | type ) |
Definition at line 70 of file qqmllistmodel.cpp.
const ListLayout::Role & ListLayout::getRoleOrCreate | ( | QV4::String * | key, |
Role::DataType | type ) |
Definition at line 83 of file qqmllistmodel.cpp.
|
inline |
Definition at line 218 of file qqmllistmodel_p_p.h.
Referenced by ListModel::getProperty(), ListModel::roleCount(), and ListElement::sync().
|
static |
Definition at line 174 of file qqmllistmodel.cpp.
Referenced by ListModel::sync().