Re: [PyQt] How to disconnect all connected signals of an object

2011-04-13 Thread Phil Thompson
On Wed, 13 Apr 2011 19:20:22 +0200, Detlev Offenbach wrote: > Hello, > > what is the correct way to disconnect all signal connected to an object? I > tried it with code like > > browser.disconnect() > > but that raises an exception > > TypeError > "arguments did not match any overloaded call:

[PyQt] How to disconnect all connected signals of an object

2011-04-13 Thread Detlev Offenbach
Hello, what is the correct way to disconnect all signal connected to an object? I tried it with code like browser.disconnect() but that raises an exception TypeError "arguments did not match any overloaded call: QObject.disconnect(QObject, SIGNAL(), QObject, SLOT()): not enough arguments QObj