Do you realy need to call prepareGeometryChange()? Why? If I am not wrong ,you only need to call that when the boundingRect changes ,does the boundingRect of a line change when you move a node?
Anyway,if you need to call that ,declare itdNode as a friend in line class ( friend class Line ; or whatever the name of the class is) .
Bookmarks