Finally saw a working example:
Qt Code:
  1. QtCore.QObject.connect(self.chatView, QtCore.SIGNAL('tabCloseRequested(int)'), self.closeTab)
To copy to clipboard, switch view to plain text mode 

I was reading how I would need to go through QObject, but I wasn't sure how the computer need to be told that way. Thanks.