I think it is QAbstractItemVie::ExtendedSelection, if the selected items are not consecutive.
But you should also listen to what wysota said, the model data shouldn't be accessible outside the model like that. You could use model indexes instead.