summaryrefslogtreecommitdiff
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorMikolaj Boc <mikolaj.boc@qt.io>2022-06-17 17:20:20 +0200
committerMikolaj Boc <mikolaj.boc@qt.io>2022-06-22 00:08:34 +0200
commitbc676a7d7ae2a916f20e09ccf65a10d262817aa2 (patch)
tree92a5e3e43b0963868ccf19815b98affdc49a0bd9 /src/gui/kernel
parent579f0a4cf254571b1e9a856cadd75f8b80376ca3 (diff)
downloadqtbase-bc676a7d7ae2a916f20e09ccf65a10d262817aa2.tar.gz
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>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qevent.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp
index dcc6754465..de55202d38 100644
--- a/src/gui/kernel/qevent.cpp
+++ b/src/gui/kernel/qevent.cpp
@@ -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.