#include <QtGui/qpainter.h> #ifndef QPAINTER_H class QPainter{ /* Some contents are skipped to improve readability */ public: void drawPie(class QRectF const & rect, int a, int alen); /* ... */ }; #endif // QPAINTER_H