Hi, can i know into slot Slot if i received a signal by ui.treeWidgetA or ui.treeWidgetB?
thxCode:
Printable View
Hi, can i know into slot Slot if i received a signal by ui.treeWidgetA or ui.treeWidgetB?
thxCode:
You can use QObject::sender(), but it really breaks the concept of signals & slots --- the idea is to have loose coupling, so the receiver shouldn't need to know who sent the signal.