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
QPersistentModelIndexData Class Reference

#include <qabstractitemmodel_p.h>

+ Collaboration diagram for QPersistentModelIndexData:

Public Member Functions

 QPersistentModelIndexData ()
 
 QPersistentModelIndexData (const QModelIndex &idx)
 

Static Public Member Functions

static QPersistentModelIndexDatacreate (const QModelIndex &index)
 
static void destroy (QPersistentModelIndexData *data)
 

Public Attributes

QModelIndex index
 
QAtomicInt ref
 

Detailed Description

Definition at line 29 of file qabstractitemmodel_p.h.

Constructor & Destructor Documentation

◆ QPersistentModelIndexData() [1/2]

QPersistentModelIndexData::QPersistentModelIndexData ( )
inline

Definition at line 32 of file qabstractitemmodel_p.h.

◆ QPersistentModelIndexData() [2/2]

QPersistentModelIndexData::QPersistentModelIndexData ( const QModelIndex & idx)
inline

Definition at line 33 of file qabstractitemmodel_p.h.

Member Function Documentation

◆ create()

QT_BEGIN_NAMESPACE QPersistentModelIndexData * QPersistentModelIndexData::create ( const QModelIndex & index)
static

Definition at line 33 of file qabstractitemmodel.cpp.

◆ destroy()

void QPersistentModelIndexData::destroy ( QPersistentModelIndexData * data)
static

Definition at line 50 of file qabstractitemmodel.cpp.

Member Data Documentation

◆ index

QModelIndex QPersistentModelIndexData::index

Definition at line 34 of file qabstractitemmodel_p.h.

◆ ref

QAtomicInt QPersistentModelIndexData::ref

Definition at line 35 of file qabstractitemmodel_p.h.


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