diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2010-11-10 10:28:36 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2010-11-11 09:58:53 (GMT) |
commit | 9022b0e50cac244790463905511ae5a868be3526 (patch) | |
tree | 0a661bdc22b99c50b943070f4023edb31429bc19 /src/testlib/qtestcase.cpp | |
parent | 661c9f93a90a8855c4dd8b6a215312387387ee9c (diff) | |
download | Qt-9022b0e50cac244790463905511ae5a868be3526.zip Qt-9022b0e50cac244790463905511ae5a868be3526.tar.gz Qt-9022b0e50cac244790463905511ae5a868be3526.tar.bz2 |
Added an example for QTest::touchEvent to the documentation.
Reviewed-by: trustme
Diffstat (limited to 'src/testlib/qtestcase.cpp')
-rw-r--r-- | src/testlib/qtestcase.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp index 17f1a6b..e3a8726 100644 --- a/src/testlib/qtestcase.cpp +++ b/src/testlib/qtestcase.cpp @@ -755,6 +755,9 @@ QT_BEGIN_NAMESPACE QTest::touchEvent to create a QTouchEventSequence instance. Add touch events to the sequence by calling press(), move(), release() and stationary(), and let the instance run out of scope to commit the sequence to the event system. + + Example: + \snippet doc/src/snippets/code/src_qtestlib_qtestcase.cpp 25 */ /*! |