Obsolete Members for QKeyCombination

QKeyCombination クラスの以下のメンバーは非推奨となっています。これらは、古いソースコードが動作し続けるようにするために提供されています。新しいコードでの使用は強く推奨しません。

パブリック関数

(deprecated in 6.0) operator int() const

関連する非メンバー

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

メンバー関数のドキュメント

[constexpr noexcept, deprecated in 6.0] QKeyCombination::operator int() const

この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強くお勧めしません。

代わりに `toCombined()` を使用してください。

関連する非メンバー変数

[constexpr noexcept, deprecated in 6.0] QKeyCombination operator+(Qt::Key key, Qt::KeyboardModifier modifier)

[constexpr noexcept, deprecated in 6.0] QKeyCombination operator+(Qt::Key key, Qt::Modifier modifier)

[constexpr noexcept, deprecated in 6.0] QKeyCombination operator+(Qt::KeyboardModifier modifier, Qt::Key key)

[constexpr noexcept, deprecated in 6.0] QKeyCombination operator+(Qt::Modifier modifier, Qt::Key key)

この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強くお勧めしません。

代わりに operator| を使用してください。

key と修飾子modifier の組み合わせを表すQKeyCombination オブジェクトを返します。

[constexpr noexcept, deprecated in 6.0] QKeyCombination operator+(Qt::Key key, Qt::KeyboardModifiers modifiers)

[constexpr noexcept, deprecated in 6.0] QKeyCombination operator+(Qt::Key key, Qt::Modifiers modifiers)

[constexpr noexcept, deprecated in 6.0] QKeyCombination operator+(Qt::KeyboardModifiers modifiers, Qt::Key key)

[constexpr noexcept, deprecated in 6.0] QKeyCombination operator+(Qt::Modifiers modifiers, Qt::Key key)

この関数はバージョン 6.0 以降で非推奨となっています。新しいコードでの使用は強くお勧めしません。

代わりに演算子「|」を使用してください。

key と修飾子modifiers を組み合わせたものを表すQKeyCombination オブジェクトを返します。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.