summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qstatictext_p.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-01-20 11:41:57 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-01-20 11:41:57 (GMT)
commit3c902c0436c68d0c689a813fbef009ac4689b3c4 (patch)
treeae8897b314de6c966da37aa576a17a3bab2764d8 /src/gui/text/qstatictext_p.h
parentb28e104cd12f73f5b18244995176f678a9188364 (diff)
downloadQt-3c902c0436c68d0c689a813fbef009ac4689b3c4.zip
Qt-3c902c0436c68d0c689a813fbef009ac4689b3c4.tar.gz
Qt-3c902c0436c68d0c689a813fbef009ac4689b3c4.tar.bz2
Add font object to QStaticText
This will be needed by OpenVG paint engine, and is useful elsewhere.
Diffstat (limited to 'src/gui/text/qstatictext_p.h')
-rw-r--r--src/gui/text/qstatictext_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/text/qstatictext_p.h b/src/gui/text/qstatictext_p.h
index 33d2d39..919589e 100644
--- a/src/gui/text/qstatictext_p.h
+++ b/src/gui/text/qstatictext_p.h
@@ -72,8 +72,9 @@ public:
int numGlyphs; // 4 bytes per item
int numChars; // 4 bytes per item
QFontEngine *fontEngine; // 4 bytes per item
+ QFont font; // 8 bytes per item
// ================
- // 24 bytes per item
+ // 32 bytes per item
};
class QStaticText;