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
qwindowsprintersupport_p.h
Go to the documentation of this file.
1
// Copyright (C) 2020 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
4
#ifndef WINDOWSPRINTERSUPPORT_H
5
#define WINDOWSPRINTERSUPPORT_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists for the convenience
12
// of internal files. This header file may change from version to version
13
// without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include <QtPrintSupport/qtprintsupportglobal.h>
19
20
#include <qpa/qplatformprintersupport.h>
21
#include <private/qglobal_p.h>
22
#ifndef QT_NO_PRINTER
23
24
QT_BEGIN_NAMESPACE
25
26
class
Q_PRINTSUPPORT_EXPORT
QWindowsPrinterSupport
:
public
QPlatformPrinterSupport
27
{
28
Q_DISABLE_COPY_MOVE(
QWindowsPrinterSupport
)
29
public
:
30
QWindowsPrinterSupport
();
31
~QWindowsPrinterSupport
()
override
;
32
33
QPrintEngine
*createNativePrintEngine(
QPrinter::PrinterMode
printerMode,
const
QString
&deviceId =
QString
())
override
;
34
QPaintEngine
*createPaintEngine(
QPrintEngine
*printEngine,
QPrinter::PrinterMode
)
override
;
35
36
QPrintDevice
createPrintDevice(
const
QString
&
id
)
override
;
37
QStringList
availablePrintDeviceIds()
const override
;
38
QString
defaultPrintDeviceId()
const override
;
39
};
40
41
QT_END_NAMESPACE
42
43
#endif
// QT_NO_PRINTER
44
#endif
// WINDOWSPRINTERSUPPORT_H
QPaintEngine
\inmodule QtGui
Definition
qpaintengine.h:51
QPlatformPrinterSupport
The QPlatformPrinterSupport class provides an abstraction for print support.
Definition
qplatformprintersupport.h:34
QPrintDevice
Definition
qprintdevice_p.h:34
QPrintEngine
\reentrant
Definition
qprintengine.h:20
QPrinter::PrinterMode
PrinterMode
This enum describes the mode the printer should work in.
Definition
qprinter.h:31
QStringList
\inmodule QtCore
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:129
QWindowsPrinterSupport
Definition
qwindowsprintersupport_p.h:27
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
qtbase
src
printsupport
platform
windows
qwindowsprintersupport_p.h
Generated by
1.10.0