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

QModelIndex QAbstractTableModel::index ( int  row,
int  column,
const QModelIndex parent = QModelIndex() 
) const [virtual, inherited]

Returns the index of the data in row and column with parent.

See also:

Implements QAbstractItemModel.

Reimplemented in QTableModel, and PhraseModel.

Definition at line 2452 of file qabstractitemmodel.cpp.

References QAbstractItemModel::createIndex(), and QAbstractItemModel::hasIndex().

Referenced by AddressWidget::addEntry(), QAbstractTableModel::dropMimeData(), AddressWidget::editEntry(), PhraseModel::index(), and EditableSqlModel::setData().

    return hasIndex(row, column, parent) ? createIndex(row, column, 0) : QModelIndex();

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index