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

QListWidgetItem & QListWidgetItem::operator= ( const QListWidgetItem other  ) 

Assigns other's data and flags to this item. Note that type() and listWidget() are not copied.

This function is useful when reimplementing clone().

See also:
data(), flags()

Definition at line 741 of file qlistwidget.cpp.

References itemFlags, and values.

    values = other.values;
    itemFlags = other.itemFlags;
    return *this;

Generated by  Doxygen 1.6.0   Back to index