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

List:       pykde
Subject:    [PyKDE] sender() in PyQt4 returns wrong object
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2006-01-31 23:41:54
Message-ID: 20060131234154.GA10288 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

Hi,

I tried to use sender() in a slot connected to a signal of a QWidget
derived class, however sender() always returns a QObject instance
instead of the original QWidget-derived one.

Is this by purpose and thus sender() is practically not usable in PyQt4
or am I just missing something?

Andreas

-- 
Day of inquiry.  You will be subpoenaed.

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

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