src/gui/painting/qprinter.h
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
   122                         Error };
   122                         Error };
   123 
   123 
   124     enum OutputFormat { NativeFormat, PdfFormat, PostScriptFormat };
   124     enum OutputFormat { NativeFormat, PdfFormat, PostScriptFormat };
   125 
   125 
   126     // ### Qt 5: Merge with QAbstractPrintDialog::PrintRange
   126     // ### Qt 5: Merge with QAbstractPrintDialog::PrintRange
   127     enum PrintRange { AllPages, Selection, PageRange };
   127     enum PrintRange { AllPages, Selection, PageRange, CurrentPage };
   128 
   128 
   129     enum Unit {
   129     enum Unit {
   130         Millimeter,
   130         Millimeter,
   131         Point,
   131         Point,
   132         Inch,
   132         Inch,
   196 
   196 
   197     void setNumCopies(int);
   197     void setNumCopies(int);
   198     int numCopies() const;
   198     int numCopies() const;
   199 
   199 
   200     int actualNumCopies() const;
   200     int actualNumCopies() const;
       
   201 
       
   202     void setCopyCount(int);
       
   203     int copyCount() const;
       
   204     bool supportsMultipleCopies() const;
   201 
   205 
   202     void setPaperSource(PaperSource);
   206     void setPaperSource(PaperSource);
   203     PaperSource paperSource() const;
   207     PaperSource paperSource() const;
   204 
   208 
   205     void setDuplex(DuplexMode duplex);
   209     void setDuplex(DuplexMode duplex);