Add method to get NSPrintInfo* from QPrintEngine in Cocoa plugin
authorBradley T. Hughes <bradley.hughes@nokia.com>
Mon, 5 Mar 2012 13:42:53 +0000 (14:42 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 15 Mar 2012 08:50:18 +0000 (09:50 +0100)
commit86fc4aa2b661101d392ff8ff832e3cb0e4ce8d91
tree14b68dcad2285b25153d96f3b06f21524fd19742
parent7dde92d7d1639a1ea8bee39d5250bc58102dc4c8
Add method to get NSPrintInfo* from QPrintEngine in Cocoa plugin

Add an invokable method that takes the QPrintEngine (which will
always be a QMacPrintEngine) and return the NSPrintInfo* from the
QMacPrintEnginePrivate. This will be used by the native dialogs in
QtPrintSupport to get/set printer settings.

Change-Id: If1e49027e8f0d505656db51be1f40a23f60e8e57
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
src/plugins/platforms/cocoa/qcocoanativeinterface.h
src/plugins/platforms/cocoa/qcocoanativeinterface.mm
src/plugins/platforms/cocoa/qprintengine_mac_p.h