Obsolete Members for QQmlListReference

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

공용 함수

(since 6.1, deprecated) QQmlListReference(const QVariant &variant, QQmlEngine *engine)
(deprecated) QQmlListReference(QObject *object, const char *property, QQmlEngine *engine)

멤버 함수 문서

[since 6.1, deprecated] QQmlListReference::QQmlListReference(const QVariant &variant, QQmlEngine *engine)

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

대신 QQmlEngine 인수가 없는 생성자를 사용하세요.

QQmlListProperty 을 포함하는 QVariant variant 에서 QQmlListReference 를 생성합니다. variant 에 목록 속성이 포함되어 있지 않으면 잘못된 QQmlListReference 가 생성됩니다. 참조가 생성된 후 목록 속성을 소유한 객체가 소멸되면 자동으로 무효화됩니다. 즉, 객체가 삭제된 후에도 QQmlListReference 인스턴스를 보유해도 안전합니다.

engine 은 사용되지 않습니다.

이 함수는 Qt 6.1에 도입되었습니다.

[deprecated] QQmlListReference::QQmlListReference(QObject *object, const char *property, QQmlEngine *engine)

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

대신 QQmlEngine 인수가 없는 생성자를 사용하세요.

objectproperty 에 대한 QQmlListReference 를 생성합니다. property 가 목록 속성이 아닌 경우 잘못된 QQmlListReference 가 생성됩니다. 참조가 생성된 후 object 가 소멸되면 자동으로 유효하지 않게 됩니다. 즉, object 이 삭제된 후에도 QQmlListReference 인스턴스를 보유해도 안전합니다.

engine 은 사용되지 않습니다.

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