[PyQt] simpler 'connect' function

Peter Shinners pshinners at blizzard.com
Mon Jan 14 21:20:45 GMT 2008

> No, but a few ideas have been thrown around on the list in the past
> of days.
> Your suggestion is nice and concise - the dropping of SIGNAL() was
> discussed during developed of PyQt4.

Allowing string arguments for the signal/slot name would be a good
improvement. Hopefully the change can be made for connect and emit.

I'd still vote for connect to be a method on QObject instances. Since
the first argument to connect must always be a QObject instance (?), it
would cut down on the awkwardness.

More information about the PyQt mailing list