#include <QtGui/qpaintengine.h> #ifndef QPAINTENGINE_H class QPaintEngine{ /* Some contents are skipped to improve readability */ public: virtual void drawPixmap(class QRectF const & r, class QPixmap const & pm, class QRectF const & sr) = 0; /* ... */ }; #endif // QPAINTENGINE_H