diff options
author | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-07-20 17:32:56 (GMT) |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-07-20 17:34:46 (GMT) |
commit | ee4a76e2a1afade93ec89e9a7875837b195706e9 (patch) | |
tree | af8773e1337fef62e73d85008fdf7ee03a6a963c /src | |
parent | 8f2a9e7060f751113999feae4b907e065c9a4e19 (diff) | |
download | Qt-ee4a76e2a1afade93ec89e9a7875837b195706e9.zip Qt-ee4a76e2a1afade93ec89e9a7875837b195706e9.tar.gz Qt-ee4a76e2a1afade93ec89e9a7875837b195706e9.tar.bz2 |
Doc: fix links between QGraphicsItem and QTouchEvent
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/graphicsview/qgraphicsitem.cpp | 6 | ||||
-rw-r--r-- | src/gui/kernel/qevent.cpp | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.cpp b/src/gui/graphicsview/qgraphicsitem.cpp index 5ef6219..ae2a2c3 100644 --- a/src/gui/graphicsview/qgraphicsitem.cpp +++ b/src/gui/graphicsview/qgraphicsitem.cpp @@ -2332,8 +2332,8 @@ void QGraphicsItem::setAcceptsHoverEvents(bool enabled) /*! \since 4.6 - Returns true if an item accepts touch events (QTouchEvent); otherwise, returns false. By - default, items do not accept touch events. + Returns true if an item accepts \l{QTouchEvent}{touch events}; + otherwise, returns false. By default, items do not accept touch events. \sa setAcceptTouchEvents() */ @@ -2345,7 +2345,7 @@ bool QGraphicsItem::acceptTouchEvents() const /*! \since 4.6 - If \a enabled is true, this item will accept touch events; + If \a enabled is true, this item will accept \l{QTouchEvent}{touch events}; otherwise, it will ignore them. By default, items do not accept touch events. */ diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index d1eb5cd..328ba3d 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -119,7 +119,7 @@ QInputEvent::~QInputEvent() will not be propagated further up the parent widget chain. The state of the keyboard modifier keys can be found by calling the - \l{QInputEvent::modifiers()}{modifiers()} function, inhertied from + \l{QInputEvent::modifiers()}{modifiers()} function, inherited from QInputEvent. The functions pos(), x(), and y() give the cursor position @@ -3539,13 +3539,13 @@ QMenubarUpdatedEvent::QMenubarUpdatedEvent(QMenuBar * const menuBar) touch points on a touch device (such as a touch-screen or track-pad). To receive touch events, widgets have to have the Qt::WA_AcceptTouchEvents attribute set and graphics items need to have - the \l{QGraphicsItem::setAcceptsTouchEvents}{setAcceptsTouchEvents} + the \l{QGraphicsItem::setAcceptTouchEvents()}{acceptTouchEvents} attribute set to true. All touch events are of type QEvent::TouchBegin, QEvent::TouchUpdate, or QEvent::TouchEnd. The touchPoints() function returns a list of all touch points contained in the event. - Information about each touch point can be retreived using the + Information about each touch point can be retrieved using the QTouchEvent::TouchPoint class. The Qt::TouchPointState enum describes the different states that a touch point may have. @@ -3569,7 +3569,7 @@ QMenubarUpdatedEvent::QMenubarUpdatedEvent(QMenuBar * const menuBar) for items in a graphics view to receive touch events. \sa QTouchEvent::TouchPoint, Qt::TouchPointState, Qt::WA_AcceptTouchEvents, - QGraphicsItem::acceptTouchEvents + QGraphicsItem::acceptTouchEvents() */ /*! \enum Qt::TouchPointState |