Add note and references to the operator*=() methods for consistency
authorLaszlo Papp <lpapp@kde.org>
Sun, 8 Jul 2012 11:23:45 +0000 (12:23 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 10 Jul 2012 01:24:01 +0000 (03:24 +0200)
Change-Id: Ic2681e1db39a30619d3b2a906595cdbdd0e766d6
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
src/corelib/tools/qpoint.cpp

index 07f46c3..5404c83 100644 (file)
@@ -295,6 +295,11 @@ QT_BEGIN_NAMESPACE
     \relates QPoint
 
     Returns a copy of the given \a point multiplied by the given \a factor.
+
+    Note that the result is rounded to the nearest integer as points
+    are held as integers. Use QPointF for floating point accuracy.
+
+    \sa QPoint::operator*=()
 */
 
 /*!
@@ -303,6 +308,11 @@ QT_BEGIN_NAMESPACE
     \relates QPoint
 
     Returns a copy of the given \a point multiplied by the given \a factor.
+
+    Note that the result is rounded to the nearest integer as points
+    are held as integers. Use QPointF for floating point accuracy.
+
+    \sa QPoint::operator*=()
 */
 
 /*!
@@ -311,6 +321,8 @@ QT_BEGIN_NAMESPACE
     \relates QPoint
 
     Returns a copy of the given \a point multiplied by the given \a factor.
+
+    \sa QPoint::operator*=()
 */
 
 /*!