summaryrefslogtreecommitdiffstats
path: root/examples/gestures/imageviewer/tapandholdgesture.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-08-06 11:14:52 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-08-06 11:51:00 (GMT)
commit576af5e57831c7065d621f468c067fca8ebc2fe5 (patch)
tree00dcc829356aa9e440921acd91829b6fce21123e /examples/gestures/imageviewer/tapandholdgesture.h
parent504866ffcf57461774bc39357b23954df3a2d9ee (diff)
downloadQt-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.h1
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;
};