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