Have a look at QSignalMapper
Other than that, you can use use sender()->objectName() in the slot, but if you need that kind of a hack, something in your design probably is not quite right.
Have a look at QSignalMapper
Other than that, you can use use sender()->objectName() in the slot, but if you need that kind of a hack, something in your design probably is not quite right.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks