summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent.h
diff options
context:
space:
mode:
authorThomas Zander <thomas.zander@trolltech.com>2009-10-19 17:11:19 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-10-22 14:59:19 (GMT)
commit0f1f53414de3e7d1b62149ee42a334c6f2d01f78 (patch)
tree31594cd62f1224ba5d59896fa28c68f960cb8ef4 /src/gui/kernel/qevent.h
parent75599a71e957cae29ddd4d3df9e89d9d4edc0b3d (diff)
downloadQt-0f1f53414de3e7d1b62149ee42a334c6f2d01f78.zip
Qt-0f1f53414de3e7d1b62149ee42a334c6f2d01f78.tar.gz
Qt-0f1f53414de3e7d1b62149ee42a334c6f2d01f78.tar.bz2
Add QGestureEvent::mapToScene for better graphicsView integration
Diffstat (limited to 'src/gui/kernel/qevent.h')
-rw-r--r--src/gui/kernel/qevent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h
index 5eefc2d..249c45a 100644
--- a/src/gui/kernel/qevent.h
+++ b/src/gui/kernel/qevent.h
@@ -855,6 +855,8 @@ public:
void setWidget(QWidget *widget);
QWidget *widget() const;
+ QPointF mapToScene(const QPointF &gesturePoint) const;
+
private:
QGestureEventPrivate *d_func();
const QGestureEventPrivate *d_func() const;