#include <QtGui/qpixmap.h> #ifndef QPIXMAP_H class QPixmap: public QPaintDevice{ /* Some contents are skipped to improve readability */ public: static class QPixmap grabWidget(struct QWidget* widget, class QRect const & rect); /* ... */ }; #endif // QPIXMAP_H