Document QMouseEvent::pos() as deprecated in 6.0

The API is deprecated, but the documentation does not state that.

Fixes: PYSIDE-1750
Change-Id: I038ffeb958312d7648690743e06598a15dfb4cbc
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
(cherry picked from commit bc676a7d7ae2a916f20e09ccf65a10d262817aa2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Mikolaj Boc 2022-06-17 17:20:20 +02:00 committed by Qt Cherry-pick Bot
parent 30daa8248e
commit 35d9de7082

View File

@ -850,6 +850,7 @@ Qt::MouseEventFlags QMouseEvent::flags() const
/*!
\fn QPoint QMouseEvent::pos() const
\deprecated [6.0] Use position() instead.
Returns the position of the mouse cursor, relative to the widget
that received the event.