I am trying to respond to dblclicks in a Qtreeview derived class with a QAbstractItemModel derived model behind it.

The dblclick event is captured in treeview and gives me an index into the tree.
But all the information to decode what the particular entry is, and how to respond to a dblclick is in treemodel.

Is there a way of accessing the model from the view - there doesn't seem to be a getModel() function.

Or should I re-emit the dblclick signal to a slot in the treemodel, passing on the index, and then let the treemodel send the appropriate signal to my app?

Thanks