Document QMouseEvent::pos() as deprecated in 6.0

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

Fixes: PYSIDE-1750
Pick-to: 6.4 6.3 6.2 6.1 6.0
Change-Id: I038ffeb958312d7648690743e06598a15dfb4cbc
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
Mikolaj Boc 2022-06-17 17:20:20 +02:00
parent 579f0a4cf2
commit bc676a7d7a

View File

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