diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-05-11 17:57:24 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-06-04 01:46:27 +0200 |
commit | 7f179eff61826323afea474b8ecd1a04f0a41e32 (patch) | |
tree | a0b32c05171d45b5957f09034e3b6220894e1f8b /src/plugins/platforms/cocoa/qcocoanativeinterface.h | |
parent | 6a3c6f939f29c83d53d2da0c3f53b814bdd02358 (diff) |
Move macOS print support from platform plugin into QtPrintSupport
Task-number: QTBUG-83256
Change-Id: I29044b6c3f952c259f501f94a175c8ef2cbaae55
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoanativeinterface.h')
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoanativeinterface.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoanativeinterface.h b/src/plugins/platforms/cocoa/qcocoanativeinterface.h index c30297c8ca..45330cf1b8 100644 --- a/src/plugins/platforms/cocoa/qcocoanativeinterface.h +++ b/src/plugins/platforms/cocoa/qcocoanativeinterface.h @@ -45,13 +45,10 @@ #include <qpa/qplatformnativeinterface.h> #include <QtGui/qpixmap.h> Q_MOC_INCLUDE(<QWindow>) -Q_MOC_INCLUDE(<qpa/qplatformprintersupport.h>) -Q_MOC_INCLUDE(<QPrintEngine>) QT_BEGIN_NAMESPACE class QWidget; -class QPlatformPrinterSupport; class QPrintEngine; class QPlatformMenu; class QPlatformMenuBar; @@ -81,23 +78,6 @@ public Q_SLOTS: private: /* - "Virtual" function to create the platform printer support - implementation. - - We use an invokable function instead of a virtual one, we do not want - this in the QPlatform* API yet. - - This was added here only because QPlatformNativeInterface is a QObject - and allow us to use QMetaObject::indexOfMethod() from the printsupport - plugin. - */ - Q_INVOKABLE QPlatformPrinterSupport *createPlatformPrinterSupport(); - /* - Function to return the NSPrintInfo * from QMacPaintEnginePrivate. - Needed by the native print dialog in the Qt Print Support module. - */ - Q_INVOKABLE void *NSPrintInfoForPrintEngine(QPrintEngine *printEngine); - /* Function to return the default background pixmap. Needed by QWizard in the Qt widget module. */ |