以下成员源于类 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 noexcept, deprecated]
int
QKeyCombination::
operator int
() const
This function is deprecated. We strongly advise against using it in new code.
使用 toCombined () 代替。
[constexpr noexcept, deprecated]
QKeyCombination
operator+
(
Qt::Key
key
,
Qt::KeyboardModifier
modifier
)
[constexpr noexcept, deprecated]
QKeyCombination
operator+
(
Qt::Key
key
,
Qt::Modifier
modifier
)
[constexpr noexcept, deprecated]
QKeyCombination
operator+
(
Qt::KeyboardModifier
modifier
,
Qt::Key
key
)
[constexpr noexcept, deprecated]
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 noexcept, deprecated]
QKeyCombination
operator+
(
Qt::Key
key
,
Qt::KeyboardModifiers
modifiers
)
[constexpr noexcept, deprecated]
QKeyCombination
operator+
(
Qt::Key
key
,
Qt::Modifiers
modifiers
)
[constexpr noexcept, deprecated]
QKeyCombination
operator+
(
Qt::KeyboardModifiers
modifiers
,
Qt::Key
key
)
[constexpr noexcept, deprecated]
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 .