Obsolete Members for QList

QList 클래스의 다음 멤버들은 더 이상 사용되지 않습니다. 이 멤버들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이 멤버들을 사용하지 않는 것을 강력히 권장합니다.

공개 함수

(deprecated in 6.0) QList<T> toList() const
(deprecated in 6.0) QList<T> toVector() const

정적 공용 멤버

(deprecated in 6.0) QList<T> fromList(const QList<T> &list)
(deprecated in 6.0) QList<T> fromVector(const QList<T> &list)

멤버 함수 설명

[static noexcept, deprecated in 6.0] QList<T> QList::fromList(const QList<T> &list)

[static noexcept, deprecated in 6.0] QList<T> QList::fromVector(const QList<T> &list)

이 함수는 6.0 버전부터 사용 중단되었습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

Qt 6에서는 아무 작업도 수행하지 않습니다. Qt 5와의 하위 호환성을 위해 제공되며, Qt 5에서는 ` QList `와 ` QVector `가 서로 다른 두 가지 유형이었습니다.

이 리스트를 반환합니다.

[noexcept, deprecated in 6.0] QList<T> QList::toList() const

[noexcept, deprecated in 6.0] QList<T> QList::toVector() const

이 함수는 6.0 버전부터 사용 중단되었습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

Qt 6에서는 아무 작업도 수행하지 않습니다. Qt 5와의 하위 호환성을 위해 제공되며, Qt 5에서는 ` QList `과 ` QVector `이 서로 다른 두 가지 유형이었습니다.

이 리스트를 반환합니다.

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