QModelIndex

#include <QtCore/QModelIndex>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QModelIndex


Overview

Public Functions Index

QModelIndex ()
QModelIndex (const QModelIndex &other)
~QModelIndex ()
QModelIndexchild (int row, int column) const
intcolumn () const
QVariantdata (int role=Qt::DisplayRole) const
Qt::ItemFlagsflags () const
qint64internalId () const
void *internalPointer () const
boolisValid () const
const QAbstractItemModel *model () const
booloperator!= (const QModelIndex &other) const
booloperator< (const QModelIndex &other) const
booloperator== (const QModelIndex &other) const
QModelIndexparent () const
introw () const
QModelIndexsibling (int row, int column) const

Public Functions

QModelIndex ()

QModelIndex (

~QModelIndex ()

Destructor.

QModelIndex child (
  • introw,
  • intcolumn )

int column ()

QVariant data (
  • introle)

Qt::ItemFlags flags ()

qint64 internalId ()

void * internalPointer ()

bool isValid ()

const QAbstractItemModel * model ()

bool operator!= (

bool operator< (

bool operator== (

QModelIndex parent ()

int row ()

QModelIndex sibling (
  • introw,
  • intcolumn )

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus