summaryrefslogtreecommitdiffstats
path: root/examples/declarative/fonts/fonts.qml
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-08-04 23:12:57 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-08-04 23:12:57 (GMT)
commit29b184cf0bdebafe6d667994543f7af6e44b709b (patch)
treed0a9b3afab3b5380a3b9c5b86d368ef04c42d4db /examples/declarative/fonts/fonts.qml
parent7950ccd27ea1353c699dc77242a03bd347daa5e5 (diff)
downloadQt-29b184cf0bdebafe6d667994543f7af6e44b709b.zip
Qt-29b184cf0bdebafe6d667994543f7af6e44b709b.tar.gz
Qt-29b184cf0bdebafe6d667994543f7af6e44b709b.tar.bz2
Renaming: FontFamily -> FontLoader
Diffstat (limited to 'examples/declarative/fonts/fonts.qml')
-rw-r--r--examples/declarative/fonts/fonts.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/declarative/fonts/fonts.qml b/examples/declarative/fonts/fonts.qml
index eb8cfef..c981e51 100644
--- a/examples/declarative/fonts/fonts.qml
+++ b/examples/declarative/fonts/fonts.qml
@@ -8,13 +8,13 @@ Rect {
Palette { id: Palette; colorGroup: "Active" }
- FontFamily { id: FixedFont; name: "Courier" }
+ FontLoader { id: FixedFont; name: "Courier" }
- FontFamily { id: LocalFont; source: "fonts/Fontin-Bold.ttf" }
+ FontLoader { id: LocalFont; source: "fonts/Fontin-Bold.ttf" }
/* A font by Jos Buivenga (exljbris) -> www.exljbris.nl */
- FontFamily { id: WebFont; source: "http://www.princexml.com/fonts/steffmann/Starburst.ttf" }
- FontFamily { id: WebFont2; source: "http://wrong.address.org" }
+ FontLoader { id: WebFont; source: "http://www.princexml.com/fonts/steffmann/Starburst.ttf" }
+ FontLoader { id: WebFont2; source: "http://wrong.address.org" }
VerticalLayout {
anchors.fill: parent