While initially I thought having parentPath as property would be more flexible, on second thought I have hard time thinking of any usage scenario why it would need to be a property. Especially since detecting changes in it can be done by tapping into changes in path property.

So perhaps it is better to have it as a Q_INVOKABLE to avoid confusions.