Re: [PyQt] QList Specialization Class SIP Error

2010-10-17 Thread James Meyer
Hi Thanks for the reply. Sorry to be a pain, but I'm quite new to SIP. How exactly would I implement this as a mapped type? Do I only need to specify the %ConvertToTypeCode and %ConvertFromTypeCode directives similar to QList itself. Will I reference QList at all in the mapped type

[PyQt] QList Specialization Class SIP Error

2010-10-16 Thread James Meyer
Hi I have a C++ class that extends QList, or more specifically QListPoint where Point is one of our custom classes. SIP gives me a syntax error as soon as I add the template parameter to the inheritance. In C++: class PointList : public QListPoint { ... }; In SIP: class PointList :

[PyQt] QLinkedList sip unsupported function return type error

2010-09-18 Thread James Meyer
Hi everyone I have a method that returns a pointer to a QLinkedListMyPoint where MyPoint is a simple custom class. the method signature in c++ is the following: ** typedef QLinkedListMyPoint PointList; PointList* extractFeatures();