Obsolete Members for QKeyCombination

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

公共函数

(deprecated) int operator int () const

相关非成员

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

成员函数文档编制

int QKeyCombination:: operator int () const

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

使用 toCombined () 代替。

相关非成员

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

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

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

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 .

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

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

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

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 .