#include <QtGui/qpainter.h> #ifndef QPAINTER_H class QPainter{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_PICTURE public: inline void drawPicture(int x, int y, struct QPicture const & p); #endif /* ... */ }; #endif // QPAINTER_H