title: QComboBox connect
body: <p>I need to call a function with currentIndex+1 when the currentIndex of a QComboBox changes. I'm struggling with the syntax this morning:</p>
  
  <pre><code>// call function readTables(int) when currentIndex changes.
  
  connect(ui-&gt;deviceBox, SIGNAL(currentIndexChanged()),
     SLOT( readTables( ui-&gt;deviceBox-&gt;currentIndex()+1) );
  </code></pre>
  
  <p>error: expected ')'
         SLOT( readTables(ui->deviceBox->currentIndex()+1) );</p>
  
  <p>Adding a closing ) won't work...!</p>