Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 10

Qt-interest Archive, March 2002
How to get sender object in connected slot?


Message 1 in thread

Hi,

Can you please tell me if it possible to get information about sender
object in the slot was connected?


Message 2 in thread

Dnia czw 28. marzec 2002 10:52, napisałeś:
> Hi,
>
> Can you please tell me if it possible to get information about sender
> object in the slot was connected?

See:
QObject* QObject::sender();

Value is valid BEFORE emitting another signal from a slot. After emitting
the signal value is undefined.

-- 
 [ signature omitted ]