diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-01-18 14:26:19 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-01-18 14:26:19 (GMT) |
commit | 0b830897c6256b26289c912e28257d040e9c1b4c (patch) | |
tree | 909768c49098b9b129e92d585da70a4cee05c321 /src/gui/painting/qpaintengineex_p.h | |
parent | c2337d7f1d3b4239c21809d664cc60009d08449c (diff) | |
download | Qt-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/qpaintengineex_p.h')
-rw-r--r-- | src/gui/painting/qpaintengineex_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpaintengineex_p.h b/src/gui/painting/qpaintengineex_p.h index 1370e82..90c4f9f 100644 --- a/src/gui/painting/qpaintengineex_p.h +++ b/src/gui/painting/qpaintengineex_p.h @@ -201,7 +201,7 @@ public: virtual void updateState(const QPaintEngineState &state); - virtual void drawStaticTextItem(QStaticTextItem *) { /* ### should be pure virtual ### */ }; + virtual void drawStaticTextItem(QStaticTextItem *) = 0; virtual void setState(QPainterState *s); inline QPainterState *state() { return static_cast<QPainterState *>(QPaintEngine::state); } |