[PyKDE] disconnecting PYSIGNAL

Gerard Vermeulen gvermeul at grenoble.cnrs.fr
Mon Nov 3 15:55:00 GMT 2003


On Mon, 3 Nov 2003 10:24:23 +0000
Toby Dickenson <tdickenson at devmail.geminidataloggers.co.uk> wrote:

> SIGNAL connections get automatically cleaned up by Qt when the recieving C++ 
> object is destroyed. It appears that PYSIGNAL connections get automatically 
> cleaned up when the recieving python object is destroyed.
> 
bool QObject::disconnect ( const QObject * sender, const char * signal,
const QObject * receiver, const char * member ) [static] 

I do not know if I have example code, but AFAIR it works.

Gerard




More information about the PyQt mailing list