summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintdevice_mac.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-08-17 11:15:08 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-08-17 11:43:52 (GMT)
commit025a7395153c3708e2964cfd93957532b19ae04f (patch)
tree89a5131d565515db62749cd8eda18225d3162418 /src/gui/painting/qpaintdevice_mac.cpp
parentabdf1befb8de4b88da43561dae2e1beb09c2a532 (diff)
downloadQt-025a7395153c3708e2964cfd93957532b19ae04f.zip
Qt-025a7395153c3708e2964cfd93957532b19ae04f.tar.gz
Qt-025a7395153c3708e2964cfd93957532b19ae04f.tar.bz2
QPaintDevice implemented in qpaintdevice.cpp. Saves duplicated code
Reviewed-by: Eskil
Diffstat (limited to 'src/gui/painting/qpaintdevice_mac.cpp')
-rw-r--r--src/gui/painting/qpaintdevice_mac.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/gui/painting/qpaintdevice_mac.cpp b/src/gui/painting/qpaintdevice_mac.cpp
index bf5e261..aa7c2ac 100644
--- a/src/gui/painting/qpaintdevice_mac.cpp
+++ b/src/gui/painting/qpaintdevice_mac.cpp
@@ -57,34 +57,6 @@ QT_BEGIN_NAMESPACE
Internal variables and functions
*****************************************************************************/
-
-/*****************************************************************************
- External functions
- *****************************************************************************/
-
-extern void qt_painter_removePaintDevice(QPaintDevice *); //qpainter.cpp
-
-/*****************************************************************************
- QPaintDevice member functions
- *****************************************************************************/
-QPaintDevice::QPaintDevice()
-{
- painters = 0;
-}
-
-QPaintDevice::~QPaintDevice()
-{
- if(paintingActive())
- qWarning("QPaintDevice: Cannot destroy paint device that is being "
- "painted, be sure to QPainter::end() painters");
- qt_painter_removePaintDevice(this);
-}
-
-int QPaintDevice::metric(PaintDeviceMetric) const
-{
- return 0;
-}
-
/*! \internal */
float qt_mac_defaultDpi_x()
{