diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-08-13 05:54:40 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-08-13 05:56:15 (GMT) |
commit | de088b5a7f7b57e568399334667b14bfc9e7b893 (patch) | |
tree | cdcd94a9b70223e9c82d7ffdbf57a862fbf48acb /examples/multitouch/pinchzoom/graphicsview.h | |
parent | 1070d82e13c43accf10ef24d5bbb82d681c1cf4f (diff) | |
download | Qt-de088b5a7f7b57e568399334667b14bfc9e7b893.zip Qt-de088b5a7f7b57e568399334667b14bfc9e7b893.tar.gz Qt-de088b5a7f7b57e568399334667b14bfc9e7b893.tar.bz2 |
Get the pinchzoom working again
Touch events on scrollarea based classes should enable touch on the viewport and handle the events
in a viewportEvent() reimplementation.
Diffstat (limited to 'examples/multitouch/pinchzoom/graphicsview.h')
-rw-r--r-- | examples/multitouch/pinchzoom/graphicsview.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multitouch/pinchzoom/graphicsview.h b/examples/multitouch/pinchzoom/graphicsview.h index 928fd16..e4ca65d 100644 --- a/examples/multitouch/pinchzoom/graphicsview.h +++ b/examples/multitouch/pinchzoom/graphicsview.h @@ -49,5 +49,5 @@ class GraphicsView : public QGraphicsView public: GraphicsView(QGraphicsScene *scene = 0, QWidget *parent = 0); - bool event(QEvent *event); + bool viewportEvent(QEvent *event); }; |