Obsolete Members for QQuickTest
QQuickTest 클래스의 다음 멤버들은 더 이상 사용되지 않습니다. 이 멤버들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이 멤버들을 사용하지 않는 것을 강력히 권장합니다.
함수
(deprecated in 6.4) bool | qWaitForItemPolished(const QQuickItem *item, int timeout = defaultTimeout) |
함수 설명서
[deprecated in 6.4] bool QQuickTest::qWaitForItemPolished(const QQuickItem *item, int timeout = defaultTimeout)
이 함수는 6.4 버전부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.
대신 qWaitForPolish()을 사용하십시오.
timeout 밀리초 동안 대기하거나, item 에서 updatePolish()이 호출될 때까지 대기합니다.
timeout 밀리초 이내에 item 에서 updatePolish() 가 호출된 경우 true 를 반환하고, 그렇지 않으면 false 를 반환합니다.
이 함수의 QML 대응 함수는 waitForItemPolished()입니다.
QQuickItem::polish(), QQuickItem::updatePolish(), QQuickTest::qIsPolishScheduled()도 참조하십시오 .
© 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.