diff options
author | David Boddie <dboddie@trolltech.com> | 2009-10-12 18:31:20 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-10-12 18:32:01 (GMT) |
commit | b6d4d79b85d84ad95d07139fe055e3a248450952 (patch) | |
tree | 196d6249df627b821204d8bdd8a82c8c6d542b86 /examples | |
parent | 2eca30ab9d9bed3afc08d5b300c5820cae3b0083 (diff) | |
download | Qt-b6d4d79b85d84ad95d07139fe055e3a248450952.zip Qt-b6d4d79b85d84ad95d07139fe055e3a248450952.tar.gz Qt-b6d4d79b85d84ad95d07139fe055e3a248450952.tar.bz2 |
Doc: Gesture API documentation review.
Reviewed-by: Trust Me
Diffstat (limited to 'examples')
-rw-r--r-- | examples/gestures/imageviewer/imagewidget.cpp | 2 |
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*) { |