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