54 #include <QtPrintSupport/private/qtprintsupportglobal_p.h>
55 #include <QtPrintSupport/qprinter.h>
57 #include <QtCore/qstring.h>
58 #include <QtCore/qlist.h>
60 #if (defined Q_OS_MACOS) || (defined Q_OS_UNIX && QT_CONFIG(cups))
71 #define DMBIN_ONLYONE 1
73 #define DMBIN_MIDDLE 3
74 #define DMBIN_MANUAL 4
75 #define DMBIN_ENVELOPE 5
76 #define DMBIN_ENVMANUAL 6
78 #define DMBIN_TRACTOR 8
79 #define DMBIN_SMALLFMT 9
80 #define DMBIN_LARGEFMT 10
81 #define DMBIN_LARGECAPACITY 11
82 #define DMBIN_CASSETTE 14
83 #define DMBIN_FORMSOURCE 15
84 #define DMBIN_USER 256
207 if (inputSlotMap[
i].
key ==
key)
208 return inputSlotMap[
i].
id;
216 if (inputSlotMap[
i].
id ==
id)
225 if (inputSlotMap[
i].
id ==
id)
234 if (outputBinMap[
i].
key ==
key)
235 return outputBinMap[
i].
id;
243 if (outputBinMap[
i].
id ==
id)
249 #if (defined Q_OS_MACOS) || (defined Q_OS_UNIX && QT_CONFIG(cups))
259 input.key = choice.choice;
269 output.
key = choice.choice;
281 if (
result.endsWith(
"dpi"))
288 if (choice ==
"DuplexTumble")
290 else if (choice ==
"DuplexNoTumble")
small capitals from c petite p scientific i
[1]
The QByteArray class provides an array of bytes.
QList< QByteArray > split(char sep) const
const_reference at(qsizetype i) const noexcept
static int inputSlotIdToWindowsId(QPrint::InputSlotId id)
static QByteArray outputBinIdToOutputBinKey(QPrint::OutputBinId id)
static QByteArray inputSlotIdToInputSlotKey(QPrint::InputSlotId id)
static QPrint::InputSlotId inputSlotKeyToInputSlotId(const QByteArray &key)
static QPrint::OutputBinId outputBinKeyToOutputBinId(const QByteArray &key)
The QString class provides a Unicode character string.
static QString fromUtf8(QByteArrayView utf8)
typedef QByteArray(EGLAPIENTRYP PFNQGSGETDISPLAYSPROC)()
EGLOutputLayerEXT EGLint EGLAttrib value
GLenum GLenum GLenum input
#define DMBIN_LARGECAPACITY