#include <QtGui/qpolygon.h> #ifndef QPOLYGON_H class QPolygon: public QVector < class QPoint >{ /* Some contents are skipped to improve readability */ public: void setPoints(int nPoints, int firstx, int firsty, ...); /* ... */ }; #endif // QPOLYGON_H