#include <QtGui/qpainter.h> #ifndef QPAINTER_H class QPainter{ /* Some contents are skipped to improve readability */ public: void drawText(class QRect const & r, int flags, class QString const & text, class QRect* br = 0); /* ... */ }; #endif // QPAINTER_H