summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qgraphicssystem.cpp
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2009-09-07 08:12:47 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2009-09-07 08:12:47 (GMT)
commit2ff6c9e8d89590c8180769bd54e545f40ca9a56f (patch)
tree4c218c06f99ee31be79fb19a089d7506f29b373f /src/gui/painting/qgraphicssystem.cpp
parentbd4771a8a135bf2307c6fb2e27ccdac64637992d (diff)
downloadQt-2ff6c9e8d89590c8180769bd54e545f40ca9a56f.zip
Qt-2ff6c9e8d89590c8180769bd54e545f40ca9a56f.tar.gz
Qt-2ff6c9e8d89590c8180769bd54e545f40ca9a56f.tar.bz2
Please welcome the Lighthouse Research Project!
Lighthouse is a lighter, nimbler version of Qt/Embedded, which does not contain a window system. Instead, it uses graphics system plugins to provide the necessary functionality or interface with existing window systems. The first version was written by Rhys. Squashed commit.
Diffstat (limited to 'src/gui/painting/qgraphicssystem.cpp')
-rw-r--r--src/gui/painting/qgraphicssystem.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/gui/painting/qgraphicssystem.cpp b/src/gui/painting/qgraphicssystem.cpp
index a7f5efb..ce8e500 100644
--- a/src/gui/painting/qgraphicssystem.cpp
+++ b/src/gui/painting/qgraphicssystem.cpp
@@ -50,6 +50,9 @@
#ifdef Q_WS_MAC
# include <private/qpixmap_mac_p.h>
#endif
+#ifdef Q_WS_LITE
+# include <private/qpixmap_raster_p.h>
+#endif
QT_BEGIN_NAMESPACE
@@ -68,11 +71,26 @@ QPixmapData *QGraphicsSystem::createDefaultPixmapData(QPixmapData::PixelType typ
return new QRasterPixmapData(type);
#elif defined(Q_WS_MAC)
return new QMacPixmapData(type);
+#elif defined(Q_WS_LITE)
+ return new QRasterPixmapData(type);
#elif !defined(Q_WS_QWS)
#error QGraphicsSystem::createDefaultPixmapData() not implemented
#endif
return 0;
}
+QList<QGraphicsSystemScreen *> QGraphicsSystem::screens() const
+{
+ return QList<QGraphicsSystemScreen *>();
+}
+
+QGraphicsSystemScreen::~QGraphicsSystemScreen()
+{
+}
+
+QRect QGraphicsSystemScreen::availableGeometry() const
+{
+ return geometry();
+}
QT_END_NAMESPACE