diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2020-11-12 12:04:23 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-11-20 18:05:11 +0000 |
commit | 93eb4b4453e9ca38e2ddbce206358629acba25f3 (patch) | |
tree | b180f7da96d429bb6beab871a340168209d9d85f /src | |
parent | eaad8fe730f4af8605a39a9f3319c14ebd11626d (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>
Diffstat (limited to 'src')
-rw-r--r-- | src/testlib/qtestcase.qdoc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/testlib/qtestcase.qdoc b/src/testlib/qtestcase.qdoc index 2af016304d..1ff08e925f 100644 --- a/src/testlib/qtestcase.qdoc +++ b/src/testlib/qtestcase.qdoc @@ -1145,7 +1145,7 @@ should typically use createTouchDevice() to initialize a QTouchDevice member variable in your test case class, and use the same instance for all tests. - \sa QTest::QTouchEventSequence + \sa QTest::QTouchEventSequence, touchEvent() */ /*! @@ -1281,6 +1281,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. */ /*! @@ -1297,6 +1300,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: |