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::Role Class Reference

#include <qqmllistmodel_p_p.h>

+ Collaboration diagram for ListLayout::Role:

Public Types

enum  DataType {
  Invalid = -1 , String , Number , Bool ,
  List , QObject , VariantMap , DateTime ,
  Url , Function , MaxDataType
}
 

Public Member Functions

 Role ()
 
 Role (const Role *other)
 
 ~Role ()
 

Public Attributes

QString name
 
DataType type
 
int blockIndex
 
int blockOffset
 
int index
 
ListLayoutsubLayout
 

Detailed Description

Definition at line 171 of file qqmllistmodel_p_p.h.

Member Enumeration Documentation

◆ DataType

Enumerator
Invalid 
String 
Number 
Bool 
List 
QObject 
VariantMap 
DateTime 
Url 
Function 
MaxDataType 

Definition at line 180 of file qqmllistmodel_p_p.h.

Constructor & Destructor Documentation

◆ Role() [1/2]

ListLayout::Role::Role ( )
inline

Definition at line 175 of file qqmllistmodel_p_p.h.

References blockIndex, blockOffset, index, Invalid, subLayout, and type.

◆ Role() [2/2]

ListLayout::Role::Role ( const Role * other)
explicit

Definition at line 188 of file qqmllistmodel.cpp.

References ListLayout::ListLayout(), blockIndex, blockOffset, index, subLayout, and type.

+ Here is the call graph for this function:

◆ ~Role()

ListLayout::Role::~Role ( )

Definition at line 201 of file qqmllistmodel.cpp.

References subLayout.

Member Data Documentation

◆ blockIndex

int ListLayout::Role::blockIndex

Definition at line 199 of file qqmllistmodel_p_p.h.

Referenced by Role(), and Role().

◆ blockOffset

int ListLayout::Role::blockOffset

Definition at line 200 of file qqmllistmodel_p_p.h.

Referenced by Role(), and Role().

◆ index

int ListLayout::Role::index

Definition at line 201 of file qqmllistmodel_p_p.h.

Referenced by Role(), Role(), ListElement::sync(), and QV4::ModelObject::virtualGet().

◆ name

QString ListLayout::Role::name

◆ subLayout

ListLayout* ListLayout::Role::subLayout

Definition at line 202 of file qqmllistmodel_p_p.h.

Referenced by Role(), Role(), and ~Role().

◆ type


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