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

QListWidgetItem * QListWidget::currentItem (  )  const

Returns the current item.

Definition at line 1390 of file qlistwidget.cpp.

References QAbstractItemView::currentIndex(), and row().

{
    Q_D(const QListWidget);
    return d->model()->at(currentIndex().row());
}


Generated by  Doxygen 1.6.0   Back to index