diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2009-11-11 15:46:55 (GMT) |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2009-11-12 14:48:16 (GMT) |
commit | 9904436eb0f3ebdabfba527fe659f4964af8bf06 (patch) | |
tree | 2a29d5fdd9ef5c7c8668f4c32d003781dd0dde90 /src/gui/painting/qgraphicssystem_p.h | |
parent | 6f22069b01d089ef7151b2d78d56c13c71924b62 (diff) | |
download | Qt-9904436eb0f3ebdabfba527fe659f4964af8bf06.zip Qt-9904436eb0f3ebdabfba527fe659f4964af8bf06.tar.gz Qt-9904436eb0f3ebdabfba527fe659f4964af8bf06.tar.bz2 |
Starting to implement grabWindow() for Lighthouse
Diffstat (limited to 'src/gui/painting/qgraphicssystem_p.h')
-rw-r--r-- | src/gui/painting/qgraphicssystem_p.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/painting/qgraphicssystem_p.h b/src/gui/painting/qgraphicssystem_p.h index 7cc6247..ddba22d 100644 --- a/src/gui/painting/qgraphicssystem_p.h +++ b/src/gui/painting/qgraphicssystem_p.h @@ -60,6 +60,7 @@ QT_BEGIN_NAMESPACE class QPixmapFilter; +#ifdef Q_WS_LITE class Q_GUI_EXPORT QGraphicsSystemScreen : public QObject { Q_OBJECT @@ -75,6 +76,7 @@ public: virtual void setDirty(QRect) { } virtual void pointerEvent(QMouseEvent &) { } }; +#endif // Q_WS_LITE class Q_GUI_EXPORT QGraphicsSystem { @@ -84,8 +86,10 @@ public: virtual ~QGraphicsSystem() = 0; +#ifdef Q_WS_LITE 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); |