summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qgraphicssystem_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/painting/qgraphicssystem_p.h')
-rw-r--r--src/gui/painting/qgraphicssystem_p.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gui/painting/qgraphicssystem_p.h b/src/gui/painting/qgraphicssystem_p.h
index c4f87f7..7e1ef67 100644
--- a/src/gui/painting/qgraphicssystem_p.h
+++ b/src/gui/painting/qgraphicssystem_p.h
@@ -60,6 +60,18 @@ QT_BEGIN_NAMESPACE
class QPixmapFilter;
+class Q_GUI_EXPORT QGraphicsSystemScreen
+{
+public:
+ virtual ~QGraphicsSystemScreen();
+
+ virtual QRect geometry() const = 0;
+ virtual QRect availableGeometry() const;
+ virtual int depth() const = 0;
+ virtual QImage::Format format() const = 0;
+ virtual QSize physicalSize() const = 0;
+};
+
class Q_GUI_EXPORT QGraphicsSystem
{
public:
@@ -68,6 +80,8 @@ public:
virtual ~QGraphicsSystem() = 0;
+ virtual QList<QGraphicsSystemScreen *> screens() const;
+
//### Remove this & change qpixmap.cpp & qbitmap.cpp once every platform is gaurenteed
// to have a graphics system.
static QPixmapData *createDefaultPixmapData(QPixmapData::PixelType type);