Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

Compatibility Members for QList

The following class members are part of the Qt 3 compatibility layer. They are provided to help you port old code to Qt 4. We strongly advise against using them in new code.

QList class reference

Public Functions


Member Function Documentation

iterator QList::find ( const T & t )

Use indexOf() instead.

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

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Use indexOf() instead.

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

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Use indexOf() instead.

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

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Use indexOf() instead.

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

Use indexOf() instead.

iterator QList::remove ( iterator pos )

Use erase() instead.

int QList::remove ( const T & t )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Use removeAll() instead.


Copyright © 2004 Trolltech Trademarks
Qt 4.0.0-b1