> It's a documentation bug. If my understanding of C++ is correct,
> QCanvasItem has a private, virtual abstract member funtion
> (collidesWith()) so it can only be sub-classed by classes defined as
> friends. The friends are the other canvas item classes - you must
> sub-class from one of these.
>
> I've updated the docs to try and make this clearer.

The Qt doc states that one should not inherit from QCanvasItem, so this it 
isn't a bug and doesn't require C++ hacking knowledge :-)

"Note that you cannot easily subclass QCanvasItem yourself - the API is too
low-level. Instead, you should subclass QCanvasPolygonalItem, or perhaps
QCanvasRectangle or QCanvasSprite."


        Philippe

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde

Reply via email to