summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2010-02-01 08:46:44 (GMT)
committerJason Barron <jbarron@trolltech.com>2010-07-12 07:02:59 (GMT)
commitd7b41ca83bd11647a90b78fa388d278cf98189ab (patch)
treeaadf9f70d79c8b638faebf432505e8151ccf72b8 /src
parent9b83735e073e9f7acb5369d375be7d8a48faf5db (diff)
downloadQt-d7b41ca83bd11647a90b78fa388d278cf98189ab.zip
Qt-d7b41ca83bd11647a90b78fa388d278cf98189ab.tar.gz
Qt-d7b41ca83bd11647a90b78fa388d278cf98189ab.tar.bz2
Make cacheGlyphs() function (and the destructor) virtual.
This class will be implemented differently on Symbian due to the presence of a class that allows cross process sharing of glyph images so make this function virtual. Reviewed-by: Rhys Weatherley
Diffstat (limited to 'src')
-rw-r--r--src/openvg/qpaintengine_vg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvg/qpaintengine_vg.cpp b/src/openvg/qpaintengine_vg.cpp
index 4b22d5e..9290b79 100644
--- a/src/openvg/qpaintengine_vg.cpp
+++ b/src/openvg/qpaintengine_vg.cpp
@@ -84,9 +84,9 @@ class QVGFontGlyphCache
{
public:
QVGFontGlyphCache();
- ~QVGFontGlyphCache();
+ virtual ~QVGFontGlyphCache();
- void cacheGlyphs(QVGPaintEnginePrivate *d, QFontEngine *fontEngine, const glyph_t *g, int count);
+ virtual void cacheGlyphs(QVGPaintEnginePrivate *d, QFontEngine *fontEngine, const glyph_t *g, int count);
void setScaleFromText(const QFont &font, QFontEngine *fontEngine);