[PyKDE] Dropping SIGNAL() and SLOT() in PyQt4?

Ismail Donmez ismail at uludag.org.tr
Sun Feb 19 12:48:27 GMT 2006


Pazar 19 Şubat 2006 14:23 tarihinde, Phil Thompson şunları yazmıştı: 
> PYSIGNAL() has already been dropped in PyQt4. This was possible because Qt4
> makes it easier to look up whether a particular string is a Qt signal
> signature or not. There is no reason why this approach cannot be extended
> to distinguishing between signals and slots, ie. rely on a slightly slower
> dynamic lookup rather that the type information SIGNAL() and SLOT()
> provide.
>
> (In fact I don't see why Qt still needs SIGNAL() and SLOT() - maybe the
> speed penalty of the alternative is more an issue at the C++ level.)
>
> So, what so you think? Is dropping them to much of a cultural change? (Of
> course they could also be made optional.)

I would wonder how much slowdown does it make?

Regards,
ismail




More information about the PyQt mailing list