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

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.

Definition at line 2452 of file qabstractitemmodel.cpp.

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

Referenced by AddressWidget::addEntry(), QAbstractTableModel::dropMimeData(), and AddressWidget::editEntry().

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

Generated by  Doxygen 1.6.0   Back to index