I don't know how to do this.
Do what?
Connect a signal to slot?
Again, please explain what the problem is that you have!