summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qwindowsurface_s60_p.h
diff options
context:
space:
mode:
authorJani Hautakangas <ext-jani.hautakangas@nokia.com>2009-09-18 11:33:10 (GMT)
committerJani Hautakangas <ext-jani.hautakangas@nokia.com>2009-09-18 11:33:10 (GMT)
commitc78dabc55943b76479f7a84bae146f52cbc7bbbf (patch)
tree5ea4392cf14c1126c82603b9ee614c384f28bd9e /src/gui/painting/qwindowsurface_s60_p.h
parent6454aca1b273daa2e54a77f83e1f6d4bae83427d (diff)
downloadQt-c78dabc55943b76479f7a84bae146f52cbc7bbbf.zip
Qt-c78dabc55943b76479f7a84bae146f52cbc7bbbf.tar.gz
Qt-c78dabc55943b76479f7a84bae146f52cbc7bbbf.tar.bz2
Introduce native Symbian bitmap support to QPixmap
This is done to reduce heap consumption and to give a possibility to share bitmaps across process. QPixmap maps to Symbian CFbsBitmap which is stored in Symbian font and bitmap server. Reviewed-by: Jason Barron
Diffstat (limited to 'src/gui/painting/qwindowsurface_s60_p.h')
-rw-r--r--src/gui/painting/qwindowsurface_s60_p.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/painting/qwindowsurface_s60_p.h b/src/gui/painting/qwindowsurface_s60_p.h
index f9b6b60..3c4059f 100644
--- a/src/gui/painting/qwindowsurface_s60_p.h
+++ b/src/gui/painting/qwindowsurface_s60_p.h
@@ -75,17 +75,13 @@ public:
void beginPaint(const QRegion &);
void endPaint(const QRegion &);
- void setGeometry(const QRect &rect);
+ QImage* buffer(const QWidget *widget);
- static void lockBitmapHeap();
- static void unlockBitmapHeap();
+ void setGeometry(const QRect &rect);
CFbsBitmap *symbianBitmap() const;
private:
- void updatePaintDeviceOnBitmap();
-
-private:
QS60WindowSurfacePrivate* d_ptr;
};