diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2010-02-16 13:19:18 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-02-16 13:19:18 (GMT) |
commit | 1f2ca350bc963a2d3b5e3a5de095f6f2d269ea00 (patch) | |
tree | ee4464abd73fe51143aa40a1cceed3ed20102d33 /src/gui/text/qstatictext.h | |
parent | 5998a03ffbf0257f8cf86d732f06475da875047d (diff) | |
parent | e4e92b74980c4f601d080e1e072b556b7318c915 (diff) | |
download | Qt-1f2ca350bc963a2d3b5e3a5de095f6f2d269ea00.zip Qt-1f2ca350bc963a2d3b5e3a5de095f6f2d269ea00.tar.gz Qt-1f2ca350bc963a2d3b5e3a5de095f6f2d269ea00.tar.bz2 |
Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2
Diffstat (limited to 'src/gui/text/qstatictext.h')
-rw-r--r-- | src/gui/text/qstatictext.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gui/text/qstatictext.h b/src/gui/text/qstatictext.h index a1c1bf5..1e59944 100644 --- a/src/gui/text/qstatictext.h +++ b/src/gui/text/qstatictext.h @@ -60,6 +60,11 @@ class QStaticTextPrivate; class Q_GUI_EXPORT QStaticText { public: + enum PerformanceHint { + ModerateCaching, + AggressiveCaching + }; + QStaticText(); QStaticText(const QString &text, const QSizeF &maximumSize = QSizeF()); QStaticText(const QStaticText &other); @@ -78,8 +83,8 @@ public: void prepare(const QTransform &matrix, const QFont &font); - void setUseBackendOptimizations(bool on); - bool useBackendOptimizations() const; + void setPerformanceHint(PerformanceHint performanceHint); + PerformanceHint performanceHint() const; QStaticText &operator=(const QStaticText &); bool operator==(const QStaticText &) const; |