[PyQt] Is the result of SIGNAL() a constant?

Henrik Pauli henrik.pauli at gmail.com
Wed Jan 9 15:53:35 GMT 2008


On Wednesday 09 January 2008, Phil Thompson wrote:
> Or even just add SIGNAL as a method to QObject and retain the current
> method of specifying arguments, ie...
>
>     self.connect(baz.SIGNAL("const QString &"), self.bar)
>

I find this one the most palatable :)  Very logical too.

The only drawback would be if a class has a SIGNAL method it would result in a 
clash, but such developers should be kicked in the nuts.


More information about the PyQt mailing list