Obsolete Members for QList

以下成員源於類 QList 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

(棄用) QList<T> toList () const
(棄用) QList<T> toVector () const

靜態公共成員

(棄用) QList<T> fromList (const QList<T> & list )
(棄用) QList<T> fromVector (const QList<T> & list )

成員函數文檔編製

QList < T > QList:: toList () const

QList < T > QList:: toVector () const

This function is deprecated. We strongly advise against using it in new code.

A no-op in Qt 6. Provided for backwards compatibility with Qt 5, where QList and QVector where two different types.

Returns this list.

[static] QList < T > QList:: fromList (const QList < T > & list )

[static] QList < T > QList:: fromVector (const QList < T > & list )

This function is deprecated. We strongly advise against using it in new code.

A no-op in Qt 6. Provided for backwards compatibility with Qt 5, where QList and QVector were two different types.

Returns this list.