#ifndef LOADPREVIEW_H #define LOADPREVIEW_H #include #include class LoadPreview : public QThread { Q_OBJECT public: explicit LoadPreview(QString fileName, QObject *parent); void run(); signals: void imageLoaded1(QImage); void imageLoaded2(QImage); void clearSignal(); void loadingCompressedPreview(); public slots: private: QString t_fileName; }; #endif // LOADPREVIEW_H