Obsolete Members for QDropEvent

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

公共函数

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

成员函数文档编制

Qt::KeyboardModifiers QDropEvent:: keyboardModifiers () const

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

Use modifiers() instead.

返回被按下的修饰符键。

Qt::MouseButtons QDropEvent:: mouseButtons () const

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

Use buttons() instead.

Returns the mouse buttons that are pressed..

QPoint QDropEvent:: pos () const

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

Use position().toPoint() instead.

返回掉落点位置。

QPointF QDropEvent:: posF () const

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

Use position() instead.

返回掉落点位置。