Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qplatformprintplugin.h
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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QPLATFORMPRINTPLUGIN_H
6
#
define
QPLATFORMPRINTPLUGIN_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is part of the QPA API and is not meant to be used
13
// in applications. Usage of this API may make your code
14
// source and binary incompatible with future versions of Qt.
15
//
16
17
#
include
<
QtPrintSupport
/
qtprintsupportglobal
.
h
>
18
#
include
<
QtCore
/
qplugin
.
h
>
19
#
include
<
QtCore
/
qfactoryinterface
.
h
>
20
21
#
ifndef
QT_NO_PRINTER
22
23
QT_BEGIN_NAMESPACE
24
25
26
class
QPlatformPrinterSupport;
27
28
#
define
QPlatformPrinterSupportFactoryInterface_iid
"org.qt-project.QPlatformPrinterSupportFactoryInterface.5.1"
29
30
class
Q_PRINTSUPPORT_EXPORT
QPlatformPrinterSupportPlugin
:
public
QObject
31
{
32
Q_OBJECT
33
public
:
34
explicit
QPlatformPrinterSupportPlugin(QObject *parent =
nullptr
);
35
~QPlatformPrinterSupportPlugin();
36
37
virtual
QPlatformPrinterSupport *create(
const
QString &key) = 0;
38
39
static
QPlatformPrinterSupport *get();
40
};
41
42
QT_END_NAMESPACE
43
44
#
endif
45
46
#
endif
// QPLATFORMPRINTPLUGIN_H
QPlatformPrinterSupportPlugin
Definition
qplatformprintplugin.h:31
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
Q_GLOBAL_STATIC_WITH_ARGS
Q_GLOBAL_STATIC_WITH_ARGS(PermissionStatusHash, g_permissionStatusHash,({ { qMetaTypeId< QCameraPermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QMicrophonePermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QBluetoothPermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QContactsPermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QCalendarPermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QLocationPermission >(), Qt::PermissionStatus::Undetermined } }))
printerSupport
static QPlatformPrinterSupport * printerSupport
Definition
qplatformprintplugin.cpp:36
cleanupPrinterSupport
static void cleanupPrinterSupport()
Definition
qplatformprintplugin.cpp:38
QPlatformPrinterSupportFactoryInterface_iid
#define QPlatformPrinterSupportFactoryInterface_iid
Definition
qplatformprintplugin.h:28
qtbase
src
printsupport
kernel
qplatformprintplugin.h
Generated on
for Qt by
1.18.0