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

void QListWidgetItem::setFlags ( Qt::ItemFlags  flags  ) 

Sets the item flags for the list item to flags (see {Qt::ItemFlags}).

Definition at line 897 of file qlistwidget.cpp.

References QAbstractItemView::model().

                                                 {
    itemFlags = aflags;
    if (QListModel *model = (view ? ::qobject_cast<QListModel*>(view->model()) : 0))
        model->itemChanged(this);
}


Generated by  Doxygen 1.6.0   Back to index