summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qprinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/printsupport/kernel/qprinter.cpp')
-rw-r--r--src/printsupport/kernel/qprinter.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/printsupport/kernel/qprinter.cpp b/src/printsupport/kernel/qprinter.cpp
index 8d62580d67..c13b1574d0 100644
--- a/src/printsupport/kernel/qprinter.cpp
+++ b/src/printsupport/kernel/qprinter.cpp
@@ -1678,9 +1678,11 @@ bool QPrinter::fontEmbeddingEnabled() const
/*!
\since 4.2
+ \obsolete Use setDuplex() instead.
+
Enables double sided printing if \a doubleSided is true; otherwise disables it.
- Currently this option is only supported on X11.
+ \sa setDuplex()
*/
void QPrinter::setDoubleSidedPrinting(bool doubleSided)
{
@@ -1691,9 +1693,11 @@ void QPrinter::setDoubleSidedPrinting(bool doubleSided)
/*!
\since 4.2
+ \obsolete Use duplex() instead.
+
Returns \c true if double side printing is enabled.
- Currently this option is only supported on X11.
+ \sa duplex()
*/
bool QPrinter::doubleSidedPrinting() const
{
@@ -1705,7 +1709,7 @@ bool QPrinter::doubleSidedPrinting() const
Enables double sided printing based on the \a duplex mode.
- Currently this option is only supported on X11.
+ \sa duplex()
*/
void QPrinter::setDuplex(DuplexMode duplex)
{
@@ -1718,7 +1722,7 @@ void QPrinter::setDuplex(DuplexMode duplex)
Returns the current duplex mode.
- Currently this option is only supported on X11.
+ \sa setDuplex()
*/
QPrinter::DuplexMode QPrinter::duplex() const
{