diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-04-15 10:01:36 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-04-15 10:05:42 (GMT) |
commit | 79891d8284736dc318cff8d9c3f6d7a6e87affd9 (patch) | |
tree | fe053e870f19f4f2cb218a7d4a6a986e001db7dd /src/corelib/tools/qpoint.h | |
parent | 0d7f704856166aea83843697ae98bdcf22dbabb0 (diff) | |
download | Qt-79891d8284736dc318cff8d9c3f6d7a6e87affd9.zip Qt-79891d8284736dc318cff8d9c3f6d7a6e87affd9.tar.gz Qt-79891d8284736dc318cff8d9c3f6d7a6e87affd9.tar.bz2 |
Introduce QPointF::manhattanLength
Task-number: 251068
Diffstat (limited to 'src/corelib/tools/qpoint.h')
-rw-r--r-- | src/corelib/tools/qpoint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/tools/qpoint.h b/src/corelib/tools/qpoint.h index 1dab7e2..e716bf7 100644 --- a/src/corelib/tools/qpoint.h +++ b/src/corelib/tools/qpoint.h @@ -192,6 +192,8 @@ public: QPointF(const QPoint &p); QPointF(qreal xpos, qreal ypos); + qreal manhattanLength() const; + bool isNull() const; qreal x() const; |