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

List:       pykde
Subject:    Re: [PyKDE] connectNotify
From:       "Phil Thompson" <phil () riverbankcomputing ! co ! uk>
Date:       2004-10-12 15:53:03
Message-ID: 37695.82.68.80.137.1097596383.squirrel () 82 ! 68 ! 80 ! 137
[Download RAW message or body]

> 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)

It's not implemented. It could be, but in the case of a Python signal the
signal name wouldn't be meaningful.

Phil

_______________________________________________
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