Extract data from QModelIndex

I created a QTableWidget, and now I would like extract the indexes (so, can be more than one) of the currently selected rows, so I can process them later. From my attempt, where tracklist is my QTablwWidget