[PyKDE] connectNotify

Matias Guijarro guijarro at esrf.fr
Tue Oct 12 10:41:31 BST 2004


Hi all,

I would like to know when a Python signal (PYSIGNAL)
emitted by a QObject-derived instance is connected to
something, in order to perform an expensive initialization
only if necessary.

I thought I could use the connectNotify method of QObject,
but it does not seem to work : whatever I tried, I did not get
it called, whereas it is supposed to be called "when something
has been connected to /signal/ in this object" (from Qt doc.)

Is it implemented in PyQt ?
If so, from which version ? (I am using 3.8)

Thanks in advance for the help,
Matias.









More information about the PyQt mailing list