#include <QtGui/qpicture.h> #ifndef QPICTURE_H #ifndef QT_NO_PICTURE class QPicture: public QPaintDevice{ /* Some contents are skipped to improve readability */ public: bool play(struct QPainter* p); /* ... */ }; #endif // QT_NO_PICTURE #endif // QPICTURE_H