diff options
author | John Layt <jlayt@kde.org> | 2013-12-16 13:42:59 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-13 16:38:31 +0100 |
commit | 98504fb82da12133ae6b566c6dafd86e1076bc9a (patch) | |
tree | c71622d6f03944f392a888333a3c36825be71447 /src/printsupport/kernel/qprinter.cpp | |
parent | c3c3dcf87d42283250cbbddf1557c61e7c609566 (diff) |
QPrinter - Add missing PaperSource values
Add extra PaperSource values for all Windows DM_BINS values. Also add
CustomSource for use on OSX and CUPS when the PPD defines an InputTray
value that cannot be matched.
Change-Id: I2dfd565288942705a9872ab1b7c4cd32722ba674
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Diffstat (limited to 'src/printsupport/kernel/qprinter.cpp')
-rw-r--r-- | src/printsupport/kernel/qprinter.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/printsupport/kernel/qprinter.cpp b/src/printsupport/kernel/qprinter.cpp index f23708045d..984b11123e 100644 --- a/src/printsupport/kernel/qprinter.cpp +++ b/src/printsupport/kernel/qprinter.cpp @@ -516,12 +516,17 @@ void QPrinterPrivate::setProperty(QPrintEngine::PrintEnginePropertyKey key, cons \value LargeCapacity \value LargeFormat \value Lower - \value MaxPageSource + \value MaxPageSource Deprecated, use LastPaperSource instead \value Middle \value Manual \value OnlyOne \value Tractor \value SmallFormat + \value First + \value Last + \value Upper + \value CustomSource A PaperSource defined by the printer that is unknown to Qt + \value LastPaperSource The highest valid PaperSource value, currently CustomSource */ /*! |