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:
But doesn't work.Qt Code:
slot (int i); ... connect(push1, SIGNAL(clicked()),this, slot(1));To copy to clipboard, switch view to plain text mode
Any suggestions?




Reply With Quote

Bookmarks