[PyQt] Function-pointer typedef

Arve Knudsen arve.knudsen at gmail.com
Sat Jul 18 21:42:31 BST 2009


Hi Phil

In my attempt to wrap the new Qt animation classes, as requested by Jason H,
I find that I'm not able declare a function-pointer typedef within a class.
According to the SIP syntax specification it seems perfectly possible,
however. Can you please tell me why the following declaration from
QEasingCurve doesn't work:

class EasingCurve
{
    [...]
public:
    typedef qreal (*EasingFunction)(qreal progress);
    [...]
};

Thanks,
Arve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090718/e8ae31d6/attachment.html


More information about the PyQt mailing list