Obsolete Members for TestCase

Die folgenden Elemente des QML-Typs TestCase sind veraltet. Sie werden bereitgestellt, um alten Quellcode funktionsfähig zu halten. Wir raten dringend davon ab, sie in neuem Code zu verwenden.

Methoden

Dokumentation der Methode

[deprecated in 6.5] bool waitForItemPolished(object item, int timeout = 5000)

Diese Methode ist seit QtTest 6.5 veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.

Verwenden Sie stattdessen waitForPolish().

Wartet für timeout Millisekunden oder bis updatePolish() auf item aufgerufen wurde.

Gibt true zurück, wenn updatePolish() innerhalb von timeout Millisekunden auf item aufgerufen wurde, andernfalls gibt es false zurück.

Siehe auch isPolishScheduled(), QQuickItem::polish(), und QQuickItem::updatePolish().


© 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.