Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qohosprintersupport.h
Go to the documentation of this file.
1// Copyright (C) 2025 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 QOHOSPRINTERSUPPORT_H
5#define QOHOSPRINTERSUPPORT_H
6
7#include <qpa/qplatformprintersupport.h>
8
9QT_BEGIN_NAMESPACE
10
11class QOhosPrinterSupport : public QPlatformPrinterSupport
12{
13 Q_DISABLE_COPY(QOhosPrinterSupport)
14
15public:
16 QOhosPrinterSupport();
17 ~QOhosPrinterSupport() override;
18
19 QPrintEngine *createNativePrintEngine(QPrinter::PrinterMode printerMode, const QString &deviceId = QString()) override;
20 QPaintEngine *createPaintEngine(QPrintEngine *printEngine, QPrinter::PrinterMode printerMode) override;
21
22 QPrintDevice createPrintDevice(const QString &id) override;
23 QStringList availablePrintDeviceIds() const override;
24 QString defaultPrintDeviceId() const override;
25};
26
28
29#endif // QOHOSPRINTERSUPPORT_H
Combined button and popup list for selecting options.