$ 0 0 I think you could use signals and slots. http://qt-project.org/doc/qt-4.8/signalsandslots.html Hope it helps you. Regards.