Obsolete Members for QKeyCombination

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

公共函数

(弃用) int operator int () const

相关非成员

(弃用) QKeyCombination operator+ (Qt::Modifier modifier , Qt::Key key )
(弃用) QKeyCombination operator+ (Qt::KeyboardModifier modifier , Qt::Key key )
(弃用) QKeyCombination operator+ (Qt::Key key , Qt::Modifier modifier )
(弃用) QKeyCombination operator+ (Qt::Key key , Qt::KeyboardModifier modifier )
(弃用) QKeyCombination operator+ (Qt::Modifiers modifiers , Qt::Key key )
(弃用) QKeyCombination operator+ (Qt::KeyboardModifiers modifiers , Qt::Key key )
(弃用) QKeyCombination operator+ (Qt::Key key , Qt::Modifiers modifiers )
(弃用) QKeyCombination operator+ (Qt::Key key , Qt::KeyboardModifiers modifiers )

成员函数文档编制

[constexpr] int QKeyCombination:: operator int () const

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

使用 toCombined () 代替。

相关非成员

[constexpr] QKeyCombination operator+ ( Qt::Key key , Qt::KeyboardModifier modifier )

[constexpr] QKeyCombination operator+ ( Qt::Key key , Qt::Modifier modifier )

[constexpr] QKeyCombination operator+ ( Qt::KeyboardModifier modifier , Qt::Key key )

[constexpr] QKeyCombination operator+ ( Qt::Modifier modifier , Qt::Key key )

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

Use operator| instead.

返回 QKeyCombination 对象以表示组合的 key with the modifier modifier .

[constexpr] QKeyCombination operator+ ( Qt::Key key , Qt::KeyboardModifiers modifiers )

[constexpr] QKeyCombination operator+ ( Qt::Key key , Qt::Modifiers modifiers )

[constexpr] QKeyCombination operator+ ( Qt::KeyboardModifiers modifiers , Qt::Key key )

[constexpr] QKeyCombination operator+ ( Qt::Modifiers modifiers , Qt::Key key )

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

Use operator| instead.

返回 QKeyCombination 对象以表示组合的 key 采用修饰符 modifiers .