42 #include "ProgressEmitter.hh" 44 ProgressEmitter::ProgressEmitter() : valid_(false) {}
46 void ProgressEmitter::attachJob(
const QString& _jobId) {
51 void ProgressEmitter::detachJob() {
56 void ProgressEmitter::sendProgressSignal(
double _percent) {
58 emit signalJobState(jobId_, (
int)_percent);
62 void ProgressEmitter::sendChangeDescriptionSignal(QString _description) {
64 emit changeDescription(jobId_, _description);