Compatibility Members for QList

以下成员源于类 QList are part of the Qt compatibility layer. We advise against using them in new code.

公共函数

iterator find (const T & t )
const_iterator find (const T & t ) const
iterator find (iterator from , const T & t )
const_iterator find (const_iterator from , const T & t ) const
int findIndex (const T & t ) const
iterator remove (iterator pos )
int remove (const T & t )

成员函数文档编制

iterator QList:: find (const T & t )

使用 indexOf () 代替。

const_iterator QList:: find (const T & t ) const

使用 indexOf () 代替。

iterator QList:: find ( iterator from , const T & t )

使用 indexOf () 代替。

const_iterator QList:: find ( const_iterator from , const T & t ) const

使用 indexOf () 代替。

int QList:: findIndex (const T & t ) const

使用 indexOf () 代替。

iterator QList:: remove ( iterator pos )

使用 erase () 代替。

int QList:: remove (const T & t )

使用 removeAll () 代替。