Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2165

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QPrintEngine" doc="/**
&lt;p&gt;The &lt;a href=&quot;QPrintEngine.html#QPrintEngine()&quot;&gt;&lt;tt&gt;QPrintEngine&lt;/tt&gt;&lt;/a&gt; class defines an interface for how &lt;a href=&quot;QPrinter.html&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt; interacts with a given printing subsystem.&lt;/p&gt;
&lt;p&gt;The common case when creating your own print engine is to derive from both &lt;a href=&quot;QPaintEngine.html&quot;&gt;&lt;tt&gt;QPaintEngine&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QPrintEngine.html#QPrintEngine()&quot;&gt;&lt;tt&gt;QPrintEngine&lt;/tt&gt;&lt;/a&gt;. Various properties of a print engine are given with &lt;a href=&quot;QPrintEngine.html#property(com.trolltech.qt.gui.QPrintEngine.PrintEnginePropertyKey)&quot;&gt;&lt;tt&gt;property&lt;/tt&gt;&lt;/a&gt; and set with &lt;a href=&quot;QPrintEngine.html#setProperty(com.trolltech.qt.gui.QPrintEngine.PrintEnginePropertyKey, java.lang.Object)&quot;&gt;&lt;tt&gt;setProperty&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPaintEngine.html&quot;&gt;&lt;tt&gt;QPaintEngine&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QPrintEngine()"/>
    <method name="public abstract boolean abort()" doc="/**
&lt;p&gt;Instructs the print engine to abort the printing process. Returns true if successful; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public abstract int metric(com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric arg__1)" doc="/**
&lt;p&gt;Returns the metric for the given &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public abstract boolean newPage()" doc="/**
&lt;p&gt;Instructs the print engine to start a new page. Returns true if the printer was able to create the new page; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public abstract com.trolltech.qt.gui.QPrinter.PrinterState printerState()" doc="/**
&lt;p&gt;Returns the current state of the printer being used by the print engine.&lt;/p&gt;
 */"/>
    <method name="public abstract java.lang.Object property(com.trolltech.qt.gui.QPrintEngine.PrintEnginePropertyKey key)" doc="/**
&lt;p&gt;Returns the print engine's property specified by &lt;tt&gt;key&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPrintEngine.html#setProperty(com.trolltech.qt.gui.QPrintEngine.PrintEnginePropertyKey, java.lang.Object)&quot;&gt;&lt;tt&gt;setProperty&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public abstract void setProperty(com.trolltech.qt.gui.QPrintEngine.PrintEnginePropertyKey key, java.lang.Object value)" doc="/**
&lt;p&gt;Sets the print engine's property specified by &lt;tt&gt;key&lt;/tt&gt; to the given &lt;tt&gt;value&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPrintEngine.html#property(com.trolltech.qt.gui.QPrintEngine.PrintEnginePropertyKey)&quot;&gt;&lt;tt&gt;property&lt;/tt&gt;&lt;/a&gt; */"/>
    <enum name="PrintEnginePropertyKey" doc="/**
&lt;p&gt;This enum is used to communicate properties between the print engine and &lt;a href=&quot;QPrinter.html&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt;. A property may or may not be supported by a given print engine.&lt;/p&gt;
 */">
        <enum-value name="PPK_CollateCopies" doc="/**
&lt;p&gt;A boolean value indicating whether the printout should be collated or not.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_ColorMode" doc="/**
&lt;p&gt;Refers to QPrinter::ColorMode, either color or monochrome.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_Creator" doc="/**
&lt;p&gt;A string describing the document's creator.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_DocumentName" doc="/**
&lt;p&gt;A string describing the document name in the spooler.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_FullPage" doc="/**
&lt;p&gt;A boolean describing if the printer should be full page or not.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_NumberOfCopies" doc="/**
&lt;p&gt;An integer specifying the number of copies&lt;/p&gt;
 */"/>
        <enum-value name="PPK_Orientation" doc="/**
&lt;p&gt;Specifies a QPrinter::Orientation value.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_OutputFileName" doc="/**
&lt;p&gt;The output file name as a string. An empty file name indicates that the printer should not print to a file.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_PageOrder" doc="/**
&lt;p&gt;Specifies a QPrinter::PageOrder value.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_PageRect" doc="/**
&lt;p&gt;A &lt;a href=&quot;%2E%2E/core/QRect.html&quot;&gt;&lt;tt&gt;QRect&lt;/tt&gt;&lt;/a&gt; specifying the page rectangle&lt;/p&gt;
 */"/>
        <enum-value name="PPK_PageSize" doc="/**
&lt;p&gt;Specifies a QPrinter::PageSize value.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_PaperRect" doc="/**
&lt;p&gt;A &lt;a href=&quot;%2E%2E/core/QRect.html&quot;&gt;&lt;tt&gt;QRect&lt;/tt&gt;&lt;/a&gt; specifying the paper rectangle.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_PaperSource" doc="/**
&lt;p&gt;Specifies a QPrinter::PaperSource value.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_PrinterName" doc="/**
&lt;p&gt;A string specifying the name of the printer.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_PrinterProgram" doc="/**
&lt;p&gt;A string specifying the name of the printer program used for printing,&lt;/p&gt;
 */"/>
        <enum-value name="PPK_Resolution" doc="/**
&lt;p&gt;An integer describing the dots per inch for this printer.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_SelectionOption" doc="/**
Internal. */"/>
        <enum-value name="PPK_SupportedResolutions" doc="/**
&lt;p&gt;A list of integer QVariants describing the set of supported resolutions that the printer has.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_WindowsPageSize" doc="/**
&lt;p&gt;An integer specifying a DM_PAPER entry on Windows.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_FontEmbedding" doc="/**
&lt;p&gt;A boolean value indicating whether data for the document's fonts should be embedded in the data sent to the printer.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_SuppressSystemPrintStatus" doc="/**
&lt;p&gt;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.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_Duplex" doc="/**
&lt;p&gt;A boolean value indicating whether both sides of the printer paper should be used for the printout.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_PaperSources" doc="/**
&lt;p&gt;Specifies more than one QPrinter::PaperSource value.&lt;/p&gt;
 */"/>
        <enum-value name="PPK_CustomBase" doc="/**
&lt;p&gt;Basis for extension.&lt;/p&gt;
 */"/>
</enum>
</class>