diff options
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qplatformintegration_qpa.cpp | 6 | ||||
-rw-r--r-- | src/gui/kernel/qplatformintegration_qpa.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/kernel/qplatformintegration_qpa.cpp b/src/gui/kernel/qplatformintegration_qpa.cpp index c51924639b..ab0d5100c3 100644 --- a/src/gui/kernel/qplatformintegration_qpa.cpp +++ b/src/gui/kernel/qplatformintegration_qpa.cpp @@ -142,10 +142,10 @@ QPlatformNativeInterface * QPlatformIntegration::nativeInterface() const */ /*! - \fn QPixmapData *QPlatformIntegration::createPixmapData(QPixmapData::PixelType type) const + \fn QPlatformPixmap *QPlatformIntegration::createPlatformPixmap(QPlatformPixmap::PixelType type) const - Factory function for QPixmapData. PixelType can be either PixmapType or BitmapType. - \sa QPixmapData + Factory function for QPlatformPixmap. PixelType can be either PixmapType or BitmapType. + \sa QPlatformPixmap */ /*! diff --git a/src/gui/kernel/qplatformintegration_qpa.h b/src/gui/kernel/qplatformintegration_qpa.h index a74ff2916a..092186c160 100644 --- a/src/gui/kernel/qplatformintegration_qpa.h +++ b/src/gui/kernel/qplatformintegration_qpa.h @@ -43,7 +43,7 @@ #define QPLATFORMINTEGRATION_H #include <QtGui/qwindowdefs.h> -#include <QtGui/private/qpixmapdata_p.h> +#include <QtGui/qplatformpixmap_qpa.h> #include <QtGui/qplatformscreen_qpa.h> #include <QtGui/qsurfaceformat.h> @@ -79,7 +79,7 @@ public: virtual bool hasCapability(Capability cap) const; // GraphicsSystem functions - virtual QPixmapData *createPixmapData(QPixmapData::PixelType type) const = 0; + virtual QPlatformPixmap *createPlatformPixmap(QPlatformPixmap::PixelType type) const = 0; virtual QPlatformWindow *createPlatformWindow(QWindow *window) const = 0; virtual QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const = 0; virtual QPlatformGLContext *createPlatformGLContext(const QSurfaceFormat &format, QPlatformGLContext *share) const; |