diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-08-06 11:14:52 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-08-06 11:51:00 (GMT) |
commit | 576af5e57831c7065d621f468c067fca8ebc2fe5 (patch) | |
tree | 00dcc829356aa9e440921acd91829b6fce21123e /examples/gestures/imageviewer/tapandholdgesture.h | |
parent | 504866ffcf57461774bc39357b23954df3a2d9ee (diff) | |
download | Qt-576af5e57831c7065d621f468c067fca8ebc2fe5.zip Qt-576af5e57831c7065d621f468c067fca8ebc2fe5.tar.gz Qt-576af5e57831c7065d621f468c067fca8ebc2fe5.tar.bz2 |
Fixed compilation of the gestures/imagewidget example.
Also improved an example a bit to optionally support TapAndHold
gesture with plain mouse events.
Reviewed-by: trustme
Diffstat (limited to 'examples/gestures/imageviewer/tapandholdgesture.h')
-rw-r--r-- | examples/gestures/imageviewer/tapandholdgesture.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/gestures/imageviewer/tapandholdgesture.h b/examples/gestures/imageviewer/tapandholdgesture.h index e0d50b5..61fabc2 100644 --- a/examples/gestures/imageviewer/tapandholdgesture.h +++ b/examples/gestures/imageviewer/tapandholdgesture.h @@ -66,6 +66,7 @@ private: QBasicTimer timer; int iteration; QPoint position; + QPoint startPosition; static const int iterationCount; static const int iterationTimeout; }; |