title: Multiple connect button GUI PyQt5
body: <p>I am trying to build a GUI interface in python 3 using PyQt5. I have connected a QPushButton to a QLineEdit so that I could clear whatever the user writes, something like this (working within a class):</p>
  
  <pre><code>self.textboxA = QLineEdit(self)
  self.buttonA = QPushButton('Clear', self)
  self.buttonA.clicked.connect(self.textboxA.clear)
  </code></pre>
  
  <p>However, what if I have multiple textboxes and I want the specific button to clear just a selected number of them (for example only textbox A and C)? I tried with:</p>
  
  <pre><code>self.textboxA = QLineEdit(self)
  self.textboxB = QLineEdit(self)
  self.textboxC = QLineEdit(self)
  self.buttonA = QPushButton('Clear', self)
  self.buttonA.clicked.connect(self.textboxA.clear,
                               self.textboxC.clear)
  </code></pre>
  
  <p>but it keeps writing me TypeError: Qt.ConnectionType expected, not 'builtin_function_or_method'</p>
  
  <p>Which I don't really understand,</p>
  
  <p>Can anyone help me?</p>
  
  <p>Thanks so much in advance</p>