以下成員源於類 QIcon 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
int
|
serialNumber () const |
返迴內容標識數對於此 QIcon 對象。截然不同的 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.
使用 cacheKey () 代替。
A null icon always has a serial number of 0.
Serial numbers are mostly useful in conjunction with caching.
另請參閱 QPixmap::serialNumber ().