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

Obsolete Members for QPixmap

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

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


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

int QPixmap::serialNumber () const

Returns a number that identifies the contents of this QPixmap object. Distinct QPixmap objects can only have the same serial number if they refer to the same contents (but they don't have to).

Use cacheKey() instead.

Warning: The serial number doesn't necessarily change when the pixmap is altered. This means that it may be dangerous to use it as a cache key. For caching pixmaps, we recommend using the QPixmapCache class whenever possible.


Copyright © 2008 Trolltech Торговые марки
Qt 4.3.5