4#ifndef QCUPSPRINTENGINE_P_H
5#define QCUPSPRINTENGINE_P_H
18#include "QtPrintSupport/qprintengine.h"
20#include <QtCore/qstring.h>
21#include <QtGui/qpaintengine.h>
23#include <private/qpaintengine_p.h>
24#include <private/qprintdevice_p.h>
25#include <private/qprintengine_pdf_p.h>
29class QCupsPrintEnginePrivate;
39 void setProperty(PrintEnginePropertyKey key,
const QVariant &value)
override;
49 Q_DECLARE_PUBLIC(QCupsPrintEngine)
61 void setPageSize(
const QPageSize &pageSize);
63 QPrintDevice m_printDevice;
64 QStringList cupsOptions;
66 QPrint::DuplexMode duplex;
67 bool duplexRequestedExplicitly =
false;
~QCupsPrintEnginePrivate()
bool openPrintDevice() override
void closePrintDevice() override
QVariant property(PrintEnginePropertyKey key) const override
Returns the print engine's property specified by key.
virtual ~QCupsPrintEngine()
void setProperty(PrintEnginePropertyKey key, const QVariant &value) override
Sets the print engine's property specified by key to the given value.