summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qprintengine_win.cpp
diff options
context:
space:
mode:
authorJohn Layt <jlayt@kde.org>2013-12-16 13:42:59 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-13 16:38:31 +0100
commit98504fb82da12133ae6b566c6dafd86e1076bc9a (patch)
treec71622d6f03944f392a888333a3c36825be71447 /src/printsupport/kernel/qprintengine_win.cpp
parentc3c3dcf87d42283250cbbddf1557c61e7c609566 (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/qprintengine_win.cpp')
-rw-r--r--src/printsupport/kernel/qprintengine_win.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/printsupport/kernel/qprintengine_win.cpp b/src/printsupport/kernel/qprintengine_win.cpp
index 0b338c535f..a739d87ae9 100644
--- a/src/printsupport/kernel/qprintengine_win.cpp
+++ b/src/printsupport/kernel/qprintengine_win.cpp
@@ -195,6 +195,9 @@ static const struct {
{ DMBIN_LARGECAPACITY, QPrinter::LargeCapacity },
{ DMBIN_CASSETTE, QPrinter::Cassette },
{ DMBIN_FORMSOURCE, QPrinter::FormSource },
+ { DMBIN_FIRST, QPrinter::First },
+ { DMBIN_LAST, QPrinter::Last },
+ { DMBIN_UPPER, QPrinter::Upper },
{ 0, (QPrinter::PaperSource) -1 }
};