summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpixmapcache_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* Fix a bug in QPixmapCache when the cache is trimmed by QCache.Alexis Menard2009-09-291-2/+4
| | | | | | | | | | | There was a bug in QPixmapCache when QCache trims the content, some keys were not invalidated. The ifdef for WinCE (that i removed) was a wrong fix, it let the auto-test pass but it doesn't fix the bug. The approach here is to add a QPixmapCacheEntry that release the key it owns when QCache deletes it : we are now sure that nothing happen in our back. Reviewed-by:paul Reviewed-by:trond
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Use QExplicitlySharedDataPointer wherever possibleHarald Fernengel2009-08-201-1/+1
| | | | Remove QScopedSharedPointer, this class will go soon.
* Update contact URL in license headers.Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* Update license headers in files that are new in 4.6.Jason McDonald2009-06-171-2/+2
| | | | Reviewed-by: Trust Me
* Fix build on Solaris for qHash function in QPixmapCache.Alexis Menard2009-05-221-0/+2
| | | | Reviewed-by:thierry
* compile fixes with namespaceshjk2009-05-191-0/+4
|
* Add an extension to QPixmapCache to get rid of strings.Alexis Menard2009-05-181-0/+92
This commit add a new API to add/find/remove pixmaps into QPixmapCache. This new extension is based on a key that the cache give you during the insertion. This key is internally a int which makes all operations in the cache much more faster that the string approach. Auto-tests has been extended as well and a benchmark has been added to compare both approach. I also depecrate the find method for the string API to have a method pointer based and not reference based like the Qt policy says. Reviewed-by: bnilsen Reviewed-by: andreas Followed-deeply-by: trond