summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesture_p.h
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-07-07 09:46:33 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-07-08 11:17:12 (GMT)
commit8b212b5f36ef7479bb902c6f8c8c1f4335f7f39f (patch)
tree9cfe87d49f384af482469bef20fc12203289bba9 /src/gui/kernel/qgesture_p.h
parent062ceb0ec312e54670362c76aefdcac5353d64cd (diff)
downloadQt-8b212b5f36ef7479bb902c6f8c8c1f4335f7f39f.zip
Qt-8b212b5f36ef7479bb902c6f8c8c1f4335f7f39f.tar.gz
Qt-8b212b5f36ef7479bb902c6f8c8c1f4335f7f39f.tar.bz2
Change default TapAndHold timeout and make configurable
The new default timeout is 700ms and is what Nokia Research found through usability studies. Nevertheless lets provide public API to set this through a platform plugin or similar. Reviewed-By: Denis
Diffstat (limited to 'src/gui/kernel/qgesture_p.h')
-rw-r--r--src/gui/kernel/qgesture_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qgesture_p.h b/src/gui/kernel/qgesture_p.h
index f5474c1..29b923e 100644
--- a/src/gui/kernel/qgesture_p.h
+++ b/src/gui/kernel/qgesture_p.h
@@ -177,6 +177,7 @@ public:
QPointF position;
int timerId;
+ static int Timeout;
};
QT_END_NAMESPACE