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

Obsolete Members for QIcon

Описанные ниже члены класса устарели. Они оставлены для обеспечения совместимости со старым кодом. Мы настоятельно не рекомендуем использовать их в новом коде.

Открытые функции


Описание функций-членов

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 © 2008 Trolltech Торговые марки
Qt 4.3.5