diff -r b72c6db6890b -r 5dc02b23752f src/gui/painting/qpdf.cpp --- a/src/gui/painting/qpdf.cpp Wed Jun 23 19:07:03 2010 +0300 +++ b/src/gui/painting/qpdf.cpp Tue Jul 06 15:10:48 2010 +0300 @@ -1424,6 +1424,7 @@ case PPK_FullPage: d->fullPage = value.toBool(); break; + case PPK_CopyCount: // fallthrough case PPK_NumberOfCopies: d->copies = value.toInt(); break; @@ -1513,6 +1514,17 @@ case PPK_FullPage: ret = d->fullPage; break; + case PPK_CopyCount: + ret = d->copies; + break; + case PPK_SupportsMultipleCopies: +#if !defined(QT_NO_CUPS) && !defined(QT_NO_LIBRARY) + if (QCUPSSupport::isAvailable()) + ret = true; + else +#endif + ret = false; + break; case PPK_NumberOfCopies: #if !defined(QT_NO_CUPS) && !defined(QT_NO_LIBRARY) if (QCUPSSupport::isAvailable())