diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-03-29 08:06:52 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-03-29 08:06:52 (GMT) |
commit | a5e1442d8960d3a9f363a8101d02e6fae804b6f8 (patch) | |
tree | e4ccac01df0d33b79dfd06e3f335766e25a34831 /src/gui/painting/qgraphicssystem_p.h | |
parent | 9e12625b31e1d95f023fe67deb50e8bf97903994 (diff) | |
download | Qt-a5e1442d8960d3a9f363a8101d02e6fae804b6f8.zip Qt-a5e1442d8960d3a9f363a8101d02e6fae804b6f8.tar.gz Qt-a5e1442d8960d3a9f363a8101d02e6fae804b6f8.tar.bz2 |
Make sure the blitter api works with Raster GS(x11 and win) and QWS
Diffstat (limited to 'src/gui/painting/qgraphicssystem_p.h')
-rw-r--r-- | src/gui/painting/qgraphicssystem_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/painting/qgraphicssystem_p.h b/src/gui/painting/qgraphicssystem_p.h index 8e35f9f..03b0f48 100644 --- a/src/gui/painting/qgraphicssystem_p.h +++ b/src/gui/painting/qgraphicssystem_p.h @@ -62,6 +62,7 @@ QT_BEGIN_NAMESPACE class QPixmapFilter; +class QBlittable; #ifdef Q_WS_LITE class Q_GUI_EXPORT QGraphicsSystemScreen : public QObject @@ -86,7 +87,7 @@ class Q_GUI_EXPORT QGraphicsSystem public: virtual QPixmapData *createPixmapData(QPixmapData::PixelType type) const = 0; virtual QWindowSurface *createWindowSurface(QWidget *widget) const = 0; - virtual QBlittable *createBlittable(const QRect &) const { return 0; } + virtual QBlittable *createBlittable(const QSize &) const { return 0; } virtual ~QGraphicsSystem() = 0; @@ -94,6 +95,7 @@ public: virtual QList<QGraphicsSystemScreen *> screens() const; virtual QPixmap grabWindow(WId window, int x, int y, int width, int height) const; #endif + //### Remove this & change qpixmap.cpp & qbitmap.cpp once every platform is gaurenteed // to have a graphics system. static QPixmapData *createDefaultPixmapData(QPixmapData::PixelType type); |