summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintengine_raster_p.h
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2010-02-01 17:44:44 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-02-02 08:58:16 (GMT)
commitc3becaff5676eac34616bcd4aeba747ec4398ae6 (patch)
tree8afb3983a92bb884f4046e3634af162f557ea80f /src/gui/painting/qpaintengine_raster_p.h
parent7e8d20de90af2e5ea199b6a92830cc223cea777b (diff)
downloadQt-c3becaff5676eac34616bcd4aeba747ec4398ae6.zip
Qt-c3becaff5676eac34616bcd4aeba747ec4398ae6.tar.gz
Qt-c3becaff5676eac34616bcd4aeba747ec4398ae6.tar.bz2
Make QRasterPaintEngine::drawStaticText public.
This is necessary so subclasses can chain to it. Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/gui/painting/qpaintengine_raster_p.h')
-rw-r--r--src/gui/painting/qpaintengine_raster_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qpaintengine_raster_p.h b/src/gui/painting/qpaintengine_raster_p.h
index 5e5d9b8..55eb82e 100644
--- a/src/gui/painting/qpaintengine_raster_p.h
+++ b/src/gui/painting/qpaintengine_raster_p.h
@@ -203,6 +203,8 @@ public:
void clip(const QRect &rect, Qt::ClipOperation op);
void clip(const QRegion &region, Qt::ClipOperation op);
+ void drawStaticTextItem(QStaticTextItem *textItem);
+
enum ClipType {
RectClip,
ComplexClip
@@ -260,8 +262,6 @@ private:
void drawCachedGlyphs(int numGlyphs, const glyph_t *glyphs, const QFixedPoint *positions,
QFontEngine *fontEngine);
- void drawStaticTextItem(QStaticTextItem *textItem);
-
#if defined(Q_OS_SYMBIAN) && defined(QT_NO_FREETYPE)
void drawGlyphsS60(const QPointF &p, const QTextItemInt &ti);
#endif // Q_OS_SYMBIAN && QT_NO_FREETYPE