From 7083ddb5822e4b03b8e4098aeab1ca606940f7f0 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Sat, 26 Sep 2020 17:38:27 +0200 Subject: [PATCH] Fix qdoc warning: button(s) are members of QSinglePointEvent ... and documented there already. Change-Id: Ie66362d3b668caf93b100befef08bc91ae8add2f Reviewed-by: Shawn Rutledge --- src/gui/kernel/qevent.cpp | 25 ------------------------- 1 file changed, 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 @@ -1210,31 +1210,6 @@ Qt::MouseEventFlags QMouseEvent::flags() const \sa globalX(), globalPos() */ -/*! - \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