You can either use a QSignalMapper or use the sender() object in the slot connected to returnPressed() or whatever.
When using sender() you have to compare it with all your line edits in order to see which one sent the signal.
You can either use a QSignalMapper or use the sender() object in the slot connected to returnPressed() or whatever.
When using sender() you have to compare it with all your line edits in order to see which one sent the signal.
impeteperry (5th November 2007)
Bookmarks