diff options
author | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-05-19 14:48:16 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-01-14 12:45:26 (GMT) |
commit | 26372057d92564da9baf6d17c685fd1b22ff4b8a (patch) | |
tree | 000c726950e7251a706ff294a211c886cd8731ec /src/gui/text/qstatictext_p.h | |
parent | 5d0f93a3d6d3d99d86d181ee3cc559a6782be4ee (diff) | |
download | Qt-26372057d92564da9baf6d17c685fd1b22ff4b8a.zip Qt-26372057d92564da9baf6d17c685fd1b22ff4b8a.tar.gz Qt-26372057d92564da9baf6d17c685fd1b22ff4b8a.tar.bz2 |
Simplify QStaticText
Not much to gain by going directly to the QTextEngine, and the code
is a lot simpler if we just use the QTextLayout instead.
Diffstat (limited to 'src/gui/text/qstatictext_p.h')
-rw-r--r-- | src/gui/text/qstatictext_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qstatictext_p.h b/src/gui/text/qstatictext_p.h index ad70b1e..c9abee3 100644 --- a/src/gui/text/qstatictext_p.h +++ b/src/gui/text/qstatictext_p.h @@ -9,10 +9,10 @@ class QStaticText; class QStaticTextPrivate { public: + QStaticTextPrivate(); void init(const QString &text, const QFont &font); - QTextEngine engine; - QVarLengthArray<int> visualOrder; + QTextLayout *textLayout; static QStaticTextPrivate *get(const QStaticText *q); }; |