summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent.h
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-06-11 09:12:43 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-06-11 09:14:43 (GMT)
commit666299f9074235185aa7372729c84a2639224601 (patch)
tree2928f7299077d37211b78f2ae7a44e180d9e37cb /src/gui/kernel/qevent.h
parent1c6c353ecc23a01368d785794d130131e3fb2553 (diff)
downloadQt-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.h4
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);