summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfont.cpp
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2014-12-24 10:44:17 +0400
committerKonstantin Ritt <ritt.ks@gmail.com>2014-12-29 17:31:58 +0100
commit6eb57b2f5f00081cde8d9ef7356cf489a66caf59 (patch)
treeffb8c3af0c6618af431eb8c95fe704ef8e38b74e /src/gui/text/qfont.cpp
parent2f2382ee1d679eff0dbb5bf5b13f835e49d1f5c7 (diff)
[Docs] Don't propose using deprecated QFont:: rawName()/setRawName()
Change-Id: I333417b1340a56d782316c2c3628f63a504153ab Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/gui/text/qfont.cpp')
-rw-r--r--src/gui/text/qfont.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/gui/text/qfont.cpp b/src/gui/text/qfont.cpp
index 249276bb69..515de99c9e 100644
--- a/src/gui/text/qfont.cpp
+++ b/src/gui/text/qfont.cpp
@@ -406,9 +406,6 @@ QFontEngineData::~QFontEngineData()
setPointSize() has a similar effect and provides device
independence.
- In X11 you can set a font using its system
- specific name with setRawName().
-
Loading fonts can be expensive, especially on X11. QFont contains
extensive optimizations to make the copying of QFont objects fast,
and to cache the results of the slow window system functions it
@@ -1584,10 +1581,9 @@ QFont::Capitalization QFont::capitalization() const
return the values set in the QFont for all parameters, including
the family name).
- \warning Do not use raw mode unless you really, really need it! In
- most (if not all) cases, setRawName() is a much better choice.
+ \warning Do not use raw mode unless you really, really need it!
- \sa rawMode(), setRawName()
+ \sa rawMode()
*/
void QFont::setRawMode(bool enable)
{
@@ -1717,7 +1713,7 @@ bool QFont::isCopyOf(const QFont & f) const
Returns \c true if raw mode is used for font name matching; otherwise
returns \c false.
- \sa setRawMode(), rawName()
+ \sa setRawMode()
*/
bool QFont::rawMode() const
{
@@ -2165,7 +2161,7 @@ QString QFont::defaultFamily() const
happens. Please \l{bughowto.html}{report it as a bug} if
it does, preferably with a list of the fonts you have installed.
- \sa lastResortFamily(), rawName()
+ \sa lastResortFamily()
*/
QString QFont::lastResortFont() const
{