src/gui/painting/qpaintdevice.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    94     int heightMM() const { return metric(PdmHeightMM); }
    94     int heightMM() const { return metric(PdmHeightMM); }
    95     int logicalDpiX() const { return metric(PdmDpiX); }
    95     int logicalDpiX() const { return metric(PdmDpiX); }
    96     int logicalDpiY() const { return metric(PdmDpiY); }
    96     int logicalDpiY() const { return metric(PdmDpiY); }
    97     int physicalDpiX() const { return metric(PdmPhysicalDpiX); }
    97     int physicalDpiX() const { return metric(PdmPhysicalDpiX); }
    98     int physicalDpiY() const { return metric(PdmPhysicalDpiY); }
    98     int physicalDpiY() const { return metric(PdmPhysicalDpiY); }
    99     int numColors() const { return metric(PdmNumColors); }
    99 #ifdef QT_DEPRECATED
       
   100     QT_DEPRECATED int numColors() const { return metric(PdmNumColors); }
       
   101 #endif
       
   102     int colorCount() const { return metric(PdmNumColors); }
   100     int depth() const { return metric(PdmDepth); }
   103     int depth() const { return metric(PdmDepth); }
   101 
   104 
   102 protected:
   105 protected:
   103     QPaintDevice();
   106     QPaintDevice();
   104     virtual int metric(PaintDeviceMetric metric) const;
   107     virtual int metric(PaintDeviceMetric metric) const;