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
QQmlModelIndexValueType Struct Reference

#include <qqmlmodelindexvaluetype_p.h>

+ Collaboration diagram for QQmlModelIndexValueType:

Public Member Functions

Q_INVOKABLE QString toString () const
 
 Q_REVISION (6, 7) Q_INVOKABLE QVariant data(int role
 
 operator QModelIndex () const
 

Static Public Member Functions

static QPersistentModelIndex toPersistentModelIndex (const QModelIndex &index)
 

Public Attributes

QModelIndex v
 

Properties

int row
 
int column
 
QModelIndex parent
 
bool valid
 
QAbstractItemModelmodel
 
quint64 internalId
 

Detailed Description

Definition at line 25 of file qqmlmodelindexvaluetype_p.h.

Member Function Documentation

◆ operator QModelIndex()

QQmlModelIndexValueType::operator QModelIndex ( ) const
inline

Definition at line 61 of file qqmlmodelindexvaluetype_p.h.

References v.

◆ Q_REVISION()

QQmlModelIndexValueType::Q_REVISION ( 6 ,
7  )

References QVariant::data().

+ Here is the call graph for this function:

◆ toPersistentModelIndex()

static QPersistentModelIndex QQmlModelIndexValueType::toPersistentModelIndex ( const QModelIndex & index)
inlinestatic

Definition at line 58 of file qqmlmodelindexvaluetype_p.h.

◆ toString()

Q_INVOKABLE QString QQmlModelIndexValueType::toString ( ) const
inline

Definition at line 42 of file qqmlmodelindexvaluetype_p.h.

Member Data Documentation

◆ v

QModelIndex QQmlModelIndexValueType::v

Definition at line 27 of file qqmlmodelindexvaluetype_p.h.

Referenced by operator QModelIndex().

Property Documentation

◆ column

int QQmlModelIndexValueType::column
read

Definition at line 30 of file qqmlmodelindexvaluetype_p.h.

◆ internalId

quint64 QQmlModelIndexValueType::internalId
read

Definition at line 34 of file qqmlmodelindexvaluetype_p.h.

◆ model

QAbstractItemModel * QQmlModelIndexValueType::model
read

Definition at line 33 of file qqmlmodelindexvaluetype_p.h.

◆ parent

QModelIndex QQmlModelIndexValueType::parent
read

Definition at line 31 of file qqmlmodelindexvaluetype_p.h.

◆ row

int QQmlModelIndexValueType::row
read

Definition at line 29 of file qqmlmodelindexvaluetype_p.h.

◆ valid

bool QQmlModelIndexValueType::valid
read

Definition at line 32 of file qqmlmodelindexvaluetype_p.h.


The documentation for this struct was generated from the following file: