On Sat, 18 Jul 2009 22:42:31 +0200, Arve Knudsen <[email protected]>
wrote:
> 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);
>     [...]
> };

It's a bug - just remove the name of the argument.

Phil
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to