summaryrefslogtreecommitdiff
path: root/src/gui/text/qfontmetrics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qfontmetrics.cpp')
-rw-r--r--src/gui/text/qfontmetrics.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/gui/text/qfontmetrics.cpp b/src/gui/text/qfontmetrics.cpp
index 22b9038524..41e561bf7a 100644
--- a/src/gui/text/qfontmetrics.cpp
+++ b/src/gui/text/qfontmetrics.cpp
@@ -214,6 +214,14 @@ QFontMetrics &QFontMetrics::operator=(const QFontMetrics &fm)
}
/*!
+ \fn void QFontMetrics::swap(QFontMetrics &other)
+ \since 5.0
+
+ Swaps this font metrics instance with \a other. This function is
+ very fast and never fails.
+*/
+
+/*!
Returns true if \a other is equal to this object; otherwise
returns false.
@@ -1005,6 +1013,16 @@ QFontMetricsF &QFontMetricsF::operator=(const QFontMetrics &other)
}
/*!
+ \fn void QFontMetricsF::swap(QFontMetricsF &other)
+ \since 5.0
+
+ Swaps this font metrics instance with \a other. This function is
+ very fast and never fails.
+*/
+
+
+
+/*!
Constructs a font metrics object for \a font.
The font metrics will be compatible with the paintdevice used to