#include <QtGui/qpaintdevice.h>
#ifndef QPAINTDEVICE_H
class QPaintDevice{
   /* Some contents are skipped to improve readability */
   public: enum PaintDeviceMetric{
      PdmWidth = 1,
      PdmHeight = 2,
      PdmWidthMM = 3,
      PdmHeightMM = 4,
      PdmNumColors = 5,
      PdmDepth = 6,
      PdmDpiX = 7,
      PdmDpiY = 8,
      PdmPhysicalDpiX = 9,
      PdmPhysicalDpiY = 10,
   };
   /* ... */
};
#endif // QPAINTDEVICE_H