Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwindowsprintdevice.cpp File Reference

(c5d9d4d6f50fb86263009c0860c9897c8682485a)

#include "qwindowsprintdevice_p.h"
#include <QtCore/qdebug.h>
Include dependency graph for qwindowsprintdevice.cpp:

Go to the source code of this file.

Macros

#define DC_COLLATE   22

Typedefs

using WindowsPrinterLookup = QList<QWindowsPrinterInfo>

Functions

 Q_GLOBAL_STATIC (WindowsPrinterLookup, windowsDeviceLookup)
qreal qt_pointMultiplier (QPageLayout::Unit unit)
static uint qwcsnlen (const wchar_t *str, uint maxlen)
static LPDEVMODE getDevmode (HANDLE hPrinter, const QString &printerId)

Macro Definition Documentation

◆ DC_COLLATE

#define DC_COLLATE   22

Definition at line 11 of file qwindowsprintdevice.cpp.

Typedef Documentation

◆ WindowsPrinterLookup

Function Documentation

◆ getDevmode()

LPDEVMODE getDevmode ( HANDLE hPrinter,
const QString & printerId )
static

Definition at line 31 of file qwindowsprintdevice.cpp.

◆ Q_GLOBAL_STATIC()

Q_GLOBAL_STATIC ( WindowsPrinterLookup ,
windowsDeviceLookup  )

◆ qt_pointMultiplier()

qreal qt_pointMultiplier ( QPageLayout::Unit unit)
extern

Definition at line 20 of file qpagelayout.cpp.

◆ qwcsnlen()

uint qwcsnlen ( const wchar_t * str,
uint maxlen )
inlinestatic

Definition at line 21 of file qwindowsprintdevice.cpp.