![]() |
Qt 6.x
The Qt SDK
|
#include <qqmllistmodel_p_p.h>
Collaboration diagram for ListElement:Public Types | |
| enum | ObjectIndestructible { Indestructible = 1 , ExplicitlySet = 2 } |
| enum | { BLOCK_SIZE = 64 - sizeof(int) - sizeof(ListElement *) - sizeof(ModelNodeMetaObject *) } |
Public Member Functions | |
| ListElement () | |
| ListElement (int existingUid) | |
| ~ListElement () | |
Static Public Member Functions | |
| static QVector< int > | sync (ListElement *src, ListLayout *srcLayout, ListElement *target, ListLayout *targetLayout) |
Friends | |
| class | ListModel |
Definition at line 242 of file qqmllistmodel_p_p.h.
| anonymous enum |
| Enumerator | |
|---|---|
| BLOCK_SIZE | |
Definition at line 246 of file qqmllistmodel_p_p.h.
| Enumerator | |
|---|---|
| Indestructible | |
| ExplicitlySet | |
Definition at line 245 of file qqmllistmodel_p_p.h.
| ListElement::ListElement | ( | ) |
Definition at line 1297 of file qqmllistmodel.cpp.
References QBasicAtomicInteger< T >::fetchAndAddOrdered(), and uidCounter.
Here is the call graph for this function:| ListElement::ListElement | ( | int | existingUid | ) |
Definition at line 1305 of file qqmllistmodel.cpp.
| ListElement::~ListElement | ( | ) |
Definition at line 1313 of file qqmllistmodel.cpp.
|
static |
Definition at line 1318 of file qqmllistmodel.cpp.
References ListLayout::Role::Bool, ListLayout::Role::DateTime, ListLayout::Role::Function, ListLayout::getExistingRole(), ListModel::getListProperty(), i, ListLayout::Role::index, ListLayout::Role::List, ListModel, map, ListLayout::Role::Number, ListLayout::Role::QObject, ListLayout::roleCount(), ListLayout::Role::String, ListLayout::Role::subLayout, ListModel::sync(), ListLayout::Role::type, and ListLayout::Role::VariantMap.
Referenced by ListModel::sync().
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
Definition at line 308 of file qqmllistmodel_p_p.h.
Referenced by sync().