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)
이 함수는 더 이상 사용되지 않습니다. 새 코드에서 이 함수를 사용하지 않는 것이 좋습니다.
대신 연산자|를 사용하세요.
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)
이 함수는 더 이상 사용되지 않습니다. 새 코드에서 이 함수를 사용하지 않는 것이 좋습니다.
대신 연산자|를 사용하세요.
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() 오버로드를 사용하세요.
이것은 오버로드된 함수입니다.
포인터의 3방향 비교를 구현합니다.
참고: 이 함수는 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.