#include <QtGui/qpainter.h> #ifndef QPAINTER_H class QPainter{ /* Some contents are skipped to improve readability */ public: static void setRedirected(class QPaintDevice const * device, class QPaintDevice* replacement, class QPoint const & offset = QPoint::QPoint()); /* ... */ }; #endif // QPAINTER_H