diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-05-18 11:23:05 +0200 |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2009-05-18 11:23:05 +0200 |
commit | 60a17320d39eed9cd82f38d07495161b2b2d5e42 (patch) | |
tree | 8b6b36806c35e2e384162bacf884e432ae919dc2 /translations | |
parent | 3cc966afd45ac727126ea89bafa7c1aa1295226b (diff) | |
download | qt4-tools-60a17320d39eed9cd82f38d07495161b2b2d5e42.tar.gz |
Add an extension to QPixmapCache to get rid of strings.
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
Diffstat (limited to 'translations')
0 files changed, 0 insertions, 0 deletions