I have 4 buttons (play first, play last, play next, play last).
I'd like to connect them with the same slot, passing a parameter.
I can't ( or I dont know how to ) - I need something like this :
Qt Code:
connect (widget, SIGNAL(clicked),this,play_action(0)); connect (widget, SIGNAL(clicked),this,play_action(1)); connect (widget, SIGNAL(clicked),this,play_action(2)); connect (widget, SIGNAL(clicked),this,play_action(3));To copy to clipboard, switch view to plain text mode
Any idea ?
Thanks
Bookmarks