Rename QGlyphs -> QGlyphRun
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Tue, 10 May 2011 07:43:00 +0000 (09:43 +0200)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Tue, 10 May 2011 10:20:13 +0000 (12:20 +0200)
commit051ef6f294e8cbfa1e30e99e7fd4cf5fb38393f4
tree19207e0507896bd06e6c63a09ecf0c7eb9ac77e7
parenta35b2d58d921ee944d48dadbebe871df0c5c6986
Rename QGlyphs -> QGlyphRun

API clean-up for QGlyphRun:
1. QGlyphs -> QGlyphRun
2. QGlyphRun's font()/setFont() -> rawFont()/setRawFont()
3. QPainter::drawGlyphs() -> drawGlyphRun()
4. QTextLayout and QTextFragment's glyphs() -> glyphRuns()

Reviewed-by: Jiang Jiang
(cherry picked from commit 84ef364302728b68d2d29ea9c4ccbec32c7bb115)
17 files changed:
src/gui/painting/qpaintbuffer.cpp
src/gui/painting/qpainter.cpp
src/gui/painting/qpainter.h
src/gui/text/qglyphrun.cpp [moved from src/gui/text/qglyphs.cpp with 62% similarity]
src/gui/text/qglyphrun.h [moved from src/gui/text/qglyphs.h with 79% similarity]
src/gui/text/qglyphrun_p.h [moved from src/gui/text/qglyphs_p.h with 91% similarity]
src/gui/text/qrawfont.cpp
src/gui/text/qtextlayout.cpp
src/gui/text/qtextlayout.h
src/gui/text/qtextobject.cpp
src/gui/text/qtextobject.h
src/gui/text/text.pri
tests/auto/gui.pro
tests/auto/qglyphrun/qglyphrun.pro [moved from tests/auto/qglyphs/qglyphs.pro with 85% similarity]
tests/auto/qglyphrun/test.ttf [moved from tests/auto/qglyphs/test.ttf with 100% similarity]
tests/auto/qglyphrun/tst_qglyphrun.cpp [moved from tests/auto/qglyphs/tst_qglyphs.cpp with 76% similarity]
tests/auto/qrawfont/tst_qrawfont.cpp