You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#ifndef JOB_P_H
|
|
#define JOB_P_H
|
|
|
|
#include <QThread>
|
|
#include "job.h"
|
|
|
|
namespace Fm {
|
|
|
|
class JobThread: public QThread {
|
|
Q_OBJECT
|
|
public:
|
|
JobThread(Job* job): job_{job} {
|
|
}
|
|
|
|
protected:
|
|
|
|
void run() override {
|
|
job_->run();
|
|
}
|
|
|
|
Job* job_;
|
|
};
|
|
|
|
} // namespace Fm
|
|
|
|
#endif // JOB_P_H
|