2020-05-11 21:44:53 +03:00
|
|
|
#ifndef CONVERTCHECKER_H
|
|
|
|
#define CONVERTCHECKER_H
|
|
|
|
#include <QObject>
|
|
|
|
#include <QMutex>
|
|
|
|
|
|
|
|
class ConvertChecker : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
static ConvertChecker* instance();
|
|
|
|
Q_PROPERTY(bool pdf MEMBER _pdf)
|
|
|
|
|
2020-08-01 21:18:47 +03:00
|
|
|
Q_INVOKABLE quint32 pdfPages(QString pdf);
|
|
|
|
|
2020-05-11 21:44:53 +03:00
|
|
|
signals:
|
|
|
|
protected:
|
|
|
|
private:
|
|
|
|
static ConvertChecker* m_Instance;
|
|
|
|
|
|
|
|
ConvertChecker();
|
|
|
|
~ConvertChecker();
|
|
|
|
ConvertChecker(const ConvertChecker &);
|
|
|
|
ConvertChecker& operator=(const ConvertChecker &);
|
|
|
|
|
|
|
|
bool _pdf;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CONVERTCHECKER_H
|