summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qevent.cpp4
-rw-r--r--src/gui/kernel/qgesturerecognizer.cpp7
2 files changed, 8 insertions, 3 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp
index e40ad9d..a7a7f2d 100644
--- a/src/gui/kernel/qevent.cpp
+++ b/src/gui/kernel/qevent.cpp
@@ -3628,6 +3628,10 @@ QSet<QString> QGestureEvent::cancelledGestures() const
return m_cancelledGestures;
}
+/*! \fn void QGestureEvent::accept()
+ Calls QEvent::accept().
+*/
+
/*!
Sets the accept flag of the all gestures inside the event object,
the equivalent of calling \l{QEvent::accept()}{accept()} or
diff --git a/src/gui/kernel/qgesturerecognizer.cpp b/src/gui/kernel/qgesturerecognizer.cpp
index c330663..30889d7 100644
--- a/src/gui/kernel/qgesturerecognizer.cpp
+++ b/src/gui/kernel/qgesturerecognizer.cpp
@@ -97,8 +97,8 @@ QString qt_getStandardGestureTypeName(Qt::GestureType gestureType);
This is a pure virtual function that needs to be implemented in
subclasses.
- Parses input \a event and returns the result, which specifies if
- the event sequence is a gesture or not.
+ Parses input \a event and returns the result, which specifies
+ whether the event sequence is a gesture or not.
*/
/*! \fn QGesture* QGestureRecognizer::getGesture()
@@ -123,7 +123,8 @@ QString qt_getStandardGestureTypeName(Qt::GestureType gestureType);
The gesture recognizer might emit the stateChanged() signal when
the gesture state changes asynchronously, i.e. without any event
- being filtered through filterEvent().
+ being filtered through filterEvent(). \a result specifies whether
+ the event sequence is a gesture or not.
*/
QGestureRecognizerPrivate::QGestureRecognizerPrivate()