harbour-seaprint/src/convertchecker.h

31 lines
601 B
C
Raw Normal View History

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)
Q_PROPERTY(bool calligra MEMBER _calligra)
2020-05-11 21:44:53 +03:00
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;
bool _calligra;
2020-05-11 21:44:53 +03:00
};
#endif // CONVERTCHECKER_H