title: python call function from another class
body: <p>i just want to ask how would i access or call the function from another class?</p>
  
  <p>sample code:</p>
  
  <pre><code>Class OpenOMX(QtCore.QThread):
      def __init__(self):
         QtCore.QThread.__init__(self)
      def run(self):
         'Statment here'
      def PlayPause(self):
         'Statment here'
  Class VidPlayer(QtGui.QMainWindow):
      def __init__(self):
         QtGui.QMainWindow.__init__(self)
      def setupUI(self,MainWindow):
         'Statement here'
      def retranslateUI(self,MainWindow):
         self.btnPause.clicked.connect(OpenOMX.PlayPause)
  </code></pre>
  
  <p>i got an error saying:</p>
  
  <pre><code>TypeError: unbound method PlayPause() must be called with OpenOMX instance as first argument (got nothing instead)
  </code></pre>