diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-09-04 17:05:58 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-09-04 20:25:48 (GMT) |
commit | 39365d2a77c875cf13b287e3045c0309c8b01dea (patch) | |
tree | 22994a56ded51e6c7a081cfcc3a275e942e7e79a /src | |
parent | fd529383c4491580db344fb3d8035bd0ad3cb5e0 (diff) | |
download | Qt-39365d2a77c875cf13b287e3045c0309c8b01dea.zip Qt-39365d2a77c875cf13b287e3045c0309c8b01dea.tar.gz Qt-39365d2a77c875cf13b287e3045c0309c8b01dea.tar.bz2 |
Only export internal raster classes in QWS
QRasterizer, QClipData and QRasterBuffer only need to exported when
QRasterPaintEnginePrivate is subclassed which only is the case for
DirectFB.
Reviewed-by: Noam Rosenthal <noam.rosenthal@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/painting/qpaintengine_raster_p.h | 12 | ||||
-rw-r--r-- | src/gui/painting/qrasterizer_p.h | 6 |
2 files changed, 15 insertions, 3 deletions
diff --git a/src/gui/painting/qpaintengine_raster_p.h b/src/gui/painting/qpaintengine_raster_p.h index c31a087..b13fb62 100644 --- a/src/gui/painting/qpaintengine_raster_p.h +++ b/src/gui/painting/qpaintengine_raster_p.h @@ -373,7 +373,11 @@ public: }; -class Q_GUI_EXPORT QClipData { +class +#ifdef Q_WS_QWS +Q_GUI_EXPORT +#endif +QClipData { public: QClipData(int height); ~QClipData(); @@ -480,7 +484,11 @@ private: /******************************************************************************* * QRasterBuffer */ -class Q_GUI_EXPORT QRasterBuffer +class +#ifdef Q_WS_QWS +Q_GUI_EXPORT +#endif +QRasterBuffer { public: QRasterBuffer() : m_width(0), m_height(0), m_buffer(0) { init(); } diff --git a/src/gui/painting/qrasterizer_p.h b/src/gui/painting/qrasterizer_p.h index 4cfdbbf..059d772 100644 --- a/src/gui/painting/qrasterizer_p.h +++ b/src/gui/painting/qrasterizer_p.h @@ -65,7 +65,11 @@ struct QSpanData; class QRasterBuffer; class QRasterizerPrivate; -class Q_GUI_EXPORT QRasterizer +class +#ifdef Q_WS_QWS +Q_GUI_EXPORT +#endif +QRasterizer { public: QRasterizer(); |