diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-01-06 22:57:54 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-01-06 22:57:54 (GMT) |
commit | 58112b1e251c03b0a72511508712f9a67ce84d25 (patch) | |
tree | 510325d673e65ee5a1e34065f059e0491fb2534d /src/gui/kernel/kernel.pri | |
parent | 0647ea310c3880a0b1457f750dd6d092666c14de (diff) | |
download | Qt-58112b1e251c03b0a72511508712f9a67ce84d25.zip Qt-58112b1e251c03b0a72511508712f9a67ce84d25.tar.gz Qt-58112b1e251c03b0a72511508712f9a67ce84d25.tar.bz2 |
Add QImage::constBits() and QImage::constScanLine()
QImage::bits() and QImage::scanLine() can create deep copies
if the QImage is not const. The constBits() and constScanLine()
functions make things more explicit and less error-prone.
Reviewed-by: Daniel Pope
Diffstat (limited to 'src/gui/kernel/kernel.pri')
0 files changed, 0 insertions, 0 deletions