changeset 3 | 41300fa6a67c |
parent 0 | 1918ee327afb |
child 4 | 3b1da2848fc7 |
2:56cd8111b7f7 | 3:41300fa6a67c |
---|---|
422 return key->d; |
422 return key->d; |
423 } |
423 } |
424 |
424 |
425 Q_GLOBAL_STATIC(QPMCache, pm_cache) |
425 Q_GLOBAL_STATIC(QPMCache, pm_cache) |
426 |
426 |
427 int Q_AUTOTEST_EXPORT q_QPixmapCache_keyHashSize() |
|
428 { |
|
429 return pm_cache()->size(); |
|
430 } |
|
431 |
|
427 QPixmapCacheEntry::~QPixmapCacheEntry() |
432 QPixmapCacheEntry::~QPixmapCacheEntry() |
428 { |
433 { |
429 pm_cache()->releaseKey(key); |
434 pm_cache()->releaseKey(key); |
430 } |
435 } |
431 |
436 |