On Friday 18 April 2008, Henning Schröder wrote: > Ok I got the snapshot working by changing "void *a0" into "uchar *a0" > for QFile::unwrap :-) > > I was playing a litte bit with QtWebKit after reading > http://www.trolltech.com/pdf/qt-webkit-mar-2008-whitepaper-a4.pdf > There is an example which shows that is possible that a webpage can > interact with QObjects by exposing slots to JavaScript. > > I can do nearly the same with the pyqtSignature decorator, which is > cool. Unfortunately this only works one way because I cannot define a > result type. > Could this be added to the decorator?
This will be in tonight's snapshots - you'll need SIP and PyQt4. At the moment only the int return type is supported - I'll add the other types in a day or two. Attached is a slightly modified version of your example. Phil
webkit.py
Description: application/python
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt