50 #ifndef PROCESSINTERFACE_HH 51 #define PROCESSINTERFACE_HH 53 #include <OpenFlipper/threads/OpenFlipperThread.hh> 55 #if QT_VERSION >= 0x050000 99 virtual void startJob( QString _jobId, QString _description ,
int _min ,
int _max ,
bool _blocking =
false) {};
315 #endif // PROCESSINTERFACE_HH virtual void startJob(QString _jobId, QString _description, int _min, int _max, bool _blocking=false)
announce a new job
virtual void setJobState(QString _jobId, int _value)
update job state
virtual void finishJob(QString _jobId)
Finish your job.
virtual void canceledJob(QString _job)
A job has been canceled.
virtual void cancelJob(QString _jobId)
Cancel your job.
Interface class for Thread handling.
virtual ~ProcessInterface()
Destructor.
virtual void setJobDescription(QString _jobId, QString _text)
update job's description text
virtual void setJobName(QString _jobId, QString _name)
update job's name