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
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
4#ifndef QPLATFORMPRINTPLUGIN_H
5#define QPLATFORMPRINTPLUGIN_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is part of the QPA API and is not meant to be used
12// in applications. Usage of this API may make your code
13// source and binary incompatible with future versions of Qt.
14//
15
16#include <QtPrintSupport/qtprintsupportglobal.h>
17#include <QtCore/qplugin.h>
18#include <QtCore/qfactoryinterface.h>
19
20#ifndef QT_NO_PRINTER
21
23
24
26
27#define QPlatformPrinterSupportFactoryInterface_iid "org.qt-project.QPlatformPrinterSupportFactoryInterface.5.1"
28
29class Q_PRINTSUPPORT_EXPORT QPlatformPrinterSupportPlugin : public QObject
30{
32public:
33 explicit QPlatformPrinterSupportPlugin(QObject *parent = nullptr);
35
37
39};
40
42
43#endif
44
45#endif // QPLATFORMPRINTPLUGIN_H
\inmodule QtCore
Definition qobject.h:103
QPlatformPrinterSupportPlugin(QObject *parent=nullptr)
virtual QPlatformPrinterSupport * create(const QString &key)=0
The QPlatformPrinterSupport class provides an abstraction for print support.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
static QDBusError::ErrorType get(const char *name)
GLuint64 key
#define Q_OBJECT