summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qmatrix.h
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-12-18 13:52:46 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-12-18 13:52:46 (GMT)
commit79a7b643231ac690ffeaaa53cc1ff7e8538a3056 (patch)
tree87f4988bcfe1d59234882293214829a6fbee0cf5 /src/gui/painting/qmatrix.h
parentba7927c84e0e1ed4df197e60b1c9eeec8ce1475c (diff)
parente581386148a9615ef6c11eb3ae6735d0fa9668f6 (diff)
downloadQt-79a7b643231ac690ffeaaa53cc1ff7e8538a3056.zip
Qt-79a7b643231ac690ffeaaa53cc1ff7e8538a3056.tar.gz
Qt-79a7b643231ac690ffeaaa53cc1ff7e8538a3056.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6
Diffstat (limited to 'src/gui/painting/qmatrix.h')
-rw-r--r--src/gui/painting/qmatrix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qmatrix.h b/src/gui/painting/qmatrix.h
index 152b3c9..af48bcb 100644
--- a/src/gui/painting/qmatrix.h
+++ b/src/gui/painting/qmatrix.h
@@ -102,7 +102,9 @@ public:
bool isInvertible() const { return !qFuzzyIsNull(_m11*_m22 - _m12*_m21); }
qreal determinant() const { return _m11*_m22 - _m12*_m21; }
+#ifdef QT_DEPRECATED
QT_DEPRECATED qreal det() const { return _m11*_m22 - _m12*_m21; }
+#endif
QMatrix inverted(bool *invertible = 0) const;