#include <QtGui/qpainter.h> #ifndef QPAINTER_H class QPainter{ /* Some contents are skipped to improve readability */ public: inline void drawPixmap(int x, int y, class QPixmap const & pm, int sx, int sy, int sw, int sh); /* ... */ }; #endif // QPAINTER_H