Obsolete Members for Qt
Qt クラスの以下のメンバーは非推奨となっています。これらは、古いソースコードが引き続き動作するように提供されているものです。新しいコードでの使用は強く推奨しません。
型
(deprecated in 6.12) enum | NavigationMode { NavigationModeNone, NavigationModeKeypadTabOrder, NavigationModeKeypadDirectional, NavigationModeCursorAuto, NavigationModeCursorForceVisible } |
関数
(since 6.7, deprecated in 6.8) Qt::strong_ordering | compareThreeWay(const LeftType *lhs, const RightType *rhs) |
(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) |
型のドキュメント
[deprecated in 6.12] enum Qt::NavigationMode
この列挙型はバージョン 6.12 以降、非推奨となっています。新しいコードでの使用は強く推奨しません。
この列挙型は、フォーカスの移動モードを表します。
| 定数 | 値 | 説明 |
|---|---|---|
Qt::NavigationModeNone | 0 | タッチスクリーンのみが使用されます。 |
Qt::NavigationModeKeypadTabOrder | 1 | Qt::Key_Up およびQt::Key_Down を使用してフォーカスを変更します。 |
Qt::NavigationModeKeypadDirectional | 2 | Qt::Key_Up、Qt::Key_Down 、Qt::Key_Left 、およびQt::Key_Right を使用してフォーカスを変更します。 |
Qt::NavigationModeCursorAuto | 3 | フォーカスの変更にはマウスカーソルが使用されますが、これはタッチスクリーン以外のデバイスでのみ表示されます。 デバイスにアナログマウス型の入力デバイス(例:タッチパッド)が搭載されていない場合、キーパッドを使用して仮想カーソルを実装します。これは、タッチ対応デバイスと非タッチ対応デバイスの両方でポインタ制御を必要とする Web ブラウザなどのアプリケーションに推奨される設定です。 |
Qt::NavigationModeCursorForceVisible | 4 | フォーカスの切り替えにはマウスカーソルが使用され、デバイスの種類に関係なく表示されます。デバイスにアナログマウス型の入力デバイス(例:タッチパッド)が搭載されていない場合、仮想カーソルの実装にはキーパッドが使用されます。 注: この列挙型を使用していた Qt API( |
関数のドキュメント
[constexpr noexcept, since 6.7, deprecated in 6.8] template <typename LeftType, typename RightType> requires if_compatible_pointers<LeftType, RightType> Qt::strong_ordering compareThreeWay(const LeftType *lhs, const RightType *rhs)
この関数はバージョン 6.8 以降、非推奨となっています。新しいコードでの使用は強く控えることをお勧めします。
ポインタをQt::totally_ordered_wrapper でラップし、代わりにそれぞれのQt::compareThreeWay()のオーバーロードを使用してください。
ポインタの 3 項比較を実装します。
lhs とrhs の間の関係を表すQt::strong_ordering のインスタンスを返します。
制約
LeftType とRightType が同じ型、あるいは基底型と派生型である場合にのみ、オーバーロード解決の対象となります。また、std::nullptr_t へのポインタの比較にも使用されます。
これはオーバーロードされた関数です。
この関数は Qt 6.7 で導入されました。
[constexpr noexcept, deprecated in 6.0] QKeyCombination operator+(Qt::Modifier modifier, Qt::Key key)
[constexpr noexcept, deprecated in 6.0] QKeyCombination operator+(Qt::KeyboardModifier modifier, Qt::Key key)
[constexpr noexcept, deprecated in 6.0] QKeyCombination operator+(Qt::Key key, Qt::Modifier modifier)
[constexpr noexcept, deprecated in 6.0] QKeyCombination operator+(Qt::Key key, Qt::KeyboardModifier modifier)
この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強くお勧めしません。
代わりに演算子「|」を使用してください。
key と修飾子modifier の組み合わせを表すQKeyCombination オブジェクトを返します。
[constexpr noexcept, deprecated in 6.0] QKeyCombination operator+(Qt::Modifiers modifiers, Qt::Key key)
[constexpr noexcept, deprecated in 6.0] QKeyCombination operator+(Qt::KeyboardModifiers modifiers, Qt::Key key)
[constexpr noexcept, deprecated in 6.0] QKeyCombination operator+(Qt::Key key, Qt::Modifiers modifiers)
[constexpr noexcept, deprecated in 6.0] QKeyCombination operator+(Qt::Key key, Qt::KeyboardModifiers modifiers)
この関数はバージョン 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.