Changeset 569 for trunk/src/gui/painting/qpaintdevice_pm.cpp
- Timestamp:
- Feb 13, 2010, 6:36:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/painting/qpaintdevice_pm.cpp
r564 r569 50 50 QT_BEGIN_NAMESPACE 51 51 52 QPaintDevice::QPaintDevice() 53 { 54 painters = 0; 55 } 56 57 extern void qt_painter_removePaintDevice(QPaintDevice *); //qpainter.cpp 58 59 QPaintDevice::~QPaintDevice() 60 { 61 if (paintingActive()) 62 qWarning("QPaintDevice: Cannot destroy paint device that is being " 63 "painted. Be sure to QPainter::end() painters!"); 64 qt_painter_removePaintDevice(this); 65 } 66 67 int QPaintDevice::metric(PaintDeviceMetric) const 68 { 69 qWarning("QPaintDevice::metrics: Device has no metric information"); 70 return 0; 71 } 52 // Nothing to be done here so far 72 53 73 54 QT_END_NAMESPACE
Note:
See TracChangeset
for help on using the changeset viewer.