#ifndef CONVERTWORKER_H #define CONVERTWORKER_H #include #include class ConvertWorker : public QObject { Q_OBJECT public slots: void convertPdf(QNetworkRequest request, QString filename, QTemporaryFile* tempfile, QString targetFormat, quint32 Colors, quint32 Quality, QString PaperSize, quint32 HwResX, quint32 HwResY, bool TwoSided, bool Tumble); void convertImage(QNetworkRequest request, QString filename, QTemporaryFile* tempfile, QString targetFormat, quint32 Colors, quint32 Quality, QString PaperSize, quint32 HwResX, quint32 HwResY); signals: void done(QNetworkRequest request, QTemporaryFile* data); void failed(QString message); }; #endif // CONVERTWORKER_H