qt programming with signals/slots

The problem is I don't know how to specify which entry is signaling slots. The first thing I thought of was to have just one function that every signal connects to and just have the signal pass the index of the array to the function, but I don't know how that would be done or if there is an alternative.

Q: How can I connect signals from an array of widgets to a function that knows exactly which widget interacted with?