[PyQt] disconnect everything connected to an object's signals
TP
paratribulations at free.fr
Thu Jun 18 10:27:20 BST 2009
Hi everybody,
Qt Assistant says that:
####
"Disconnect everything connected to an object's signals:
disconnect(myObject, 0, 0, 0)"
0 may be used as a wildcard, meaning "any signal", "any receiving object",
or "any slot in the receiving object", respectively.
####
But if I do:
disconnect( myObject, 0, 0, 0 )
I obtain:
"
disconnect( myObject, 0, 0, 0 )
TypeError: disconnect() takes exactly 1 argument (4 given)
"
What is the problem?
My machine: Linux, Qt 4.4.0, PyQt 4.4.4
Thanks in advance,
Julien
--
python -c "print ''.join([chr(154 - ord(c)) for c in '*9(9&(18%.\
9&1+,\'Z4(55l4('])"
"When a distinguished but elderly scientist states that something is
possible, he is almost certainly right. When he states that something is
impossible, he is very probably wrong." (first law of AC Clarke)
More information about the PyQt
mailing list