summaryrefslogtreecommitdiffstats
path: root/examples/gestures
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-10-12 18:31:20 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-10-12 18:32:01 (GMT)
commitb6d4d79b85d84ad95d07139fe055e3a248450952 (patch)
tree196d6249df627b821204d8bdd8a82c8c6d542b86 /examples/gestures
parent2eca30ab9d9bed3afc08d5b300c5820cae3b0083 (diff)
downloadQt-b6d4d79b85d84ad95d07139fe055e3a248450952.zip
Qt-b6d4d79b85d84ad95d07139fe055e3a248450952.tar.gz
Qt-b6d4d79b85d84ad95d07139fe055e3a248450952.tar.bz2
Doc: Gesture API documentation review.
Reviewed-by: Trust Me
Diffstat (limited to 'examples/gestures')
-rw-r--r--examples/gestures/imageviewer/imagewidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/gestures/imageviewer/imagewidget.cpp b/examples/gestures/imageviewer/imagewidget.cpp
index 5633942..b8bb7b5 100644
--- a/examples/gestures/imageviewer/imagewidget.cpp
+++ b/examples/gestures/imageviewer/imagewidget.cpp
@@ -147,6 +147,7 @@ void ImageWidget::pinchTriggered(QPinchGesture *gesture)
update();
}
+//! [swipe slot]
void ImageWidget::swipeTriggered(QSwipeGesture *gesture)
{
if (gesture->horizontalDirection() == QSwipeGesture::Left
@@ -156,6 +157,7 @@ void ImageWidget::swipeTriggered(QSwipeGesture *gesture)
goNextImage();
update();
}
+//! [swipe slot]
void ImageWidget::resizeEvent(QResizeEvent*)
{