summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-07-02 08:38:08 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-07-02 08:39:04 (GMT)
commit69083610b09aaabbff5e8a177fac713a6a6d46ba (patch)
treea918f90d8c57f8f79cc7b71d449ab532827af1fd /src/gui
parentb4028f5a2195a432059ff26c288d772af47bc14d (diff)
downloadQt-69083610b09aaabbff5e8a177fac713a6a6d46ba.zip
Qt-69083610b09aaabbff5e8a177fac713a6a6d46ba.tar.gz
Qt-69083610b09aaabbff5e8a177fac713a6a6d46ba.tar.bz2
doc: Corrected several qdoc warnings.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/graphicsview/qgraphicssceneevent.cpp5
-rw-r--r--src/gui/kernel/qevent.cpp4
-rw-r--r--src/gui/kernel/qgesturerecognizer.cpp7
3 files changed, 12 insertions, 4 deletions
diff --git a/src/gui/graphicsview/qgraphicssceneevent.cpp b/src/gui/graphicsview/qgraphicssceneevent.cpp
index 338f12a..27a2d7e 100644
--- a/src/gui/graphicsview/qgraphicssceneevent.cpp
+++ b/src/gui/graphicsview/qgraphicssceneevent.cpp
@@ -1892,8 +1892,11 @@ void QGraphicsSceneGestureEvent::acceptAll()
setAccepted(true);
}
-/*!
+/*! \fn void QGraphicsSceneGestureEvent::accept()
+ Calls QEvent::accept().
+*/
+/*!
Sets the accept flag of the gesture specified by \a type. This is
equivalent to calling \l{QGestureEvent::gesture()} {gesture(type)}->
\l{QGesture::accept()}{accept()}
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()