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