Since index() and parent() don't do anything yet, you might want to leave their default implementations.
Your map functions are clearly wrong, since you are calling the respective index() method with a "parent" that doesn't belong to the model.
The implementations also don't look like they do any structural change, so am wondering why you override them at all.
Cheers,
_
Bookmarks