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