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.cpp | |
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.cpp')
-rw-r--r-- | src/gui/painting/qgraphicssystem.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gui/painting/qgraphicssystem.cpp b/src/gui/painting/qgraphicssystem.cpp index 1565c45..2071127 100644 --- a/src/gui/painting/qgraphicssystem.cpp +++ b/src/gui/painting/qgraphicssystem.cpp @@ -84,11 +84,23 @@ QPixmapData *QGraphicsSystem::createDefaultPixmapData(QPixmapData::PixelType typ return 0; } +#ifdef Q_WS_LITE QList<QGraphicsSystemScreen *> QGraphicsSystem::screens() const { return QList<QGraphicsSystemScreen *>(); } +QPixmap QGraphicsSystem::grabWindow(WId window, int x, int y, int width, int height) const +{ + Q_UNUSED(window); + Q_UNUSED(x); + Q_UNUSED(y); + Q_UNUSED(width); + Q_UNUSED(height); + return QPixmap(); +} + + QGraphicsSystemScreen::QGraphicsSystemScreen(QObject *parent) : QObject(parent) {} @@ -102,4 +114,6 @@ QRect QGraphicsSystemScreen::availableGeometry() const return geometry(); } +#endif //Q_WS_LITE + QT_END_NAMESPACE |