On Thu, 2004-09-23 at 15:30 +0200, Sundance wrote:

> Oh, it was just an idea about allowing this syntax:
>   someButton.connect(SIGNAL("clicked()"), otherObject.someMethod)
> 
> IE, making the first argument implicit when connect() is used as an 
> instance method. Which seems a LOT more logical and pythonic. However, 
> as Phil points out, it doesn't respect the Qt API.

What's wrong with not respecting the Qt API?  Seriously, it's got some
ugly non-Pythonic warts, such as the syntax for QObject.connect and
QObject.emit, and the horrible mechanism for sorting columns of
QListViewItem objects.

        <b

Attachment: pyqt.py
Description: application/python

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to