diff -r ef2fc0210362 -r 90bd2c331703 qmlfrontend/preview_acceptor.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qmlfrontend/preview_acceptor.h Fri Dec 07 13:35:08 2018 +0100 @@ -0,0 +1,21 @@ +#ifndef PREVIEW_ACCEPTOR_H +#define PREVIEW_ACCEPTOR_H + +#include + +class QQmlEngine; +class PreviewImageProvider; + +class PreviewAcceptor : public QObject { + Q_OBJECT + public: + explicit PreviewAcceptor(QQmlEngine *engine, QObject *parent = nullptr); + + public slots: + void setImage(const QImage &preview); + + private: + PreviewImageProvider *m_previewProvider; +}; + +#endif // PREVIEW_ACCEPTOR_H