diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2015-01-19 18:28:39 +0400 |
---|---|---|
committer | Konstantin Ritt <ritt.ks@gmail.com> | 2015-01-23 14:06:03 +0100 |
commit | 4046055cafdea59ea178d41a2bd00f155af6deb2 (patch) | |
tree | 56f186ddf110608ff514da9e452d7e26ea2554e0 /src/gui/text/qfont.h | |
parent | e20a8c69a761a9771ead99eed1abd38f4eeca38a (diff) |
Deprecate QFont:: rawMode()/setRawMode()
rawMode only has an effect under X11 in pre-QPA times.
Change-Id: Iaff8fed8f4ae5af5dd0399bb3ebd9d590a39a758
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/gui/text/qfont.h')
-rw-r--r-- | src/gui/text/qfont.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/text/qfont.h b/src/gui/text/qfont.h index df2815ae73..165c4a85b9 100644 --- a/src/gui/text/qfont.h +++ b/src/gui/text/qfont.h @@ -222,9 +222,10 @@ public: void setHintingPreference(HintingPreference hintingPreference); HintingPreference hintingPreference() const; - // is raw mode still needed? +#if QT_DEPRECATED_SINCE(5, 5) bool rawMode() const; void setRawMode(bool); +#endif // dupicated from QFontInfo bool exactMatch() const; |