Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QPersistentModelIndex Class Reference

List of all members.


Detailed Description

The QPersistentModelIndex class is used to locate data in a data model.

It is good practice to check that persistent model indexes are valid before using them.

See also:
{Model/View Programming}, QModelIndex, QAbstractItemModel

Definition at line 76 of file qabstractitemmodel.h.


Public Member Functions

QModelIndex child (int row, int column) const
int column () const
QVariant data (int role=Qt::DisplayRole) const
qint64 internalId () const
void * internalPointer () const
bool isValid () const
const QAbstractItemModelmodel () const
 operator const QModelIndex & () const
bool operator!= (const QModelIndex &other) const
bool operator< (const QPersistentModelIndex &other) const
QPersistentModelIndexoperator= (const QModelIndex &other)
QPersistentModelIndexoperator= (const QPersistentModelIndex &other)
bool operator== (const QModelIndex &other) const
bool operator== (const QPersistentModelIndex &other) const
QModelIndex parent () const
 QPersistentModelIndex (const QPersistentModelIndex &other)
 QPersistentModelIndex (const QModelIndex &index)
 QPersistentModelIndex ()
int row () const
QModelIndex sibling (int row, int column) const
 ~QPersistentModelIndex ()

Private Attributes

QPersistentModelIndexData * d

Friends

Q_CORE_EXPORT QDebug operator<< (QDebug, const QPersistentModelIndex &)

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

Generated by  Doxygen 1.6.0   Back to index