QPrintEngine Class Reference

QPrintEngine Class Referenceabstract

#include <qprintengine.h>

Class Description

Definition at line 56 of file qprintengine.h.

Public Types

enum  PrintEnginePropertyKey {
  PPK_CollateCopies, PPK_ColorMode, PPK_Creator, PPK_DocumentName,
  PPK_FullPage, PPK_NumberOfCopies, PPK_Orientation, PPK_OutputFileName,
  PPK_PageOrder, PPK_PageRect, PPK_PageSize, PPK_PaperRect,
  PPK_PaperSource, PPK_PrinterName, PPK_PrinterProgram, PPK_Resolution,
  PPK_SelectionOption, PPK_SupportedResolutions, PPK_WindowsPageSize, PPK_FontEmbedding,
  PPK_SuppressSystemPrintStatus, PPK_Duplex, PPK_PaperSources, PPK_CustomPaperSize,
  PPK_PageMargins, PPK_CopyCount, PPK_SupportsMultipleCopies, PPK_PaperSize = PPK_PageSize,
  PPK_CustomBase = 0xff00
}
 

Public Member Functions

virtual ~QPrintEngine ()
 
virtual void setProperty (PrintEnginePropertyKey key, const QVariant &value)=0
 
virtual QVariant property (PrintEnginePropertyKey key) const =0
 
virtual bool newPage ()=0
 
virtual bool abort ()=0
 
virtual int metric (QPaintDevice::PaintDeviceMetric) const =0
 
virtual QPrinter::PrinterState printerState () const =0
 

Member Enumeration Documentation

Enumerator
PPK_CollateCopies 
PPK_ColorMode 
PPK_Creator 
PPK_DocumentName 
PPK_FullPage 
PPK_NumberOfCopies 
PPK_Orientation 
PPK_OutputFileName 
PPK_PageOrder 
PPK_PageRect 
PPK_PageSize 
PPK_PaperRect 
PPK_PaperSource 
PPK_PrinterName 
PPK_PrinterProgram 
PPK_Resolution 
PPK_SelectionOption 
PPK_SupportedResolutions 
PPK_WindowsPageSize 
PPK_FontEmbedding 
PPK_SuppressSystemPrintStatus 
PPK_Duplex 
PPK_PaperSources 
PPK_CustomPaperSize 
PPK_PageMargins 
PPK_CopyCount 
PPK_SupportsMultipleCopies 
PPK_PaperSize 
PPK_CustomBase 

Definition at line 60 of file qprintengine.h.

60  {
79 
83 
84  PPK_Duplex,
85 
92 
93  PPK_CustomBase = 0xff00
94  };

Constructor & Destructor Documentation

virtual ~QPrintEngine ( )
inlinevirtual

Definition at line 59 of file qprintengine.h.

59 {}

Member Function Documentation

virtual void setProperty ( PrintEnginePropertyKey  key,
const QVariant value 
)
pure virtual
virtual QVariant property ( PrintEnginePropertyKey  key) const
pure virtual
virtual bool newPage ( )
pure virtual
virtual bool abort ( )
pure virtual
virtual int metric ( QPaintDevice::PaintDeviceMetric  ) const
pure virtual
virtual QPrinter::PrinterState printerState ( ) const
pure virtual

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