#include <QtGui/qpixmap.h> #ifndef QPIXMAP_H class QPixmap: public QPaintDevice{ /* Some contents are skipped to improve readability */ private: void init(int, int, enum QPixmap::Type = QPixmap::PixmapType); /* ... */ }; #endif // QPIXMAP_H