Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QPrintUtils Namespace Reference

Functions

QPrint::InputSlotId inputSlotKeyToInputSlotId (const QByteArray &key)
 
QByteArray inputSlotIdToInputSlotKey (QPrint::InputSlotId id)
 
int inputSlotIdToWindowsId (QPrint::InputSlotId id)
 
QPrint::OutputBinId outputBinKeyToOutputBinId (const QByteArray &key)
 
QByteArray outputBinIdToOutputBinKey (QPrint::OutputBinId id)
 
QPrint::InputSlot paperBinToInputSlot (int windowsId, const QString &name)
 

Function Documentation

◆ inputSlotIdToInputSlotKey()

Q_PRINTSUPPORT_EXPORT QByteArray QPrintUtils::inputSlotIdToInputSlotKey ( QPrint::InputSlotId  id)

Definition at line 51 of file qprint.cpp.

References QPrint::CustomInputSlot, i, InputSlotMap::id, and inputSlotMap.

◆ inputSlotIdToWindowsId()

Q_PRINTSUPPORT_EXPORT int QPrintUtils::inputSlotIdToWindowsId ( QPrint::InputSlotId  id)

◆ inputSlotKeyToInputSlotId()

Q_PRINTSUPPORT_EXPORT QPrint::InputSlotId QPrintUtils::inputSlotKeyToInputSlotId ( const QByteArray key)

Definition at line 42 of file qprint.cpp.

References QPrint::CustomInputSlot, i, InputSlotMap::id, and inputSlotMap.

◆ outputBinIdToOutputBinKey()

Q_PRINTSUPPORT_EXPORT QByteArray QPrintUtils::outputBinIdToOutputBinKey ( QPrint::OutputBinId  id)

Definition at line 78 of file qprint.cpp.

References QPrint::CustomOutputBin, i, OutputBinMap::id, and outputBinMap.

◆ outputBinKeyToOutputBinId()

Q_PRINTSUPPORT_EXPORT QPrint::OutputBinId QPrintUtils::outputBinKeyToOutputBinId ( const QByteArray key)

Definition at line 69 of file qprint.cpp.

References QPrint::CustomOutputBin, i, OutputBinMap::id, and outputBinMap.

◆ paperBinToInputSlot()

Q_PRINTSUPPORT_EXPORT QPrint::InputSlot QPrintUtils::paperBinToInputSlot ( int  windowsId,
const QString name 
)

Definition at line 87 of file qprint.cpp.

References QPrint::CustomInputSlot, i, QPrint::InputSlot::id, InputSlotMap::id, inputSlotMap, QPrint::InputSlot::key, InputSlotMap::key, QPrint::InputSlot::name, QPrint::InputSlot::windowsId, and InputSlotMap::windowsId.

Referenced by QWindowsPrintDevice::defaultInputSlot(), and QWindowsPrintDevice::loadInputSlots().

+ Here is the caller graph for this function: