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