#include <QtGui/qpainter.h> #ifndef QPAINTER_H class QPainter{ /* Some contents are skipped to improve readability */ public: inline void drawPolygon(class QPolygon const & polygon, enum Qt::FillRule fillRule = Qt::OddEvenFill); /* ... */ }; #endif // QPAINTER_H