|  | Qt 6.x
    The Qt SDK | 
#include <qprinter_p.h>
 Collaboration diagram for QPrinterPrivate:
 Collaboration diagram for QPrinterPrivate:| Public Member Functions | |
| QPrinterPrivate (QPrinter *printer) | |
| ~QPrinterPrivate () | |
| void | init (const QPrinterInfo &printer, QPrinter::PrinterMode mode) | 
| QPrinterInfo | findValidPrinter (const QPrinterInfo &printer=QPrinterInfo()) | 
| void | initEngines (QPrinter::OutputFormat format, const QPrinterInfo &printer) | 
| void | changeEngines (QPrinter::OutputFormat format, const QPrinterInfo &printer) | 
| void | setProperty (QPrintEngine::PrintEnginePropertyKey key, const QVariant &value) | 
| Static Public Member Functions | |
| static QPrinterPrivate * | get (QPrinter *printer) | 
Definition at line 37 of file qprinter_p.h.
| 
 | inline | 
Definition at line 41 of file qprinter_p.h.
| 
 | inline | 
Definition at line 57 of file qprinter_p.h.
| void QPrinterPrivate::changeEngines | ( | QPrinter::OutputFormat | format, | 
| const QPrinterInfo & | printer | ||
| ) | 
Definition at line 97 of file qprinter.cpp.
References QPrinter::copyCount(), initEngines(), QVariant::isValid(), m_properties, QPrintEngine::PPK_NumberOfCopies, QPrintEngine::PPK_PrinterName, printEngine, properties, QPrintEngine::property(), q_ptr, setProperty(), and use_default_engine.
 Here is the call graph for this function:
 Here is the call graph for this function:| QPrinterInfo QPrinterPrivate::findValidPrinter | ( | const QPrinterInfo & | printer = QPrinterInfo() | ) | 
Definition at line 45 of file qprinter.cpp.
References QPrinterInfo::availablePrinterNames(), QPrinterInfo::defaultPrinter(), QPrinterInfo::isNull(), and QPrinterInfo::printerInfo().
Referenced by initEngines().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inlinestatic | 
Definition at line 61 of file qprinter_p.h.
References QScopedPointer< T, Cleanup >::get().
Referenced by QPrinterPagedPaintDevicePrivate::pageLayout(), QPrinterPagedPaintDevicePrivate::setPageLayout(), QPrinterPagedPaintDevicePrivate::setPageMargins(), QPrinterPagedPaintDevicePrivate::setPageOrientation(), and QPrinterPagedPaintDevicePrivate::setPageSize().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| void QPrinterPrivate::init | ( | const QPrinterInfo & | printer, | 
| QPrinter::PrinterMode | mode | ||
| ) | 
Definition at line 460 of file qprinter.cpp.
References initEngines(), QCoreApplication::instance(), QPrinter::NativeFormat, printerMode, Q_UNLIKELY, and qFatal.
Referenced by QPrinter::QPrinter(), and QPrinter::QPrinter().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| void QPrinterPrivate::initEngines | ( | QPrinter::OutputFormat | format, | 
| const QPrinterInfo & | printer | ||
| ) | 
Definition at line 60 of file qprinter.cpp.
References QPlatformPrinterSupport::createNativePrintEngine(), QPlatformPrinterSupport::createPaintEngine(), findValidPrinter(), QPlatformPrinterSupportPlugin::get(), had_default_engines, QPrinterInfo::isNull(), QPrinter::NativeFormat, outputFormat, paintEngine, QPrinter::PdfFormat, pdfVersion, QPagedPaintDevice::PdfVersion_1_4, QPagedPaintDevice::PdfVersion_1_6, QPagedPaintDevice::PdfVersion_A1b, printEngine, printerMode, QPrinterInfo::printerName(), use_default_engine, validPrinter, QPdfEngine::Version_1_4, QPdfEngine::Version_1_6, and QPdfEngine::Version_A1b.
Referenced by changeEngines(), and init().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| void QPrinterPrivate::setProperty | ( | QPrintEngine::PrintEnginePropertyKey | key, | 
| const QVariant & | value | ||
| ) | 
Definition at line 151 of file qprinter.cpp.
References QSet< T >::insert(), m_properties, printEngine, and QPrintEngine::setProperty().
Referenced by changeEngines(), QPrinterPagedPaintDevicePrivate::setPageLayout(), QPrinterPagedPaintDevicePrivate::setPageMargins(), QPrinterPagedPaintDevicePrivate::setPageOrientation(), and QPrinterPagedPaintDevicePrivate::setPageSize().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| uint QPrinterPrivate::had_default_engines | 
Definition at line 94 of file qprinter_p.h.
Referenced by initEngines().
| uint QPrinterPrivate::hasCustomPageMargins | 
Definition at line 97 of file qprinter_p.h.
| QSet<QPrintEngine::PrintEnginePropertyKey> QPrinterPrivate::m_properties | 
Definition at line 100 of file qprinter_p.h.
Referenced by changeEngines(), and setProperty().
| QPrinter::OutputFormat QPrinterPrivate::outputFormat | 
Definition at line 78 of file qprinter_p.h.
Referenced by initEngines().
| QPaintEngine* QPrinterPrivate::paintEngine | 
Definition at line 81 of file qprinter_p.h.
Referenced by initEngines(), QPrinterPagedPaintDevicePrivate::setPageLayout(), and QPrinterPagedPaintDevicePrivate::setPageSize().
| QPrinter::PdfVersion QPrinterPrivate::pdfVersion | 
Definition at line 79 of file qprinter_p.h.
Referenced by initEngines().
| QPrintEngine* QPrinterPrivate::printEngine | 
Definition at line 80 of file qprinter_p.h.
Referenced by changeEngines(), initEngines(), QPrinterPagedPaintDevicePrivate::pageLayout(), QPrinterPagedPaintDevicePrivate::setPageLayout(), QPrinterPagedPaintDevicePrivate::setPageSize(), and setProperty().
| QPrinter::PrinterMode QPrinterPrivate::printerMode | 
Definition at line 77 of file qprinter_p.h.
Referenced by init(), and initEngines().
| QPrinter::PrintRange QPrinterPrivate::printRange | 
Definition at line 91 of file qprinter_p.h.
| QPrinter* QPrinterPrivate::q_ptr | 
Definition at line 89 of file qprinter_p.h.
Referenced by changeEngines().
| QPaintEngine* QPrinterPrivate::realPaintEngine | 
Definition at line 84 of file qprinter_p.h.
| QPrintEngine* QPrinterPrivate::realPrintEngine | 
Definition at line 83 of file qprinter_p.h.
| uint QPrinterPrivate::use_default_engine | 
Definition at line 93 of file qprinter_p.h.
Referenced by changeEngines(), and initEngines().
| uint QPrinterPrivate::validPrinter | 
Definition at line 96 of file qprinter_p.h.
Referenced by initEngines().