summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintbuffer_p.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-01-18 14:26:19 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-01-18 14:26:19 (GMT)
commit0b830897c6256b26289c912e28257d040e9c1b4c (patch)
tree909768c49098b9b129e92d585da70a4cee05c321 /src/gui/painting/qpaintbuffer_p.h
parentc2337d7f1d3b4239c21809d664cc60009d08449c (diff)
downloadQt-0b830897c6256b26289c912e28257d040e9c1b4c.zip
Qt-0b830897c6256b26289c912e28257d040e9c1b4c.tar.gz
Qt-0b830897c6256b26289c912e28257d040e9c1b4c.tar.bz2
Implement QPaintBufferEngine::drawStaticTextItem()
Make QPaintEngineEx::drawStaticTextItem() pure virtual to make sure it's implemented in all engines, and implement the paint buffer version to make gui compile.
Diffstat (limited to 'src/gui/painting/qpaintbuffer_p.h')
-rw-r--r--src/gui/painting/qpaintbuffer_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qpaintbuffer_p.h b/src/gui/painting/qpaintbuffer_p.h
index 79d7b35..41a26c5 100644
--- a/src/gui/painting/qpaintbuffer_p.h
+++ b/src/gui/painting/qpaintbuffer_p.h
@@ -175,6 +175,7 @@ public:
Cmd_DrawText,
Cmd_DrawTextItem,
+ Cmd_DrawStaticText,
Cmd_DrawImagePos,
Cmd_DrawImageRect,
@@ -394,6 +395,7 @@ public:
virtual void drawTiledPixmap(const QRectF &r, const QPixmap &pixmap, const QPointF &s);
virtual void drawTextItem(const QPointF &pos, const QTextItem &ti);
+ virtual void drawStaticTextItem(QStaticTextItem *staticTextItem);
virtual void setState(QPainterState *s);
virtual uint flags() const {return QPaintEngineEx::DoNotEmulate;}