summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformintegration_qpa.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-07-21 07:58:25 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-07-22 10:05:41 (GMT)
commit96f1f3d575a12967657bb534ee5accc04d52984e (patch)
treed2ff8af3d06d0f93afca04b39713ab4daf3709df /src/gui/kernel/qplatformintegration_qpa.h
parent77d17d054b8baff411613206a099af36f8e0bc43 (diff)
downloadQt-96f1f3d575a12967657bb534ee5accc04d52984e.zip
Qt-96f1f3d575a12967657bb534ee5accc04d52984e.tar.gz
Qt-96f1f3d575a12967657bb534ee5accc04d52984e.tar.bz2
Removed createBlittable factory function from PlatformIntegration
and moved it onto QBlittablePixmap making the class abstract. The creator function was seen as to spesialised to be part of the PlatformIntegration class, and belonged to the QBlittablePixmap class anyway since that was the PixmapData type you would need to return to use the blitter api. Also removed the cross platform examples as they are more confusing than anything else. For usage of QBlittable look in the directfb platform integration plugin.
Diffstat (limited to 'src/gui/kernel/qplatformintegration_qpa.h')
-rw-r--r--src/gui/kernel/qplatformintegration_qpa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qplatformintegration_qpa.h b/src/gui/kernel/qplatformintegration_qpa.h
index 11377e7..f6f10a8 100644
--- a/src/gui/kernel/qplatformintegration_qpa.h
+++ b/src/gui/kernel/qplatformintegration_qpa.h
@@ -66,7 +66,6 @@ public:
virtual QPixmapData *createPixmapData(QPixmapData::PixelType type) const = 0;
virtual QPlatformWindow *createPlatformWindow(QWidget *widget, WId winId = 0) const = 0;
virtual QWindowSurface *createWindowSurface(QWidget *widget, WId winId) const = 0;
- virtual QBlittable *createBlittable(const QSize &size) const;
virtual void moveToScreen(QWidget *window, int screen) {Q_UNUSED(window); Q_UNUSED(screen);}
// Window System functions
@@ -77,6 +76,7 @@ public:
// Experimental
virtual QPlatformEventLoopIntegration *createEventLoopIntegration() const;
+// should it be hasGLContext?
virtual bool hasOpenGL() const;