Another newbie question.

Signals emittes from 5 pushbuttons have to be connected with one slot. But this slot must know from which pushbutton was activated. I already tried to do this:

Qt Code:
  1. slot (int i);
  2. ...
  3. connect(push1, SIGNAL(clicked()),this, slot(1));
To copy to clipboard, switch view to plain text mode 
But doesn't work.
Any suggestions?