summaryrefslogtreecommitdiffstats
path: root/src/testlib/doc/src
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2020-11-02 11:56:27 +0100
committerMårten Nordheim <marten.nordheim@qt.io>2020-11-03 13:06:14 +0100
commit1776c0b40dfaba53b329c0f0288e27b24acf865f (patch)
tree1b60a88dcf946dc71c15ffc1fc7ce3c38a255c85 /src/testlib/doc/src
parentdf57e1ac65911b96d14d0127e6a1fc8e4a13f7e4 (diff)
QtTestLib: Update porting guide
Few breaking changes. Some things moved header, but as they didn't change namespace, naming or signature, and the old headers now include the 'new' headers, it is SC anyway. Change-Id: I6b0556049f6d9203dcf7420317a14992fbe85a80 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/testlib/doc/src')
-rw-r--r--src/testlib/doc/src/qt6-changes.qdoc17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/testlib/doc/src/qt6-changes.qdoc b/src/testlib/doc/src/qt6-changes.qdoc
index ce5c326f81..2802734c87 100644
--- a/src/testlib/doc/src/qt6-changes.qdoc
+++ b/src/testlib/doc/src/qt6-changes.qdoc
@@ -41,6 +41,21 @@
In this topic we summarize those changes in Qt Test, and provide
guidance to handle them.
- \section1 ADD STUFF HERE
+ \section1 Touch-related functionality
+
+ \section2 QTouchEventSequence
+
+ QTest::QTouchEventSequence functions taking a QWidget parameter has been moved
+ to a new class: QTest::QTouchEventWidgetSequence. The list of affected
+ functions is as follows:
+
+ \list
+ \li QTest::QTouchEventSequence::press(int touchId, const QPoint &pt, QWidget *widget)
+ \li QTest::QTouchEventSequence::move(int touchId, const QPoint &pt, QWidget *widget)
+ \li QTest::QTouchEventSequence::release(int touchId, const QPoint &pt, QWidget *widget)
+ \endlist
+
+ On that same note, the overload of QTest::touchEvent() taking a QWidget
+ parameter has been changed to return a QTouchEventWidgetSequence object.
*/