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

QModelIndex QListWidget::indexFromItem ( QListWidgetItem item  )  const [protected]

Returns the QModelIndex assocated with the given item.

Definition at line 1801 of file qlistwidget.cpp.

{
    Q_D(const QListWidget);
    return d->model()->index(item);
}


Generated by  Doxygen 1.6.0   Back to index