title: How can I call a function when item in combobox changed?
body: <pre><code>connect(ui-&gt;ComboBox,SIGNAL(currentIndexChanged()),this,SLOT(switchcall()));
  </code></pre>
  
  <p>in qt, combobox items i have none,server,client.when i select one of this it should call switchcall function.in this function i want to perform task depending upon choice in combobox.how to do it??</p>