diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-11 09:12:43 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-11 09:14:43 (GMT) |
commit | 666299f9074235185aa7372729c84a2639224601 (patch) | |
tree | 2928f7299077d37211b78f2ae7a44e180d9e37cb /src/gui/kernel/qevent.h | |
parent | 1c6c353ecc23a01368d785794d130131e3fb2553 (diff) | |
download | Qt-666299f9074235185aa7372729c84a2639224601.zip Qt-666299f9074235185aa7372729c84a2639224601.tar.gz Qt-666299f9074235185aa7372729c84a2639224601.tar.bz2 |
another API review round: change Q*TouchEvent size() functions to return rects instead
these are more useful, as already shown in the fingerpaint example
Diffstat (limited to 'src/gui/kernel/qevent.h')
-rw-r--r-- | src/gui/kernel/qevent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h index 0c4bbb7..4d62958 100644 --- a/src/gui/kernel/qevent.h +++ b/src/gui/kernel/qevent.h @@ -792,8 +792,8 @@ public: QPointF lastGlobalPos() const; void setLastGlobalPos(const QPointF &lastGlobalPos); - QSizeF size() const; - void setSize(const QSizeF &size); + QRectF rect() const; + void setRect(const QRectF &rect); qreal pressure() const; void setPressure(qreal pressure); |