title: Change Pyqt status bar text on button click
body: <p>I can'get my program to change status bar text on button click. I keep getting </p>
  
  <p><code>"TypeError: argument 1 has unexpected type 'NoneType'"</code> error on the 'self.closeButton.clicked.connect(self.process('text'))'. 
  I don't know what to do anymore</p>
  
  <pre><code>import sys
  from PyQt5.QtWidgets import QApplication, QMainWindow, QLineEdit, 
  QPushButton
  from PyQt5.QtGui import QIcon
  
  
  class App(QMainWindow):
  
  def process(self):
      self.statusBar.showMessage('online')
  
  def __init__(self):
      super().__init__()
      self.title = 'Red Queen v0.4'
      self.initUI()
  
  def initUI(self):
      self.setWindowTitle(self.title)
      self.statusBar().showMessage('Offline')
      self.showMaximized()
      self.setStyleSheet("background-color: #FFFFFF;")
      self.textbox = QLineEdit(self)
      self.textbox.move(500, 300)
      self.textbox.resize(350, 20)
      self.textbox.setStyleSheet("border: 3px solid red;")
      self.setWindowIcon(QIcon('Samaritan.png'))
      text = QLineEdit.text(self.textbox)
      self.closeButton = QPushButton('process', self)
      self.closeButton.clicked.connect(self.process('text'))
      self.closeButton.show()
      self.show()
      self.textbox.show()
  
  if __name__ == '__main__':
      app = QApplication(sys.argv)
      ex = App()
      sys.exit(app.exec_())
  </code></pre>