#include <QtGui/qpixmap.h>
#ifndef QPIXMAP_H
class QPixmap: public QPaintDevice{
   /* Some contents are skipped to improve readability */
   protected: virtual int metric(enum QPaintDevice::PaintDeviceMetric) const
   /* ... */
};
#endif // QPIXMAP_H