diff options
author | Michele Calgaro <[email protected]> | 2023-03-05 22:17:41 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-03-05 22:41:23 +0900 |
commit | 9cff750d6cdda3d0fc24671b2c98d12102915505 (patch) | |
tree | 3515bd2b5a20346294fcedb731c25e1bc7cb0fda /tdeprint/kprinter.h | |
parent | ea10b6290dd14c79fd3192a2f772093310b94f22 (diff) | |
download | tdelibs-9cff750d6cdda3d0fc24671b2c98d12102915505.tar.gz tdelibs-9cff750d6cdda3d0fc24671b2c98d12102915505.zip |
tdeprint: make KPrinter::setOrientation and KPrinter::setPageSize non locking by default and add ability to specify their locking behavior.
This is a backward compatible API change and a non compatible ABI change.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeprint/kprinter.h')
-rw-r--r-- | tdeprint/kprinter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeprint/kprinter.h b/tdeprint/kprinter.h index 0ac329604..6a0cde6d0 100644 --- a/tdeprint/kprinter.h +++ b/tdeprint/kprinter.h @@ -289,7 +289,7 @@ public: /** * See TQPrinter::setOrientation(). */ - void setOrientation(Orientation); + void setOrientation(Orientation, bool locking = false); /** * See TQPrinter::pageOrder(). */ @@ -347,7 +347,7 @@ public: /** * See TQPrinter::setPageSize(). */ - void setPageSize(PageSize); + void setPageSize(PageSize, bool locking = false); /** * See TQPrinter::printerName(). */ |