From 5a0ac3029190c877711cbb84942d47c4c5dffe43 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 6 Mar 2023 11:03:58 +0900 Subject: Update KPrinter API following commit TDE/tdelibs 9cff750d. Signed-off-by: Michele Calgaro --- doc/classref/tdeprint/KPrinter.html | 6 ++++-- sip/tdeprint/kprinter.sip | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/classref/tdeprint/KPrinter.html b/doc/classref/tdeprint/KPrinter.html index 3293a38..cd51d26 100644 --- a/doc/classref/tdeprint/KPrinter.html +++ b/doc/classref/tdeprint/KPrinter.html @@ -376,10 +376,11 @@ optsTQMap

-
  • setOrientation (a0) +
  • setOrientation (a0, a1 = 0)
    returns nothing
    +
    ArgumentTypeDefault
    a0KPrinter.Orientation
    a1bool0

  • setOutputFileName (a0) @@ -407,10 +408,11 @@ _modeKPrinter.PageSelectionType

  • -
  • setPageSize (a0) +
  • setPageSize (a0, a1 = 0)
    returns nothing
    +
    ArgumentTypeDefault
    a0KPrinter.PageSize
    a1bool0

  • setPreviewOnly (on) diff --git a/sip/tdeprint/kprinter.sip b/sip/tdeprint/kprinter.sip index fa2243b..f67d782 100644 --- a/sip/tdeprint/kprinter.sip +++ b/sip/tdeprint/kprinter.sip @@ -146,7 +146,7 @@ public: int numCopies () const; void setNumCopies (int); KPrinter::Orientation orientation () const; - void setOrientation (KPrinter::Orientation); + void setOrientation (KPrinter::Orientation, bool = 0); KPrinter::PageOrder pageOrder () const; void setPageOrder (KPrinter::PageOrder); KPrinter::CollateType collate () const; @@ -158,7 +158,7 @@ public: int toPage () const; void setFromTo (int, int); KPrinter::PageSize pageSize () const; - void setPageSize (KPrinter::PageSize); + void setPageSize (KPrinter::PageSize, bool = 0); TQString printerName () const; void setPrinterName (const TQString&); TQString printProgram () const; -- cgit v1.2.1