summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpainter.cpp
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2009-05-19 13:07:18 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2009-05-19 13:07:18 (GMT)
commitd7fda9c7aef17ed79fd656f197fb179acb4ec54a (patch)
tree10d34a0e1159597c954c0446f028beaa0dd20394 /src/gui/painting/qpainter.cpp
parentae85bab1ec5d66d4bfb628da4f0e5514dc85f5a5 (diff)
parent16887d14b975c4740f037366dc7e45d59731fb47 (diff)
downloadQt-d7fda9c7aef17ed79fd656f197fb179acb4ec54a.zip
Qt-d7fda9c7aef17ed79fd656f197fb179acb4ec54a.tar.gz
Qt-d7fda9c7aef17ed79fd656f197fb179acb4ec54a.tar.bz2
Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-public
Diffstat (limited to 'src/gui/painting/qpainter.cpp')
-rw-r--r--src/gui/painting/qpainter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp
index baa9ce3..cc48d24 100644
--- a/src/gui/painting/qpainter.cpp
+++ b/src/gui/painting/qpainter.cpp
@@ -7159,14 +7159,14 @@ QPoint QPainter::xFormDev(const QPoint &p) const
\fn QRect QPainter::xFormDev(const QRect &rectangle) const
\overload
- Use combineMatrix() combined with QMatrix::inverted() instead.
+ Use mapRect() combined with QMatrix::inverted() instead.
\oldcode
QPainter painter(this);
QRect transformed = painter.xFormDev(rectangle);
\newcode
QPainter painter(this);
- QRect transformed = rectangle * painter.combinedMatrix().inverted();
+ QRect transformed = painter.combinedMatrix().inverted(rectangle);
\endcode
*/