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