hi,
You can do so by the use of signal and slots... there is a proper documentation on it.. Just follow that and you would be able to do the same...
the function for it would be..
connect(pushButton,SIGNAL(clicked()),objectname,SL OT(functionname()));
Bookmarks