summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-07-02 08:39:57 +0200
committerMartin Smith <msmith@trolltech.com>2009-07-02 08:41:02 +0200
commitf126b8cc5733d2cd37dd2aad9119e482b0d4a0e6 (patch)
treec76c6053563262e974d982501b8377a9da200b2e
parentfb1fa68ae8555deeaeaf6f193c678269c85ffc4d (diff)
doc: Corrected several qdoc warnings.
-rw-r--r--src/gui/graphicsview/qgraphicssceneevent.cpp35
-rw-r--r--src/gui/itemviews/qheaderview.h2
-rw-r--r--src/gui/kernel/qapplication.cpp2
-rw-r--r--src/qt3support/widgets/q3datetimeedit.cpp7
4 files changed, 23 insertions, 23 deletions
diff --git a/src/gui/graphicsview/qgraphicssceneevent.cpp b/src/gui/graphicsview/qgraphicssceneevent.cpp
index 7906fb8f17..338f12a2b9 100644
--- a/src/gui/graphicsview/qgraphicssceneevent.cpp
+++ b/src/gui/graphicsview/qgraphicssceneevent.cpp
@@ -1875,12 +1875,12 @@ void QGraphicsSceneGestureEvent::setGestures(const QSet<QGesture*> &gestures)
}
/*!
- Sets the accept flag of the all gestures inside the event object,
- the equivalent of calling \l{QEvent::accept()}{accept()} or
- \l{QEvent::setAccepted()}{setAccepted(true)}.
+ Sets the accept flag of the all gestures for the event object.
+ This is the equivalent of calling \l{QEvent::accept()} {accept()}
+ or \l{QEvent::setAccepted()}{setAccepted(true)}.
- Setting the accept parameter indicates that the event receiver
- wants the gesture. Unwanted gestures might be propagated to the parent
+ Setting the accept flag indicates that the event receiver wants
+ the gesture. Unwanted gestures might be propagated to the parent
widget.
*/
void QGraphicsSceneGestureEvent::acceptAll()
@@ -1893,13 +1893,14 @@ void QGraphicsSceneGestureEvent::acceptAll()
}
/*!
- Sets the accept flag of the specified gesture inside the event
- object, the equivalent of calling
- \l{QGestureEvent::gesture()}{gesture(type)}->\l{QGesture::accept()}{accept()}
- Setting the accept parameter indicates that the event receiver
- wants the gesture. Unwanted gestures might be propagated to the parent
- widget.
+ 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()}
+
+ Setting the accept flag indicates that the event receiver
+ wants the gesture. Unwanted gestures might be propagated to the parent
+ widget.
*/
void QGraphicsSceneGestureEvent::accept(Qt::GestureType type)
{
@@ -1908,13 +1909,13 @@ void QGraphicsSceneGestureEvent::accept(Qt::GestureType type)
}
/*!
- Sets the accept flag of the specified gesture inside the event
- object, the equivalent of calling
- \l{QGestureEvent::gesture()}{gesture(type)}->\l{QGesture::accept()}{accept()}
- Setting the accept parameter indicates that the event receiver
- wants the gesture. Unwanted gestures might be propagated to the parent
- widget.
+ 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()}
+
+ Setting the accept flag indicates that the event receiver wants the
+ gesture. Unwanted gestures might be propagated to the parent widget.
*/
void QGraphicsSceneGestureEvent::accept(const QString &type)
{
diff --git a/src/gui/itemviews/qheaderview.h b/src/gui/itemviews/qheaderview.h
index f752ae2d52..bf926677a2 100644
--- a/src/gui/itemviews/qheaderview.h
+++ b/src/gui/itemviews/qheaderview.h
@@ -221,7 +221,7 @@ protected:
bool isIndexHidden(const QModelIndex &index) const;
QModelIndex moveCursor(CursorAction, Qt::KeyboardModifiers);
- void setSelection(const QRect&, QItemSelectionModel::SelectionFlags);
+ void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags flags);
QRegion visualRegionForSelection(const QItemSelection &selection) const;
void initStyleOption(QStyleOptionHeader *option) const;
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index 15ddce8469..60c69ccf51 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -5096,7 +5096,7 @@ void QApplication::removeGestureRecognizer(QGestureRecognizer *recognizer)
The delay allows to postpone widget's input event handling until
gestures framework can successfully recognize a gesture.
- \sa QWidget::grabGesture
+ \sa QWidget::grabGesture()
*/
void QApplication::setEventDeliveryDelayForGestures(int delay)
{
diff --git a/src/qt3support/widgets/q3datetimeedit.cpp b/src/qt3support/widgets/q3datetimeedit.cpp
index 48726420dd..9c2f289b08 100644
--- a/src/qt3support/widgets/q3datetimeedit.cpp
+++ b/src/qt3support/widgets/q3datetimeedit.cpp
@@ -2648,13 +2648,12 @@ Q3DateTimeEdit::~Q3DateTimeEdit()
}
-/*!
+/*! \fn void Q3DateTimeEdit::resizeEvent(QResizeEvent *event)
\reimp
- Intercepts and handles resize events which have special meaning
- for the Q3DateTimeEdit.
+ Intercepts and handles the resize \a event, which hase a
+ special meaning for the Q3DateTimeEdit.
*/
-
void Q3DateTimeEdit::resizeEvent(QResizeEvent *)
{
int dw = de->sizeHint().width();