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

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

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

__NOTOC__

Image:qt-logo.png

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

Image:trolltech-logo.png

Содержание

[править] Obsolete Members for QIcon

The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.



[править] Открытые функции


[править] Описание функций-членов

[править]
int QIcon::serialNumber () const

Returns a number that identifies the contents of this QIcon object. Distinct QIcon objects can have the same serial number if they refer to the same contents (but they don't have to). Also, the serial number of a QIcon object may change during its lifetime.

Use cacheKey() instead.

A null icon always has a serial number of 0.

Serial numbers are mostly useful in conjunction with caching.

See also QPixmap::serialNumber().


Copyright © 2007 Trolltech Trademarks
Qt 4.3.2