Obsolete Members for TestCase
Los siguientes miembros del tipo TestCase de QML están obsoletos. Se proporcionan para que el código fuente antiguo siga funcionando. Desaconsejamos su uso en código nuevo.
Métodos
- bool waitForItemPolished(object item, int timeout)
(deprecated in 6.5)
Documentación del método
[deprecated in 6.5] bool waitForItemPolished(object item, int timeout = 5000)
Este método está obsoleto desde QtTest 6.5. Desaconsejamos su uso en código nuevo.
Utilice waitForPolish() en su lugar.
Espera timeout milisegundos o hasta que updatePolish() haya sido llamado en item.
Devuelve true si updatePolish() fue llamado en item dentro de timeout milisegundos, de lo contrario devuelve false.
Véase también isPolishScheduled(), QQuickItem::polish() y QQuickItem::updatePolish().
© 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.