summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2020-11-12 12:04:23 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-11-20 20:19:35 +0000
commit48b68d95a4bd3737290dd6a0d849db43dff47f97 (patch)
tree4f1e65c76f93f86bd3ecc2d114b895c775b97349
parentb04e36341c117777c3a18e08d846eb73718c0bcc (diff)
Doc: explain how to create a test touch device for use with touchEvent
Change-Id: Ib60eb0754449da7c50f8632ebd5228ddbe8389f1 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 5861e06568c44c58aecacdf26fd7938240348956) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/testlib/qtestcase.qdoc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/testlib/qtestcase.qdoc b/src/testlib/qtestcase.qdoc
index fa71729e56..4436becb43 100644
--- a/src/testlib/qtestcase.qdoc
+++ b/src/testlib/qtestcase.qdoc
@@ -1268,7 +1268,7 @@
should typically use createTouchDevice() to initialize a QPointingDevice
member variable in your test case class, and use the same instance for all tests.
- \sa QTest::QTouchEventSequence
+ \sa QTest::QTouchEventSequence, touchEvent()
*/
/*!
@@ -1404,6 +1404,9 @@
QTouchEventSequence is called (ie when the object returned runs out of scope), unless
\a autoCommit is set to false. When \a autoCommit is false, commit() has to be called
manually.
+
+ \l createTouchDevice() can be called to create a test touch device for use with this
+ function.
*/
/*!
@@ -1420,6 +1423,9 @@
QTouchEventSequence is called (ie when the object returned runs out of scope), unless
\a autoCommit is set to false. When \a autoCommit is false, commit() has to be called
manually.
+
+ \l createTouchDevice() can be called to create a test touch device for use with this
+ function.
*/
// Internals of qtestmouse.h: