#include <QtGui/qpolygon.h> #ifndef QPOLYGON_H class QPolygonF: public QVector < class QPointF >{ /* Some contents are skipped to improve readability */ public: void translate(class QPointF const & offset); /* ... */ }; #endif // QPOLYGON_H