diff -r b72c6db6890b -r 5dc02b23752f src/gui/image/qimage.h --- a/src/gui/image/qimage.h Wed Jun 23 19:07:03 2010 +0300 +++ b/src/gui/image/qimage.h Tue Jul 06 15:10:48 2010 +0300 @@ -169,6 +169,7 @@ QT_DEPRECATED int numColors() const; #endif int colorCount() const; + int bitPlaneCount() const; QRgb color(int i) const; void setColor(int i, QRgb c); @@ -182,6 +183,7 @@ uchar *bits(); const uchar *bits() const; + const uchar *constBits() const; #ifdef QT_DEPRECATED QT_DEPRECATED int numBytes() const; #endif @@ -189,6 +191,7 @@ uchar *scanLine(int); const uchar *scanLine(int) const; + const uchar *constScanLine(int) const; int bytesPerLine() const; bool valid(int x, int y) const;