diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-08-17 14:20:53 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-08-19 09:16:52 +0200 |
commit | 6d2c5d9ffe255410c34edbb1c1228e68c9d745bd (patch) | |
tree | 22fab8253e9b04f489e2fd2f82dbf773551168e4 /src/gui | |
parent | f4f1b53b9646288d73979f8339a90fbbbcb9eedc (diff) |
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 <qt_sanity_bot@ovi.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qplatformintegration_qpa.cpp | 12 | ||||
-rw-r--r-- | src/gui/kernel/qplatformintegration_qpa.h | 3 |
2 files changed, 0 insertions, 15 deletions
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 @@ -200,18 +200,6 @@ QPlatformGLContext *QPlatformIntegration::createPlatformGLContext(QGuiGLContext } /*! - - Returns the platform's printing support. - - \since 5.0 -*/ - -QPlatformPrinterSupport *QPlatformIntegration::printerSupport() const -{ - return 0; -} - -/*! Returns the platforms input context. The default implementation returns 0, implying no input method support. 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); }; |