Obsolete Members for QDropEvent

以下成员源于类 QDropEvent 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

公共函数

(deprecated in 6.0) Qt::KeyboardModifiers keyboardModifiers () const
(deprecated in 6.0) Qt::MouseButtons mouseButtons () const
(deprecated in 6.0) QPoint pos () const
(deprecated in 6.0) QPointF posF () const

成员函数文档编制

[deprecated in 6.0] Qt::KeyboardModifiers QDropEvent:: keyboardModifiers () const

This function is deprecated since 6.0. We strongly advise against using it in new code.

使用 modifiers () 代替。

返回被按下的修饰符键。

[deprecated in 6.0] Qt::MouseButtons QDropEvent:: mouseButtons () const

This function is deprecated since 6.0. We strongly advise against using it in new code.

使用 buttons () 代替。

返回被按下的鼠标按钮。

[deprecated in 6.0] QPoint QDropEvent:: pos () const

This function is deprecated since 6.0. We strongly advise against using it in new code.

使用 position ().toPoint() instead.

返回掉落点位置。

[deprecated in 6.0] QPointF QDropEvent:: posF () const

This function is deprecated since 6.0. We strongly advise against using it in new code.

使用 position () 代替。

返回掉落点位置。