diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-03-06 11:03:58 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-03-06 11:03:58 +0900 |
commit | 5a0ac3029190c877711cbb84942d47c4c5dffe43 (patch) | |
tree | 1cc3f1b5c39c3c6a651ae8330e50d74d0527eaad | |
parent | 69c48c09a41418734fb37499a4d992961cd2fcd7 (diff) | |
download | pytde-5a0ac3029190c877711cbb84942d47c4c5dffe43.tar.gz pytde-5a0ac3029190c877711cbb84942d47c4c5dffe43.zip |
Update KPrinter API following commit TDE/tdelibs 9cff750d.r14.1.0
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | doc/classref/tdeprint/KPrinter.html | 6 | ||||
-rw-r--r-- | 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 @@ <tr><td>opts</td><td>TQMap<TQString,TQString></td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>setOrientation</b> (a0) +<li><b>setOrientation</b> (a0, a1 = 0) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>a0</td><td>KPrinter.Orientation</td><td></td></tr> +<tr><td>a1</td><td>bool</td><td>0</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>setOutputFileName</b> (a0) @@ -407,10 +408,11 @@ <tr><td>_mode</td><td>KPrinter.PageSelectionType</td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>setPageSize</b> (a0) +<li><b>setPageSize</b> (a0, a1 = 0) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>a0</td><td>KPrinter.PageSize</td><td></td></tr> +<tr><td>a1</td><td>bool</td><td>0</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>setPreviewOnly</b> (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; |