Hey there,
If I have multiple objects connected to a single slot,
when receiving a signal and inside the slot function, is it possible to know which QObject sent it without passing the QObject pointer to the signal ?
Thanks.
Hey there,
If I have multiple objects connected to a single slot,
when receiving a signal and inside the slot function, is it possible to know which QObject sent it without passing the QObject pointer to the signal ?
Thanks.
Take a look at QObject::sender().
bunjee (18th January 2009)
Bookmarks