Well, all is contained in the [[doc:QModelIndex]]. It contains row, column and parent item. These three together uniquely identify an item in an model.
Edit: I happen to have the book here, but I can't quickly locate the exact snippet you're talking about.