DCLibraries/include/reporting_thread.h

26 lines
500 B
C++

#ifndef REPORTING_THREAD_H_INCLUDED
#define REPORTING_THREAD_H_INCLUDED
#include <QThread>
#include <QString>
class hwinf;
class ReportingThread : public QThread {
Q_OBJECT
public:
ReportingThread(hwinf *hw);
~ReportingThread();
protected:
// reporting thread does not have a running event queue, and therefore
// no slots. signals work the usual way.
void run() override;
private:
hwinf *m_hw;
QString m_fileToDownload;
};
#endif // REPORTING_THREAD_H_INCLUDED