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
qcocoaprintersupport_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 QCOCOAPRINTERSUPPORT_H
5
#define QCOCOAPRINTERSUPPORT_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 <qpa/qplatformprintersupport.h>
19
#include <private/qglobal_p.h>
20
#ifndef QT_NO_PRINTER
21
22
#include <QtPrintSupport/qtprintsupportglobal.h>
23
24
QT_BEGIN_NAMESPACE
25
26
class
Q_PRINTSUPPORT_EXPORT
QCocoaPrinterSupport
:
public
QPlatformPrinterSupport
27
{
28
public
:
29
QCocoaPrinterSupport
();
30
~QCocoaPrinterSupport
();
31
32
QPrintEngine
*createNativePrintEngine(
QPrinter::PrinterMode
printerMode,
const
QString
&deviceId =
QString
())
override
;
33
QPaintEngine
*createPaintEngine(
QPrintEngine
*,
QPrinter::PrinterMode
printerMode)
override
;
34
35
QPrintDevice
createPrintDevice(
const
QString
&
id
)
override
;
36
QStringList
availablePrintDeviceIds()
const override
;
37
QString
defaultPrintDeviceId()
const override
;
38
};
39
40
QT_END_NAMESPACE
41
42
#endif
// QT_NO_PRINTER
43
#endif
// QCOCOAPRINTERSUPPORT_H
QCocoaPrinterSupport
Definition
qcocoaprintersupport_p.h:27
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
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
macos
qcocoaprintersupport_p.h
Generated by
1.10.0