Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
ListElement Class Reference

#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
 

Detailed Description

Definition at line 242 of file qqmllistmodel_p_p.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
BLOCK_SIZE 

Definition at line 246 of file qqmllistmodel_p_p.h.

◆ ObjectIndestructible

Enumerator
Indestructible 
ExplicitlySet 

Definition at line 245 of file qqmllistmodel_p_p.h.

Constructor & Destructor Documentation

◆ ListElement() [1/2]

ListElement::ListElement ( )

Definition at line 1293 of file qqmllistmodel.cpp.

References uidCounter.

◆ ListElement() [2/2]

ListElement::ListElement ( int existingUid)

Definition at line 1301 of file qqmllistmodel.cpp.

◆ ~ListElement()

ListElement::~ListElement ( )

Definition at line 1309 of file qqmllistmodel.cpp.

Member Function Documentation

◆ sync()

QVector< int > ListElement::sync ( ListElement * src,
ListLayout * srcLayout,
ListElement * target,
ListLayout * targetLayout )
static

Definition at line 1314 of file qqmllistmodel.cpp.

References ListLayout::Role::Bool, ListLayout::Role::DateTime, ListLayout::Role::Function, ListLayout::getExistingRole(), ListModel::getListProperty(), i, ListLayout::Role::List, ListModel, map, ListLayout::Role::Number, ListLayout::Role::QObject, ListLayout::roleCount(), ListLayout::Role::String, ListModel::sync(), and ListLayout::Role::VariantMap.

Referenced by ListModel::sync().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ ListModel

friend class ListModel
friend

Definition at line 308 of file qqmllistmodel_p_p.h.

Referenced by sync().


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