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