Qt:Документация 4.3.2/qlist-qt3

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

Содержание

[править] Qt 3 Support Members for QList

The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. 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 )

Use indexOf() instead.

[править]
const_iterator QList::find ( const T & t ) const

This is an overloaded member function, provided for convenience.

Use indexOf() instead.

[править]
iterator QList::find ( iterator from, const T & t )

This is an overloaded member function, provided for convenience.

Use indexOf() instead.

[править]
const_iterator QList::find ( const_iterator from, const T & t ) const

This is an overloaded member function, provided for convenience.

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.

Use removeAll() instead.


Copyright © 2007 Trolltech Trademarks
Qt 4.3.2