以下成员源于类 QList 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(弃用)
QList<T>
|
toList () const |
(弃用)
QList<T>
|
toVector () const |
(弃用)
QList<T>
|
fromList (const QList<T> & list ) |
(弃用)
QList<T>
|
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 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.