From 6d2c5d9ffe255410c34edbb1c1228e68c9d745bd Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 17 Aug 2011 14:20:53 +0200 Subject: Move the printer support backend into it's own plugin QPlatformIntegration can't have a dependency onto printing anymore now that printing lives in it's own library. Move it into a plugin of it's own. Change-Id: I3ec4b38f4336eb96d92ea799544d17af359c83e1 Reviewed-on: http://codereview.qt.nokia.com/3210 Reviewed-by: Qt Sanity Bot Reviewed-by: Gunnar Sletta --- src/gui/kernel/qplatformintegration_qpa.cpp | 12 ------------ src/gui/kernel/qplatformintegration_qpa.h | 3 --- 2 files changed, 15 deletions(-) (limited to 'src/gui') diff --git a/src/gui/kernel/qplatformintegration_qpa.cpp b/src/gui/kernel/qplatformintegration_qpa.cpp index 5564049c0d..ccbf52bb1e 100644 --- a/src/gui/kernel/qplatformintegration_qpa.cpp +++ b/src/gui/kernel/qplatformintegration_qpa.cpp @@ -199,18 +199,6 @@ QPlatformGLContext *QPlatformIntegration::createPlatformGLContext(QGuiGLContext return 0; } -/*! - - Returns the platform's printing support. - - \since 5.0 -*/ - -QPlatformPrinterSupport *QPlatformIntegration::printerSupport() const -{ - return 0; -} - /*! Returns the platforms input context. diff --git a/src/gui/kernel/qplatformintegration_qpa.h b/src/gui/kernel/qplatformintegration_qpa.h index b355f4ff12..3c903600f0 100644 --- a/src/gui/kernel/qplatformintegration_qpa.h +++ b/src/gui/kernel/qplatformintegration_qpa.h @@ -58,7 +58,6 @@ class QPlatformBackingStore; class QPlatformFontDatabase; class QPlatformClipboard; class QPlatformNativeInterface; -class QPlatformPrinterSupport; class QPlatformDrag; class QPlatformGLContext; class QGuiGLFormat; @@ -98,8 +97,6 @@ public: // Access native handles. The window handle is already available from Wid; virtual QPlatformNativeInterface *nativeInterface() const; - virtual QPlatformPrinterSupport *printerSupport() const; - protected: void screenAdded(QPlatformScreen *screen); }; -- cgit v1.2.3