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 では何もしません。これは、QList とQVector が異なる型であった Qt 5 との下位互換性を確保するために提供されています。

このリストを返します。

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

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

この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強く推奨しません。

Qt 6 では何もしません。これは、QList とQVector が異なる型であった Qt 5 との下位互換性を確保するために提供されています。

このリストを返します。

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