diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2014-03-05 08:34:46 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-05 13:46:09 +0100 |
commit | e69284db08966cbe907df4b3cdc58fb9f9ee5dc4 (patch) | |
tree | bbbed3b731ffa5500b39480f4c62f1e8bd49c8cf /src/gui/text/qfontengine_p.h | |
parent | 34e560fc928d2b0fb78cff60f690f3094ec36ac0 (diff) |
Get rid of QFontEngine::name()
It was only used in QFontCache debug output,
and some engines weren't even report a name.
Change-Id: I6cec4b75f105f5a4e1405f50188bebb3a3f04e33
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/gui/text/qfontengine_p.h')
-rw-r--r-- | src/gui/text/qfontengine_p.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/text/qfontengine_p.h b/src/gui/text/qfontengine_p.h index f5e4ae98fa..f5a894506f 100644 --- a/src/gui/text/qfontengine_p.h +++ b/src/gui/text/qfontengine_p.h @@ -225,8 +225,6 @@ public: virtual void getGlyphBearings(glyph_t glyph, qreal *leftBearing = 0, qreal *rightBearing = 0); - virtual const char *name() const = 0; - inline bool canRender(uint ucs4) const { return glyphIndex(ucs4) != 0; } virtual bool canRender(const QChar *str, int len) const; @@ -361,8 +359,6 @@ public: virtual qreal minRightBearing() const { return 0; } virtual QImage alphaMapForGlyph(glyph_t); - virtual const char *name() const; - virtual bool canRender(const QChar *string, int len) const; virtual Type type() const; @@ -411,8 +407,6 @@ public: { return QFontEngine::Multi; } virtual bool canRender(const QChar *string, int len) const; - inline virtual const char *name() const - { return "Multi"; } QFontEngine *engine(int at) const {Q_ASSERT(at < engines.size()); return engines.at(at); } |