summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-11-10 10:28:36 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-11-11 09:58:53 (GMT)
commit9022b0e50cac244790463905511ae5a868be3526 (patch)
tree0a661bdc22b99c50b943070f4023edb31429bc19 /src
parent661c9f93a90a8855c4dd8b6a215312387387ee9c (diff)
downloadQt-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')
-rw-r--r--src/testlib/qtestcase.cpp3
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
*/
/*!