summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qglyphrun.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-04-05 14:49:02 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-03 01:20:15 +0200
commitf6f517bc5442f8c649ed18136d099d9ae1092a22 (patch)
treeb3f0b9745edc024612c9f63bdd1c200f1b34945f /src/gui/text/qglyphrun.cpp
parent6c59cdecee42dad1e100857314d28a3d8279a164 (diff)
QtGui: add member-swap to shared classes
Implemented as in other shared classes (e.g. QPen). Change-Id: I5b96d4a4795870d6252aa53de6fbaedde7c0095a Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/gui/text/qglyphrun.cpp')
-rw-r--r--src/gui/text/qglyphrun.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/text/qglyphrun.cpp b/src/gui/text/qglyphrun.cpp
index c298893002..b3191891ae 100644
--- a/src/gui/text/qglyphrun.cpp
+++ b/src/gui/text/qglyphrun.cpp
@@ -153,6 +153,14 @@ QGlyphRun &QGlyphRun::operator=(const QGlyphRun &other)
}
/*!
+ \fn void QGlyphRun::swap(QGlyphRun &other)
+ \since 5.0
+
+ Swaps this glyph run instance with \a other. This function is very
+ fast and never fails.
+*/
+
+/*!
Compares \a other to this QGlyphRun object. Returns true if the list of glyph indexes,
the list of positions and the font are all equal, otherwise returns false.
*/