As others have mentioned, you need to spend some time doing your homework:

http://doc.trolltech.com/4.6/signalsandslots.html

Read through this documentation and you should easily be able to accomplish what you want to do... As of now, your design/code reflects a fairly fundamental misunderstanding of how Qt works.

It will be very difficult to help you otherwise.