in ur code
signals:
int CurrentIndex();
it should be
private slots:
void CurrentIndex(int)


so in the function
Qt Code:
  1. void SignalTimeDomainPlot::CurrentIndex(int index)
  2. {
  3. }
To copy to clipboard, switch view to plain text mode 

the index will return u the comboBox index every time u change the combobox value.
use the index value .