author | unC0Rr |
Tue, 03 Sep 2024 13:56:35 +0200 | |
branch | transitional_engine |
changeset 16058 | 9cbd18220eb7 |
parent 14392 | 90bd2c331703 |
permissions | -rw-r--r-- |
#ifndef PREVIEW_ACCEPTOR_H #define PREVIEW_ACCEPTOR_H #include <QObject> 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