summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpixmapcache.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add an extra explanation for the API extension.Alexis Menard2009-06-041-1/+4
| | | | Reviewed-by:David Boddie
* We first remove the pixmap from the cache and then release the keyAlexis Menard2009-05-261-1/+3
| | | | | | | If we don't remove the pixmap from QCache first then the key is invalid and the removal failed Reviewed-by: sroedal
* Fix all docs warnings and add since 4.6 to new methodsAlexis Menard2009-05-251-7/+22
| | | | Reviewed-by:TrustMe
* Fix a mistake in the doc.Alexis Menard2009-05-251-2/+1
| | | | Reviewed-by: TrustMe
* Fix build on Solaris for qHash function in QPixmapCache.Alexis Menard2009-05-221-1/+1
| | | | Reviewed-by:thierry
* Add an extension to QPixmapCache to get rid of strings.Alexis Menard2009-05-181-54/+311
| | | | | | | | | | | | | | | 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
* introduce Q_WS_WINCEMaurice Kalinowski2009-04-291-1/+1
| | | | | | | | | | | Task-number: 246130 Reviewed-by: joerg Introduce Q_WS_WINCE for Windows CE only windowing parts. So far we decided to stick with Q_WS_WIN32, but having a separate define makes the code more readable. In addition Q_WS_WINCE_WM is available for Windows Mobile only parts, where we do not check for the OS on runtime.
* QPixmapCache:Remove the old pixmap if you insert one with the same key.Alexis Menard2009-04-271-0/+5
| | | | | | | | | | | If you insert a new pixmap in the cache with a key that was already in the cache then we remove the old pixmap and add the new one. This avoid to fill the memory with garbage even if the cache has a protection to avoid running out of memory. This was discovered with QraphicsView and its cache. We don't need to keep old cached pixmaps for an item. Task-number: KDE Reviewed-by: Trond
* Fix docs for QPixmapCache::setCacheLimit()/cacheLimit()Gunnar Sletta2009-04-201-2/+4
|
* Long live Qt 4.5!Lars Knoll2009-03-231-0/+320