[Qt-interest] retrieve the emitting entity
manish.s.sharma at nokia.com
manish.s.sharma at nokia.com
Mon Apr 27 16:31:10 CEST 2009
Sender() will get you the emitting object. But this is not a very good practice,, please read documentation before using it.
>-----Original Message-----
>From: qt-interest-bounces at trolltech.com
>[mailto:qt-interest-bounces at trolltech.com] On Behalf Of ext
>Luca Ferrari
>Sent: Monday, April 27, 2009 7:29 PM
>To: qt-interest at trolltech.com
>Subject: [Qt-interest] retrieve the emitting entity
>
>Hi all,
>is it possible from within a slot having access to the
>emitting Qt object? For instance a pressed button within a
>slot connected to the clicked() signal?
>
>Thanks,
>Luca
>_______________________________________________
>Qt-interest mailing list
>Qt-interest at trolltech.com
>http://lists.trolltech.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list