Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qplatformprintersupport.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
6
7#include <QtGui/qpagesize.h>
8#include <QtPrintSupport/qprinterinfo.h>
9
10#include <private/qprinterinfo_p.h>
11#include <private/qprintdevice_p.h>
12
13#ifndef QT_NO_PRINTER
14
16
30
34
39
44
49
55
60
65
67{
68 Q_UNUSED(id);
70 Q_UNUSED(localizedName);
71 return QPageSize();
72}
73
75
76#endif // QT_NO_PRINTER
IOBluetoothDevice * device
\inmodule QtGui
Definition qpagesize.h:22
\inmodule QtGui
virtual QString defaultPrintDeviceId() const
virtual QPrintDevice createPrintDevice(const QString &id)
virtual QStringList availablePrintDeviceIds() const
virtual QPrintEngine * createNativePrintEngine(QPrinter::PrinterMode printerMode, const QString &deviceId=QString())
virtual QPaintEngine * createPaintEngine(QPrintEngine *, QPrinter::PrinterMode printerMode)
static QPageSize createPageSize(const QString &id, QSize size, const QString &localizedName)
\reentrant
PrinterMode
This enum describes the mode the printer should work in.
Definition qprinter.h:31
\inmodule QtCore
Definition qsize.h:25
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
QList< QString > QStringList
Constructs a string list that contains the given string, str.
GLenum GLuint GLintptr GLsizeiptr size
[1]
#define Q_UNUSED(x)