diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-26 17:38:27 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-27 14:09:47 +0200 |
commit | 7083ddb5822e4b03b8e4098aeab1ca606940f7f0 (patch) | |
tree | 25f0a0d35654d72b478720966d56021ad02c2f00 /src/gui/kernel | |
parent | 38a5b6212db33700804b83802ef9f0b1423b29cd (diff) |
Fix qdoc warning: button(s) are members of QSinglePointEvent
... and documented there already.
Change-Id: Ie66362d3b668caf93b100befef08bc91ae8add2f
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qevent.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index 91ebb9f784..2772ca6fe2 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -1211,31 +1211,6 @@ Qt::MouseEventFlags QMouseEvent::flags() const */ /*! - \fn Qt::MouseButton QMouseEvent::button() const - - Returns the button that caused the event. - - Note that the returned value is always Qt::NoButton for mouse - move events. - - \sa buttons(), Qt::MouseButton -*/ - -/*! - \fn Qt::MouseButton QMouseEvent::buttons() const - - Returns the button state when the event was generated. The button - state is a combination of Qt::LeftButton, Qt::RightButton, - Qt::MiddleButton using the OR operator. For mouse move events, - this is all buttons that are pressed down. For mouse press and - double click events this includes the button that caused the - event. For mouse release events this excludes the button that - caused the event. - - \sa button(), Qt::MouseButton -*/ - -/*! \class QHoverEvent \ingroup events \inmodule QtGui |