Obsolete Members for QIcon
The following members of class QIcon are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
| ||serialNumber() const|
Member Function Documentation
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
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().
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.