Obsolete Members for QQmlListProperty

QQmlListProperty 클래스의 다음 멤버는 더 이상 사용되지 않습니다. 이들은 이전 소스 코드의 작동을 유지하기 위해 제공됩니다. 새 코드에서는 사용하지 않는 것이 좋습니다.

공용 함수

(deprecated) QQmlListProperty(QObject *object, QList<T *> &list)

멤버 함수 문서

[default, deprecated] QQmlListProperty::QQmlListProperty(QObject *object, QList<T *> &list)

이 함수는 더 이상 사용되지 않습니다. 새 코드에서 이 함수를 사용하지 않는 것이 좋습니다.

기존 QList list 에서 QQmlListProperty 값을 만들기 위한 편의 생성자. list 참조는 object 이 존재하는 한 유효해야 합니다. object 을 제공해야 합니다.

이 생성자는 count(), at(), clear(), append()를 사용하여 Qt 5.15에 도입된 removeLast() 및 replace() 메서드를 합성합니다. 이 방법은 느립니다. 목록을 지우는 것 이상으로 조작하려는 경우 이러한 메서드를 명시적으로 제공해야 합니다.

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