In my case i suggest you to use SIGNAL`s and SLOT`s they are very useful for your purpose i guess.

http://developer.qt.nokia.com/forums/viewthread/4646

take a look at that, i think there is a variety of solutions