summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication.cpp
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 /src/gui/kernel/qapplication.cpp
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 'src/gui/kernel/qapplication.cpp')
-rw-r--r--src/gui/kernel/qapplication.cpp23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index d188468..b990fe2 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -5620,16 +5620,18 @@ Q_GUI_EXPORT void qt_translateRawTouchEvent(QWidget *window,
}
/*!
- Registers \a recognizer in the gesture framework and returns a gesture id.
+ \since 4.6
- QApplication takes ownership of \a recognizer and returns the gesture type
- id associated with it. For gesture recognizers which handle custom QGesture
- objects (i.e. return Qt::CustomGesture in a QGesture::gestureType()
- function, the return value is a gesture id between Qt::CustomGesture and
- Qt::LastGestureType.
+ Registers the given \a recognizer in the gesture framework and returns a gesture ID
+ for it.
- \sa unregisterGestureRecognizer, QGestureRecognizer::createGesture, QGesture
- \since 4.6
+ The application takes ownership of the \a recognizer and returns the gesture type
+ ID associated with it. For gesture recognizers which handle custom QGesture
+ objects (i.e., those which return Qt::CustomGesture in a QGesture::gestureType()
+ function) the return value is a gesture ID between Qt::CustomGesture and
+ Qt::LastGestureType, inclusive.
+
+ \sa unregisterGestureRecognizer(), QGestureRecognizer::createGesture(), QGesture
*/
Qt::GestureType QApplication::registerGestureRecognizer(QGestureRecognizer *recognizer)
{
@@ -5637,10 +5639,11 @@ Qt::GestureType QApplication::registerGestureRecognizer(QGestureRecognizer *reco
}
/*!
- Unregisters all gesture recognizers of specified \a type.
+ \since 4.6
+
+ Unregisters all gesture recognizers of the specified \a type.
\sa registerGestureRecognizer
- \since 4.6
*/
void QApplication::unregisterGestureRecognizer(Qt::GestureType type)
{