You can look into a signal mapper.
http://doc.qt.nokia.com/4.7/qsignalmapper.html

By the way, you're leaking memory.