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
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 32 of file qabstractitemmodel.cpp.

References d, it, model, and Q_ASSERT.

Referenced by QPersistentModelIndex::QPersistentModelIndex(), and QPersistentModelIndex::operator=().

+ Here is the caller graph for this function:

◆ destroy()

void QPersistentModelIndexData::destroy ( QPersistentModelIndexData * data)
static

Definition at line 49 of file qabstractitemmodel.cpp.

References model, and Q_ASSERT.

Referenced by QPersistentModelIndex::~QPersistentModelIndex(), QPersistentModelIndex::operator=(), and QPersistentModelIndex::operator=().

+ Here is the caller graph for this function:

Member Data Documentation

◆ index

◆ ref


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