[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] self.sender() with new connect/signal
From:       Albert Cervera i Areny <albert () nan-tic ! com>
Date:       2010-06-20 9:57:10
Message-ID: 20100620115710.99716p3t45dmkcg0 () mail ! nan-tic ! com
[Download RAW message or body]

We're changing an application from using old-style 'connect(SIGNAL()  
SLOT())' functions to new-style 'signal.connect( slot )' ones but it  
seems that executing 'self.sender()' in the slot doesn't have the same  
behaviour as it used to because it always returns None.

Is there a way to know who called the slot with new-style signal and slot?

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic