self.connect(self.myButton, QtCore.SIGNAL("clicked()"), self.clickFoo) (obviously the exact object names will differ, but you get the idea)