Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QCocoaPrinterSupport Class Reference

#include <qcocoaprintersupport_p.h>

+ Inheritance diagram for QCocoaPrinterSupport:
+ Collaboration diagram for QCocoaPrinterSupport:

Public Member Functions

 QCocoaPrinterSupport ()
 
 ~QCocoaPrinterSupport ()
 
QPrintEnginecreateNativePrintEngine (QPrinter::PrinterMode printerMode, const QString &deviceId=QString()) override
 
QPaintEnginecreatePaintEngine (QPrintEngine *, QPrinter::PrinterMode printerMode) override
 
QPrintDevice createPrintDevice (const QString &id) override
 
QStringList availablePrintDeviceIds () const override
 
QString defaultPrintDeviceId () const override
 
- Public Member Functions inherited from QPlatformPrinterSupport
 QPlatformPrinterSupport ()
 
virtual ~QPlatformPrinterSupport ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from QPlatformPrinterSupport
static QPrintDevice createPrintDevice (QPlatformPrintDevice *device)
 
static QPageSize createPageSize (const QString &id, QSize size, const QString &localizedName)
 

Detailed Description

Definition at line 26 of file qcocoaprintersupport_p.h.

Constructor & Destructor Documentation

◆ QCocoaPrinterSupport()

QCocoaPrinterSupport::QCocoaPrinterSupport ( )

Definition at line 26 of file qcocoaprintersupport.mm.

◆ ~QCocoaPrinterSupport()

QCocoaPrinterSupport::~QCocoaPrinterSupport ( )

Definition at line 29 of file qcocoaprintersupport.mm.

Member Function Documentation

◆ availablePrintDeviceIds()

QStringList QCocoaPrinterSupport::availablePrintDeviceIds ( ) const
overridevirtual

Reimplemented from QPlatformPrinterSupport.

Definition at line 52 of file qcocoaprintersupport.mm.

References QList< T >::append(), i, and list.

+ Here is the call graph for this function:

◆ createNativePrintEngine()

QPrintEngine * QCocoaPrinterSupport::createNativePrintEngine ( QPrinter::PrinterMode printerMode,
const QString & deviceId = QString() )
overridevirtual

Reimplemented from QPlatformPrinterSupport.

Definition at line 32 of file qcocoaprintersupport.mm.

◆ createPaintEngine()

QPaintEngine * QCocoaPrinterSupport::createPaintEngine ( QPrintEngine * printEngine,
QPrinter::PrinterMode printerMode )
overridevirtual

Reimplemented from QPlatformPrinterSupport.

Definition at line 37 of file qcocoaprintersupport.mm.

References Q_UNUSED.

◆ createPrintDevice()

QPrintDevice QCocoaPrinterSupport::createPrintDevice ( const QString & id)
overridevirtual

Reimplemented from QPlatformPrinterSupport.

Definition at line 47 of file qcocoaprintersupport.mm.

References QPlatformPrinterSupport::createPrintDevice().

+ Here is the call graph for this function:

◆ defaultPrintDeviceId()

QString QCocoaPrinterSupport::defaultPrintDeviceId ( ) const
overridevirtual

Reimplemented from QPlatformPrinterSupport.

Definition at line 66 of file qcocoaprintersupport.mm.

References i.

Referenced by QMacPrintEngine::QMacPrintEngine(), and QMacPrintEngine::setProperty().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: