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
QCupsPrinterSupport Class Reference

#include <qcupsprintersupport_p.h>

+ Inheritance diagram for QCupsPrinterSupport:
+ Collaboration diagram for QCupsPrinterSupport:

Public Member Functions

 QCupsPrinterSupport ()
 
 ~QCupsPrinterSupport ()
 
QPrintEnginecreateNativePrintEngine (QPrinter::PrinterMode printerMode, const QString &deviceId=QString()) override
 
QPaintEnginecreatePaintEngine (QPrintEngine *printEngine, QPrinter::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 ()
 

Static Public Member Functions

static QString staticDefaultPrintDeviceId ()
 

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 25 of file qcupsprintersupport_p.h.

Constructor & Destructor Documentation

◆ QCupsPrinterSupport()

QT_BEGIN_NAMESPACE QCupsPrinterSupport::QCupsPrinterSupport ( )

Definition at line 94 of file qcupsprintersupport.cpp.

References QCoreApplication::instance().

+ Here is the call graph for this function:

◆ ~QCupsPrinterSupport()

QCupsPrinterSupport::~QCupsPrinterSupport ( )

Definition at line 104 of file qcupsprintersupport.cpp.

Member Function Documentation

◆ availablePrintDeviceIds()

QStringList QCupsPrinterSupport::availablePrintDeviceIds ( ) const
overridevirtual

Reimplemented from QPlatformPrinterSupport.

Definition at line 124 of file qcupsprintersupport.cpp.

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

+ Here is the call graph for this function:

◆ createNativePrintEngine()

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

Reimplemented from QPlatformPrinterSupport.

Definition at line 108 of file qcupsprintersupport.cpp.

References defaultPrintDeviceId(), and QString::isEmpty().

+ Here is the call graph for this function:

◆ createPaintEngine()

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

Reimplemented from QPlatformPrinterSupport.

Definition at line 113 of file qcupsprintersupport.cpp.

References engine, and Q_UNUSED.

◆ createPrintDevice()

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

Reimplemented from QPlatformPrinterSupport.

Definition at line 119 of file qcupsprintersupport.cpp.

References QPlatformPrinterSupport::createPrintDevice().

+ Here is the call graph for this function:

◆ defaultPrintDeviceId()

QString QCupsPrinterSupport::defaultPrintDeviceId ( ) const
overridevirtual

Reimplemented from QPlatformPrinterSupport.

Definition at line 140 of file qcupsprintersupport.cpp.

References staticDefaultPrintDeviceId().

Referenced by createNativePrintEngine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ staticDefaultPrintDeviceId()

QString QCupsPrinterSupport::staticDefaultPrintDeviceId ( )
static

Definition at line 145 of file qcupsprintersupport.cpp.

References QString::fromLocal8Bit(), and i.

Referenced by defaultPrintDeviceId(), and QPpdPrintDevice::isDefault().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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