diff options
Diffstat (limited to 'src/gui/kernel/qplatformintegration_qpa.cpp')
-rw-r--r-- | src/gui/kernel/qplatformintegration_qpa.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformintegration_qpa.cpp b/src/gui/kernel/qplatformintegration_qpa.cpp index 7a95ffa2a5..b335dd5a97 100644 --- a/src/gui/kernel/qplatformintegration_qpa.cpp +++ b/src/gui/kernel/qplatformintegration_qpa.cpp @@ -43,6 +43,7 @@ #include <QtGui/QPlatformFontDatabase> #include <QtGui/QPlatformClipboard> +#include <QtGui/QPlatformPrinterSupport> QT_BEGIN_NAMESPACE @@ -218,8 +219,19 @@ bool QPlatformIntegration::hasCapability(Capability cap) const return false; } +/*! + Returns the platform's printing support. + \since 5.0 +*/ +QPlatformPrinterSupport *QPlatformIntegration::printerSupport() const +{ + static QPlatformPrinterSupport *ps = 0; + if (!ps) + ps = new QPlatformPrinterSupport; + return ps; +} QT_END_NAMESPACE |