Obsolete Members for Qt
クラスQt の以下のメンバーは非推奨です。これらは古いソース・コードの動作を維持するために提供されています。新しいコードでは使用しないことを強くお勧めします。
関数
(deprecated) | |
(deprecated) | |
(since 6.7, deprecated in 6.8) Qt::strong_ordering | compareThreeWay(const LeftType *lhs, const RightType *rhs) |
(deprecated) QKeyCombination | operator+(Qt::Key key, Qt::KeyboardModifier modifier) |
(deprecated) QKeyCombination | operator+(Qt::Key key, Qt::KeyboardModifiers modifiers) |
(deprecated) QKeyCombination | operator+(Qt::Key key, Qt::Modifier modifier) |
(deprecated) QKeyCombination | operator+(Qt::Key key, Qt::Modifiers modifiers) |
(deprecated) QKeyCombination | operator+(Qt::KeyboardModifier modifier, Qt::Key key) |
(deprecated) QKeyCombination | operator+(Qt::KeyboardModifiers modifiers, Qt::Key key) |
(deprecated) QKeyCombination | operator+(Qt::Modifier modifier, Qt::Key key) |
(deprecated) QKeyCombination | operator+(Qt::Modifiers modifiers, Qt::Key key) |
関数のドキュメント
[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)
この関数は非推奨である。新しいコードでは使用しないことを強くお勧めします。
代わりに operator| を使用してください。
key と修飾子modifier の組み合わせを表すQKeyCombination オブジェクトを返します。
[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)
この関数は非推奨である。新しいコードでは使用しないことを強くお勧めします。
代わりに operator| を使用してください。
key と修飾子modifiers の組み合わせを表すQKeyCombination オブジェクトを返します。
[constexpr noexcept, since 6.7, deprecated in 6.8]
template <typename LeftType, typename RightType, Qt::if_compatible_pointers<LeftType, RightType> = true> Qt::strong_ordering compareThreeWay(const LeftType *lhs, const RightType *rhs)
この関数は6.8から非推奨となった。新しいコードでは使用しないことを強くお勧めします。
ポインタをQt::totally_ordered_wrapper にラップし、代わりにそれぞれの Qt::compareThreeWay() オーバーロードを使用してください。
これはオーバーロードされた関数です。
ポインタの三者比較を実装しています。
注: この関数は、LeftType
とRightType
が同じ型、または基底型と派生型の場合、オーバーロードの解決に参加します。また、std::nullptr_t
へのポインタの比較にも使用されます。
lhs とrhs の関係を表すQt::strong_ordering のインスタンスを返します。
この関数は Qt 6.7 で導入されました。
© 2025 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.