qt programming with signals/slots

I have several arrays of QWidgets as such:

QLineEdit *entries;
//retrieve size from file...
entries = new QLineEdit[size];

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?

Thanks for the help.
Here's more info on QLineEdits if that helps:

And more on connecting slots and signals:

They didn't help me much though.
Topic archived. No new replies allowed.