Before delete, you can delete the item by using the following API:
Qt Code:
To copy to clipboard, switch view to plain text mode
This API actually removes the item from the list widget and returns the item. After calling this API, you should call delete on the item which was returned by the above API.
Bookmarks