summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 7906fb8..338f12a 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 f752ae2..bf92667 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 15ddce8..60c69cc 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 4872642..9c2f289 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();