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)

유형 설명서

이 열거형은 6.12 버전부터 사용이 권장되지 않습니다. 새로운 코드에서는 이 열거형을 사용하지 않는 것이 좋습니다.

이 열거형 유형은 포커스를 이동하는 모드를 나타냅니다.

상수값설명
Qt::NavigationModeNone0터치 스크린만 사용됩니다.
Qt::NavigationModeKeypadTabOrder1Qt::Key_Up 및 Qt::Key_Down 는 포커스를 변경하는 데 사용됩니다.
Qt::NavigationModeKeypadDirectional2Qt::Key_Up, Qt::Key_Down, Qt::Key_Left 및 Qt::Key_Right 는 포커스를 변경하는 데 사용됩니다.
Qt::NavigationModeCursorAuto3마우스 커서는 포커스를 변경하는 데 사용되며, 터치스크린이 아닌 기기에서만 표시됩니다. 키패드는 기기에 아날로그 마우스 유형의 입력 장치(예: 터치패드)가 없는 경우 가상 커서를 구현하는 데 사용됩니다. 이는 터치 기기와 비터치 기기 모두에서 포인터 제어가 필요한 웹 브라우저와 같은 애플리케이션에 권장되는 설정입니다.
Qt::NavigationModeCursorForceVisible4포커스를 변경하는 데 마우스 커서가 사용되며, 장치 유형에 관계없이 표시됩니다. 장치에 아날로그 마우스 유형의 입력 장치(예: 터치패드)가 없는 경우, 키패드를 사용하여 가상 커서를 구현합니다.

참고: 이 열거형(QApplication::setNavigationMode(), QApplication::navigationMode())을 사용하던 QtAPI는 Qt 5.14에서 사용 중단되었으며, Qt 6.12에서 제거되었습니다.

함수 문서

[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 버전부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

대신 operator|를 사용하십시오.

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.