summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-09-01 22:43:48 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-09-01 22:43:48 (GMT)
commitb52bfac9d05de835682b9c2b2e1d79e0246e708a (patch)
tree456eb1b84771bb619877a9765bb9e431a073eb0b /src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h
parent93906071c31a5008625e727dad530a6f05441baa (diff)
parentadd57539ec7cd24346e26b22a5298da50d81e91b (diff)
downloadQt-b52bfac9d05de835682b9c2b2e1d79e0246e708a.zip
Qt-b52bfac9d05de835682b9c2b2e1d79e0246e708a.tar.gz
Qt-b52bfac9d05de835682b9c2b2e1d79e0246e708a.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into kinetic-declarativeui
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h b/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h
index 7b4ae47..5d3a2f6 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.h
@@ -81,11 +81,9 @@ public:
virtual QImage toImage() const;
virtual QPaintEngine *paintEngine() const;
virtual QImage *buffer();
- virtual int metric(QPaintDevice::PaintDeviceMetric m) const {return QDirectFBPaintDevice::metric(m);}
-
- QImage *buffer(DFBSurfaceLockFlags lockFlags);
-
// Pure virtual in QPixmapData, so re-implement here and delegate to QDirectFBPaintDevice
+ virtual int metric(QPaintDevice::PaintDeviceMetric m) const { return QDirectFBPaintDevice::metric(m); }
+
inline QImage::Format pixelFormat() const { return imageFormat; }
static bool hasAlphaChannel(const QImage &img);
inline bool hasAlphaChannel() const { return alpha; }