4#ifndef QOHOSPDFPRINTENGINE_H_
5#define QOHOSPDFPRINTENGINE_H_
7#include <QScopedPointer>
8#include <QTemporaryDir>
9#include <qprintengine_pdf_p.h>
24 bool begin(QPaintDevice *pdev)
override;
27 void setProperty(PrintEnginePropertyKey key,
const QVariant &value)
override;
31 Print_DuplexMode nativeDuplexMode()
const;
32 Print_ColorMode nativeColorMode()
const;
33 Print_OrientationMode nativeOrientationMode()
const;
35 void updateUnsupportedPrinterParameters();
41 static QTemporaryDir s_tempDir;
~QOhosPdfPrintEnginePrivate()
bool begin(QPaintDevice *pdev) override
Reimplement this function to initialise your paint engine when painting is to start on the paint devi...
bool end() override
Reimplement this function to finish painting on the current paint device.
QVariant property(PrintEnginePropertyKey key) const override
Returns the print engine's property specified by key.
void setProperty(PrintEnginePropertyKey key, const QVariant &value) override
Sets the print engine's property specified by key to the given value.
~QOhosPdfPrintEngine() override
Combined button and popup list for selecting options.