<class name="QPrintEngine" doc="/** <p>The <a href="QPrintEngine.html#QPrintEngine()"><tt>QPrintEngine</tt></a> class defines an interface for how <a href="QPrinter.html"><tt>QPrinter</tt></a> interacts with a given printing subsystem.</p> <p>The common case when creating your own print engine is to derive from both <a href="QPaintEngine.html"><tt>QPaintEngine</tt></a> and <a href="QPrintEngine.html#QPrintEngine()"><tt>QPrintEngine</tt></a>. Various properties of a print engine are given with <a href="QPrintEngine.html#property(com.trolltech.qt.gui.QPrintEngine.PrintEnginePropertyKey)"><tt>property</tt></a> and set with <a href="QPrintEngine.html#setProperty(com.trolltech.qt.gui.QPrintEngine.PrintEnginePropertyKey, java.lang.Object)"><tt>setProperty</tt></a>.</p> @see <a href="QPaintEngine.html"><tt>QPaintEngine</tt></a> */"> <method name="public QPrintEngine()"/> <method name="public abstract boolean abort()" doc="/** <p>Instructs the print engine to abort the printing process. Returns true if successful; otherwise returns false.</p> */"/> <method name="public abstract int metric(com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric arg__1)" doc="/** <p>Returns the metric for the given <tt>arg__1</tt>.</p> */"/> <method name="public abstract boolean newPage()" doc="/** <p>Instructs the print engine to start a new page. Returns true if the printer was able to create the new page; otherwise returns false.</p> */"/> <method name="public abstract com.trolltech.qt.gui.QPrinter.PrinterState printerState()" doc="/** <p>Returns the current state of the printer being used by the print engine.</p> */"/> <method name="public abstract java.lang.Object property(com.trolltech.qt.gui.QPrintEngine.PrintEnginePropertyKey key)" doc="/** <p>Returns the print engine's property specified by <tt>key</tt>.</p> @see <a href="QPrintEngine.html#setProperty(com.trolltech.qt.gui.QPrintEngine.PrintEnginePropertyKey, java.lang.Object)"><tt>setProperty</tt></a> */"/> <method name="public abstract void setProperty(com.trolltech.qt.gui.QPrintEngine.PrintEnginePropertyKey key, java.lang.Object value)" doc="/** <p>Sets the print engine's property specified by <tt>key</tt> to the given <tt>value</tt>.</p> @see <a href="QPrintEngine.html#property(com.trolltech.qt.gui.QPrintEngine.PrintEnginePropertyKey)"><tt>property</tt></a> */"/> <enum name="PrintEnginePropertyKey" doc="/** <p>This enum is used to communicate properties between the print engine and <a href="QPrinter.html"><tt>QPrinter</tt></a>. A property may or may not be supported by a given print engine.</p> */"> <enum-value name="PPK_CollateCopies" doc="/** <p>A boolean value indicating whether the printout should be collated or not.</p> */"/> <enum-value name="PPK_ColorMode" doc="/** <p>Refers to QPrinter::ColorMode, either color or monochrome.</p> */"/> <enum-value name="PPK_Creator" doc="/** <p>A string describing the document's creator.</p> */"/> <enum-value name="PPK_DocumentName" doc="/** <p>A string describing the document name in the spooler.</p> */"/> <enum-value name="PPK_FullPage" doc="/** <p>A boolean describing if the printer should be full page or not.</p> */"/> <enum-value name="PPK_NumberOfCopies" doc="/** <p>An integer specifying the number of copies</p> */"/> <enum-value name="PPK_Orientation" doc="/** <p>Specifies a QPrinter::Orientation value.</p> */"/> <enum-value name="PPK_OutputFileName" doc="/** <p>The output file name as a string. An empty file name indicates that the printer should not print to a file.</p> */"/> <enum-value name="PPK_PageOrder" doc="/** <p>Specifies a QPrinter::PageOrder value.</p> */"/> <enum-value name="PPK_PageRect" doc="/** <p>A <a href="%2E%2E/core/QRect.html"><tt>QRect</tt></a> specifying the page rectangle</p> */"/> <enum-value name="PPK_PageSize" doc="/** <p>Specifies a QPrinter::PageSize value.</p> */"/> <enum-value name="PPK_PaperRect" doc="/** <p>A <a href="%2E%2E/core/QRect.html"><tt>QRect</tt></a> specifying the paper rectangle.</p> */"/> <enum-value name="PPK_PaperSource" doc="/** <p>Specifies a QPrinter::PaperSource value.</p> */"/> <enum-value name="PPK_PrinterName" doc="/** <p>A string specifying the name of the printer.</p> */"/> <enum-value name="PPK_PrinterProgram" doc="/** <p>A string specifying the name of the printer program used for printing,</p> */"/> <enum-value name="PPK_Resolution" doc="/** <p>An integer describing the dots per inch for this printer.</p> */"/> <enum-value name="PPK_SelectionOption" doc="/** Internal. */"/> <enum-value name="PPK_SupportedResolutions" doc="/** <p>A list of integer QVariants describing the set of supported resolutions that the printer has.</p> */"/> <enum-value name="PPK_WindowsPageSize" doc="/** <p>An integer specifying a DM_PAPER entry on Windows.</p> */"/> <enum-value name="PPK_FontEmbedding" doc="/** <p>A boolean value indicating whether data for the document's fonts should be embedded in the data sent to the printer.</p> */"/> <enum-value name="PPK_SuppressSystemPrintStatus" doc="/** <p>Suppress the built-in dialog for showing printing progress. As of 4.1 this only has effect on Mac OS X where, by default, a status dialog is shown.</p> */"/> <enum-value name="PPK_Duplex" doc="/** <p>A boolean value indicating whether both sides of the printer paper should be used for the printout.</p> */"/> <enum-value name="PPK_PaperSources" doc="/** <p>Specifies more than one QPrinter::PaperSource value.</p> */"/> <enum-value name="PPK_CustomBase" doc="/** <p>Basis for extension.</p> */"/> </enum> </class>