Look at QTableWidget::selectedItems(). You can use it to iterate over items and move them one by one just like you did with the single item.