summaryrefslogtreecommitdiffstats
path: root/src/widgets/platforms/mac/qpaintdevice_mac.cpp
diff options
context:
space:
mode:
authorOlli Werwolff <qt-info@nokia.com>2011-06-08 09:51:07 +0200
committerOlli Werwolff <qt-info@nokia.com>2011-06-08 10:43:55 +0200
commit819f9ca965279562f34895dab405f28162c0b8ab (patch)
tree8e129b6846ec1762c5d33c4788be58abb29ad95b /src/widgets/platforms/mac/qpaintdevice_mac.cpp
parent6a243e555901b4345fec83b064ff378863f2d147 (diff)
Use Q_WIDGETS_EXPORT for widgets library
Reviewed-by: Lars Knoll
Diffstat (limited to 'src/widgets/platforms/mac/qpaintdevice_mac.cpp')
-rw-r--r--src/widgets/platforms/mac/qpaintdevice_mac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/platforms/mac/qpaintdevice_mac.cpp b/src/widgets/platforms/mac/qpaintdevice_mac.cpp
index 56cf8dc5a8..d29047bf50 100644
--- a/src/widgets/platforms/mac/qpaintdevice_mac.cpp
+++ b/src/widgets/platforms/mac/qpaintdevice_mac.cpp
@@ -85,7 +85,7 @@ float qt_mac_defaultDpi_y()
\warning This function is only available on Mac OS X.
*/
-Q_GUI_EXPORT GrafPtr qt_mac_qd_context(const QPaintDevice *device)
+Q_WIDGETS_EXPORT GrafPtr qt_mac_qd_context(const QPaintDevice *device)
{
if (device->devType() == QInternal::Pixmap) {
return static_cast<GrafPtr>(static_cast<const QPixmap *>(device)->macQDHandle());
@@ -109,7 +109,7 @@ extern CGColorSpaceRef qt_mac_colorSpaceForDeviceType(const QPaintDevice *pdev);
\warning This function is only available on Mac OS X.
*/
-Q_GUI_EXPORT CGContextRef qt_mac_cg_context(const QPaintDevice *pdev)
+Q_WIDGETS_EXPORT CGContextRef qt_mac_cg_context(const QPaintDevice *pdev)
{
if (pdev->devType() == QInternal::Pixmap) {
const QPixmap *pm = static_cast<const QPixmap*>(pdev);