diff options
Diffstat (limited to 'sip/qt/qprinter.sip')
-rw-r--r-- | sip/qt/qprinter.sip | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/sip/qt/qprinter.sip b/sip/qt/qprinter.sip index b1bdd96..fbe7709 100644 --- a/sip/qt/qprinter.sip +++ b/sip/qt/qprinter.sip @@ -38,21 +38,14 @@ class TQPrinter : TQPaintDevice %End public: -%If (TQt_3_0_0 -) enum PrinterMode { ScreenResolution, PrinterResolution, HighResolution, Compatible }; -%End -%If (- TQt_3_0_0) - TQPrinter(); -%End -%If (TQt_3_0_0 -) TQPrinter(PrinterMode = ScreenResolution); -%End enum Orientation { Portrait, @@ -63,12 +56,8 @@ public: A4, B5, Letter, Legal, Executive, A0, A1, A2, A3, A5, A6, A7, A8, A9, B0, B1, B10, B2, B3, B4, B6, B7, B8, B9, C5E, Comm10E, DLE, Folio, Ledger, Tabloid, -%If (TQt_2_3_1 -) Custom, -%End -%If (TQt_2_00 -) NPageSize -%End }; enum PageOrder { @@ -81,7 +70,6 @@ public: Color }; -%If (TQt_3_0_0 -) enum PaperSource { OnlyOne, Lower, @@ -97,9 +85,7 @@ public: Cassette, FormSource }; -%End -%If (TQt_3_2_0 -) enum PrintRange { AllPages, Selection, @@ -111,31 +97,10 @@ public: PrintSelection, PrintPageRange }; -%End -%If (- TQt_2_00) - const char *printerName() const; - void setPrinterName(const char *); -%End -%If (TQt_2_00 -) TQString printerName() const; virtual void setPrinterName(const TQString &); -%End bool outputToFile() const; -%If (- TQt_2_00) - void setOutputToFile(bool); - const char *outputFileName() const; - void setOutputFileName(const char *); - - const char *printProgram() const; - void setPrintProgram(const char *); - - const char *docName() const; - void setDocName(const char *); - const char *creator() const; - void setCreator(const char *); -%End -%If (TQt_2_00 -) virtual void setOutputToFile(bool); TQString outputFileName() const; virtual void setOutputFileName(const TQString &); @@ -150,88 +115,45 @@ public: virtual void setDocName(const TQString &); TQString creator() const; virtual void setCreator(const TQString &); -%End Orientation orientation() const; -%If (- TQt_2_00) - void setOrientation(Orientation); -%End -%If (TQt_2_00 -) virtual void setOrientation(Orientation); -%End PageSize pageSize() const; -%If (- TQt_2_00) - void setPageSize(PageSize); - - void setPageOrder(PageOrder); -%End -%If (TQt_2_00 -) virtual void setPageSize(PageSize); virtual void setPageOrder(PageOrder); -%End PageOrder pageOrder() const; -%If (TQt_3_0_0 -) void setResolution(int); int resolution() const; -%End -%If (- TQt_2_00) - void setColorMode(ColorMode); -%End -%If (TQt_2_00 -) virtual void setColorMode(ColorMode); -%End ColorMode colorMode() const; -%If (TQt_2_00 -) virtual void setFullPage(bool); bool fullPage() const; TQSize margins() const; -%End -%If (TQt_3_1_0 -) void setMargins(uint,uint,uint,uint); // void margins(uint *,uint *,uint *,uint *) const; -%End int fromPage() const; int toPage() const; -%If (- TQt_2_00) - void setFromTo(int,int); -%End -%If (TQt_2_00 -) virtual void setFromTo(int,int); -%End int minPage() const; int maxPage() const; -%If (- TQt_2_00) - void setMinMax(int,int); -%End -%If (TQt_2_00 -) virtual void setMinMax(int,int); -%End int numCopies() const; -%If (- TQt_2_00) - void setNumCopies(int); -%End -%If (TQt_2_00 -) virtual void setNumCopies(int); -%End -%If (TQt_3_0_0 -) bool collateCopiesEnabled() const; void setCollateCopiesEnabled(bool); bool collateCopies() const; void setCollateCopies(bool); -%End -%If (TQt_3_2_0 -) PrintRange printRange() const; void setPrintRange(PrintRange); -%End bool newPage(); bool abort(); @@ -239,15 +161,11 @@ public: bool setup(TQWidget * = 0); -%If (TQt_3_0_0 -) PaperSource paperSource() const; virtual void setPaperSource(PaperSource); -%End -%If (TQt_3_2_0 -) void setOptionEnabled(PrinterOption,bool); bool isOptionEnabled(PrinterOption); -%End private: TQPrinter(const TQPrinter &); |