im setting item’s in QListWidget and in each QListWidgetItem im setting id like this:
newItem->setData(Qt::DisplayRole,ID);
now each time before im adding the itemi wish to check if already there is item with the same data in the list .
how can i do that … i don’t think the findItems will help me here
Let me assume that type of
IDisint(cause you didn’t specify it).