Programming questions

Michael Thaler michael.thaler at ph.tum.de
Sun Jul 10 12:08:50 CEST 2005


On Sunday 10 July 2005 10:52, Sven Langkamp wrote:

> To keep the [] you could use this:
>
> KisPoint& KisPolygon::operator[](int i)
> {
>         return m_data[i];
> }
>
> Maybe it would be better to inherit KisPolygon from KisPointVector.

I think there is no class KisPointVector. Doing grep -r KisPointVector *|less
I only find things like 

typedef QValueVector<KisPoint> KisPointVector;
        KisPointVector m_points;

in kis_too_polygon.h and so on.
 
But thanks, I know I did something stupid:-)

Michael


More information about the kimageshop mailing list